<?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 12:39:12 +0000</lastBuildDate>
    <item>
      <title>(SQL) SAP Date Comparison - cori</title>
      <link>https://snipplr.com/view/15198/sap-date-comparison</link>
      <description>&lt;p&gt;this little snippet can be used to compare an SAP Date (which might be empty, or '00000000') to today's date, for instance to query for rows that have been closed in the last x days.  Can't CAST the date column (in 'YYYYMMDD' format) to a date for use in where clauses, since '00000000' can't be cast to a datetime&lt;/p&gt;</description>
      <pubDate>Wed, 20 May 2009 13:14:30 UTC</pubDate>
      <guid>https://snipplr.com/view/15198/sap-date-comparison</guid>
    </item>
    <item>
      <title>(PHP) list-&gt;mysql query iteration for cron job - cori</title>
      <link>https://snipplr.com/view/12507/listmysql-query-iteration-for-cron-job</link>
      <description>&lt;p&gt;I needed to have a cron job that did some MySQL work iterating through a long list of items based on the content of a table in MySQL.  I wanted each item in the table to be iterated over roughly once every 5 minutes, but building up the in-memory list of items to be processed based on the full contents of the table (~100 rows) was killing server memory and the process was dying.  I wanted to find a way to, based on the time, only process a segment of the table's results, and to be reasonable confident that they would all be processed approximately every 5 minutes.&#13;
&#13;
Really simple problem, actually, but it took me a while to find the right logic...&lt;/p&gt;</description>
      <pubDate>Mon, 23 Feb 2009 11:27:35 UTC</pubDate>
      <guid>https://snipplr.com/view/12507/listmysql-query-iteration-for-cron-job</guid>
    </item>
    <item>
      <title>(Bash) grep a pattern omitting svn directories - cori</title>
      <link>https://snipplr.com/view/8048/grep-a-pattern-omitting-svn-directories</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 27 Aug 2008 00:29:30 UTC</pubDate>
      <guid>https://snipplr.com/view/8048/grep-a-pattern-omitting-svn-directories</guid>
    </item>
    <item>
      <title>(PHP) another (wp 2.3.3) custom loop query example - cori</title>
      <link>https://snipplr.com/view/7173/another-wp-233-custom-loop-query-example</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 08 Jul 2008 13:26:51 UTC</pubDate>
      <guid>https://snipplr.com/view/7173/another-wp-233-custom-loop-query-example</guid>
    </item>
    <item>
      <title>(PHP) custom loop query example - cori</title>
      <link>https://snipplr.com/view/6002/custom-loop-query-example</link>
      <description>&lt;p&gt;the above url has some helpful parameters&lt;/p&gt;</description>
      <pubDate>Sat, 26 Apr 2008 00:12:35 UTC</pubDate>
      <guid>https://snipplr.com/view/6002/custom-loop-query-example</guid>
    </item>
    <item>
      <title>(C#) adding CSS &lt;link&gt; to a C# Master page from a child code-behind page - cori</title>
      <link>https://snipplr.com/view/3824/adding-css-link-to-a-c-master-page-from-a-child-codebehind-page</link>
      <description>&lt;p&gt;work from content pages or submaster pages&lt;/p&gt;</description>
      <pubDate>Wed, 03 Oct 2007 12:49:16 UTC</pubDate>
      <guid>https://snipplr.com/view/3824/adding-css-link-to-a-c-master-page-from-a-child-codebehind-page</guid>
    </item>
  </channel>
</rss>
