<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 14:01:34 +0000</lastBuildDate>
    <item>
      <title>(SQL) Repair crashed tables - jessibird</title>
      <link>https://snipplr.com/view/52583/repair-crashed-tables</link>
      <description>&lt;p&gt;Not totally sure if this is correct. Haven't tested it.&lt;/p&gt;</description>
      <pubDate>Tue, 26 Apr 2011 07:21:35 UTC</pubDate>
      <guid>https://snipplr.com/view/52583/repair-crashed-tables</guid>
    </item>
    <item>
      <title>(MySQL) Delete WordPress revisions - jessibird</title>
      <link>https://snipplr.com/view/41114/delete-wordpress-revisions</link>
      <description>&lt;p&gt;Change \"wp\" to your database prefix. Note, this is the quick and dirty way. The more thorough way, which will also clean any tags or categories that are now unused, is here: http://www.snipplr.com/view/29570/get-rid-of-unused-post-revisions/&lt;/p&gt;</description>
      <pubDate>Tue, 28 Sep 2010 23:56:17 UTC</pubDate>
      <guid>https://snipplr.com/view/41114/delete-wordpress-revisions</guid>
    </item>
    <item>
      <title>(Apache) redirect index.htm and index.html to root - jessibird</title>
      <link>https://snipplr.com/view/39069/redirect-indexhtm-and-indexhtml-to-root</link>
      <description>&lt;p&gt;For WordPress, put this code at the top of your .htaccess file. Make sure it's above the WordPress-generated rewrite section.&lt;/p&gt;</description>
      <pubDate>Sat, 14 Aug 2010 07:43:38 UTC</pubDate>
      <guid>https://snipplr.com/view/39069/redirect-indexhtm-and-indexhtml-to-root</guid>
    </item>
    <item>
      <title>(CSS) Wrap long URLs and text with CSS - jessibird</title>
      <link>https://snipplr.com/view/35411/wrap-long-urls-and-text-with-css</link>
      <description>&lt;p&gt;To wrap long URLs, strings of text, and other content, just apply this carefully crafted chunk of CSS code to any block-level element (e.g., perfect for &amp;lt;pre&amp;gt; tags):&lt;/p&gt;</description>
      <pubDate>Tue, 01 Jun 2010 13:01:52 UTC</pubDate>
      <guid>https://snipplr.com/view/35411/wrap-long-urls-and-text-with-css</guid>
    </item>
    <item>
      <title>(CSS) Style a submit button to look like a link - jessibird</title>
      <link>https://snipplr.com/view/30701/style-a-submit-button-to-look-like-a-link</link>
      <description>&lt;p&gt;I made my own modifications to this.&lt;/p&gt;</description>
      <pubDate>Thu, 01 Apr 2010 11:09:12 UTC</pubDate>
      <guid>https://snipplr.com/view/30701/style-a-submit-button-to-look-like-a-link</guid>
    </item>
    <item>
      <title>(MySQL) reset id auto increment - jessibird</title>
      <link>https://snipplr.com/view/30121/reset-id-auto-increment</link>
      <description>&lt;p&gt;Set the counter back to zero.&lt;/p&gt;</description>
      <pubDate>Mon, 22 Mar 2010 15:20:04 UTC</pubDate>
      <guid>https://snipplr.com/view/30121/reset-id-auto-increment</guid>
    </item>
    <item>
      <title>(MySQL) Get rid of unused post revisions - jessibird</title>
      <link>https://snipplr.com/view/29570/get-rid-of-unused-post-revisions</link>
      <description>&lt;p&gt;Just run the following query on your WordPress database, and all revisions (As well as meta associated with it) will be deleted from your database.&lt;/p&gt;</description>
      <pubDate>Wed, 10 Mar 2010 21:17:42 UTC</pubDate>
      <guid>https://snipplr.com/view/29570/get-rid-of-unused-post-revisions</guid>
    </item>
    <item>
      <title>(HTML) Add body class just for IE - jessibird</title>
      <link>https://snipplr.com/view/18623/add-body-class-just-for-ie</link>
      <description>&lt;p&gt;Now you can write IE specific styles in a regular stylesheet, by prefacing the CSS selectors with body.ie&lt;/p&gt;</description>
      <pubDate>Thu, 20 Aug 2009 23:04:49 UTC</pubDate>
      <guid>https://snipplr.com/view/18623/add-body-class-just-for-ie</guid>
    </item>
    <item>
      <title>(CSS) Hide submit button text - jessibird</title>
      <link>https://snipplr.com/view/18475/hide-submit-button-text</link>
      <description>&lt;p&gt;Sometimes you can't use an image button, you have to use a submit button, but you still want to hide the text and show an image instead.&#13;
