<?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 21:25:36 +0000</lastBuildDate>
    <item>
      <title>(JavaScript) Change a CSS rule directly as if you were editing the css file from javascript. - roblynch</title>
      <link>https://snipplr.com/view/42100/change-a-css-rule-directly-as-if-you-were-editing-the-css-file-from-javascript</link>
      <description>&lt;p&gt;This was useful today, could be made into something with a little work.&lt;/p&gt;</description>
      <pubDate>Tue, 12 Oct 2010 11:57:00 UTC</pubDate>
      <guid>https://snipplr.com/view/42100/change-a-css-rule-directly-as-if-you-were-editing-the-css-file-from-javascript</guid>
    </item>
    <item>
      <title>(PHP) Automatically fix lower case table names in SilverStripe - roblynch</title>
      <link>https://snipplr.com/view/41342/automatically-fix-lower-case-table-names-in-silverstripe</link>
      <description>&lt;p&gt;This code should be inserted into /sapphire/core/model/MySQLDatabase.php at line 399 (after the if statment ends and before the user_error call)&#13;
&#13;
Be sure to replace 'database_name' with, well you know...&#13;
&#13;
When I used this I first loaded the home page.  This fixed a large number of the tables, then ran /dev/build and that fixed the rest.&lt;/p&gt;</description>
      <pubDate>Sat, 02 Oct 2010 10:29:30 UTC</pubDate>
      <guid>https://snipplr.com/view/41342/automatically-fix-lower-case-table-names-in-silverstripe</guid>
    </item>
    <item>
      <title>(PHP) Convert PHP date() style dateFormat to the equivalent jQuery UI datepicker string - roblynch</title>
      <link>https://snipplr.com/view/41329/convert-php-date-style-dateformat-to-the-equivalent-jquery-ui-datepicker-string</link>
      <description>&lt;p&gt;This is a simple bit of code that allows you to do a write once date format in a PHP style date() format and convert it to be used by datepicker jQuery UI widget.  It returns the converted string.\r\n\r\nNothing fancy here, but a time saver for the future.\r\n\r\nCould use improvement such as error handling for common PHP dateFormat string values that do not have an equivalent UI portion. Potentially make this a two way conversion.  Add more available options.&lt;/p&gt;</description>
      <pubDate>Sat, 02 Oct 2010 06:26:13 UTC</pubDate>
      <guid>https://snipplr.com/view/41329/convert-php-date-style-dateformat-to-the-equivalent-jquery-ui-datepicker-string</guid>
    </item>
  </channel>
</rss>
