<?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:11:53 +0000</lastBuildDate>
    <item>
      <title>(JavaScript) Leap Year Check - tomasdev</title>
      <link>https://snipplr.com/view/55210/leap-year-check</link>
      <description>&lt;p&gt;Extend Date object to have isLeapYear() boolean (true for Leap Years)&#13;
Taken from https://raw.github.com/vitch/jquery-methods/master/date.js&lt;/p&gt;</description>
      <pubDate>Mon, 13 Jun 2011 23:52:04 UTC</pubDate>
      <guid>https://snipplr.com/view/55210/leap-year-check</guid>
    </item>
    <item>
      <title>(CSS) Crossbrowser gradient background - tomasdev</title>
      <link>https://snipplr.com/view/51040/crossbrowser-gradient-background</link>
      <description>&lt;p&gt;This is to make a vertical gray gradient with lighter on top and darker gray on bottom.&#13;
Microsoft filter syntax is: #AARRGGBB where RGB is known, and AA represents hexadecimal Alpha value (opacity).&lt;/p&gt;</description>
      <pubDate>Thu, 24 Mar 2011 01:30:50 UTC</pubDate>
      <guid>https://snipplr.com/view/51040/crossbrowser-gradient-background</guid>
    </item>
    <item>
      <title>(PHP) WordPress get parent slug - tomasdev</title>
      <link>https://snipplr.com/view/49727/wordpress-get-parent-slug</link>
      <description>&lt;p&gt;This is a really short function you can use inside The Loop to get the parent page slug (useful to add to the body classes or something)&lt;/p&gt;</description>
      <pubDate>Sat, 26 Feb 2011 14:56:05 UTC</pubDate>
      <guid>https://snipplr.com/view/49727/wordpress-get-parent-slug</guid>
    </item>
    <item>
      <title>(JavaScript) Word breaker (or how to split a string into lines) - tomasdev</title>
      <link>https://snipplr.com/view/49646/word-breaker-or-how-to-split-a-string-into-lines</link>
      <description>&lt;p&gt;Parameters: required **[string]**, optional **[number of lines]**.     &#13;
 &#13;
By default it breaks the string passed into 3 lines.    &#13;
  &#13;
It takes a string and converts it to an array of strings, splitting the original string into smaller parts (useful for word breaking).&lt;/p&gt;</description>
      <pubDate>Fri, 25 Feb 2011 14:38:31 UTC</pubDate>
      <guid>https://snipplr.com/view/49646/word-breaker-or-how-to-split-a-string-into-lines</guid>
    </item>
    <item>
      <title>(JavaScript) One line html decode entities (jQuery) - tomasdev</title>
      <link>https://snipplr.com/view/46302/one-line-html-decode-entities-jquery</link>
      <description>&lt;p&gt;You need jQuery to make this work.&lt;/p&gt;</description>
      <pubDate>Fri, 31 Dec 2010 01:50:29 UTC</pubDate>
      <guid>https://snipplr.com/view/46302/one-line-html-decode-entities-jquery</guid>
    </item>
  </channel>
</rss>