&#13;
The width and height can be changed, of course. The point is that they are specified.&#13;
&#13;
Display:block is needed for IE, according to the original article. Not sure if the font-size and line-height are strictly needed; I didn't test extensively.&lt;/p&gt;</description>
      <pubDate>Tue, 18 Aug 2009 18:31:51 UTC</pubDate>
      <guid>https://snipplr.com/view/18475/hide-submit-button-text</guid>
    </item>
    <item>
      <title>(Perl) Search and replace across multiple files - jessibird</title>
      <link>https://snipplr.com/view/18462/search-and-replace-across-multiple-files</link>
      <description>&lt;p&gt;-p tells perl to assume a simple loop around the code we give it to run.&#13;
&#13;
-i.bak tells perl that we wish to create backups of the files we modify with the suffix .bak.&#13;
&#13;
-e "..." tells perl that we wish to execute the code inside the quotes.&#13;
&#13;
And finally the file list is the list of files that we wish to operate upon.&#13;
&#13;
Escape special characters such as ".", "?", "*", or "/" by preceding them with the "\" character.&#13;
&#13;
Example: change "Bob" to "Steve" on all HTML files in the current directory:&#13;
&#13;
perl -pi.bak -e "s/Bob/Steve/g" *.html&lt;/p&gt;</description>
      <pubDate>Tue, 18 Aug 2009 11:49:01 UTC</pubDate>
      <guid>https://snipplr.com/view/18462/search-and-replace-across-multiple-files</guid>
    </item>
    <item>
      <title>(PHP) wordpress body_class - jessibird</title>
      <link>https://snipplr.com/view/16007/wordpress-bodyclass</link>
      <description>&lt;p&gt;Template Tag body_class&#13;
&#13;
The coming WordPress 2.8 provides a new Template Tag, body_class. This function gives the body element different classes, which gives you the possibility to use it effectively with CSS.&lt;/p&gt;</description>
      <pubDate>Tue, 16 Jun 2009 23:57:08 UTC</pubDate>
      <guid>https://snipplr.com/view/16007/wordpress-bodyclass</guid>
    </item>
    <item>
      <title>(CSS) A hasLayout fix without side-effects - jessibird</title>
      <link>https://snipplr.com/view/15380/a-haslayout-fix-without-sideeffects</link>
      <description>&lt;p&gt;Assign this class to any element that needs to have layout (hasLayout=true) and it will get it. ...with the style placed inside IE conditional comments, it will be ignored by the validator, which removes the only obstacle to using zoom:1 - which has no side effects*.&#13;
&#13;
...*zoom is supported by IE5.5+, that is not supported by IE5.&lt;/p&gt;</description>
      <pubDate>Fri, 29 May 2009 01:09:52 UTC</pubDate>
      <guid>https://snipplr.com/view/15380/a-haslayout-fix-without-sideeffects</guid>
    </item>
    <item>
      <title>(CSS) Remove link border outlines - jessibird</title>
      <link>https://snipplr.com/view/12668/remove-link-border-outlines</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 28 Feb 2009 13:52:08 UTC</pubDate>
      <guid>https://snipplr.com/view/12668/remove-link-border-outlines</guid>
    </item>
  </channel>
</rss>
