<?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:59:58 +0000</lastBuildDate>
    <item>
      <title>(JavaScript) Rock-Solid Equal Height Columns - o0110o</title>
      <link>https://snipplr.com/view/73097/rocksolid-equal-height-columns</link>
      <description>&lt;p&gt;Dynamic equal height columns that account for padding and borders.&lt;/p&gt;</description>
      <pubDate>Fri, 06 Dec 2013 02:46:29 UTC</pubDate>
      <guid>https://snipplr.com/view/73097/rocksolid-equal-height-columns</guid>
    </item>
    <item>
      <title>(Python) Display the download percentage of a file - o0110o</title>
      <link>https://snipplr.com/view/72137/display-the-download-percentage-of-a-file</link>
      <description>&lt;p&gt;Place this snippent in your script, and call it like this:&#13;
urllib.urlretrieve(getFile, saveFile, reporthook=report)&#13;
&#13;
Notice it is the 3rd argument that calls the function on each file that needs to be downloaded.&lt;/p&gt;</description>
      <pubDate>Fri, 16 Aug 2013 21:25:24 UTC</pubDate>
      <guid>https://snipplr.com/view/72137/display-the-download-percentage-of-a-file</guid>
    </item>
    <item>
      <title>(JavaScript) Bare-Bones Selector Engine - o0110o</title>
      <link>https://snipplr.com/view/69038/barebones-selector-engine</link>
      <description>&lt;p&gt;This is a very basic wrapper for querySelectorAll. Just add prototypes and whatever else you need.&lt;/p&gt;</description>
      <pubDate>Sun, 09 Dec 2012 10:11:19 UTC</pubDate>
      <guid>https://snipplr.com/view/69038/barebones-selector-engine</guid>
    </item>
    <item>
      <title>(JavaScript) Scrolling Marquee With Start &amp; Stop. - o0110o</title>
      <link>https://snipplr.com/view/68159/scrolling-marquee-with-start--stop</link>
      <description>&lt;p&gt;The marquee will stop when you hover the cursor over it. It will restart when you move the cursor away from it.&lt;/p&gt;</description>
      <pubDate>Thu, 08 Nov 2012 04:47:55 UTC</pubDate>
      <guid>https://snipplr.com/view/68159/scrolling-marquee-with-start--stop</guid>
    </item>
    <item>
      <title>(PHP) HTTP Header Status Codes With PHP. - o0110o</title>
      <link>https://snipplr.com/view/68099/http-header-status-codes-with-php</link>
      <description>&lt;p&gt;Take control of HTTP header status codes.&lt;/p&gt;</description>
      <pubDate>Mon, 05 Nov 2012 14:26:52 UTC</pubDate>
      <guid>https://snipplr.com/view/68099/http-header-status-codes-with-php</guid>
    </item>
    <item>
      <title>(CSS) Media Queries For Common Screen Sizes. - o0110o</title>
      <link>https://snipplr.com/view/68098/media-queries-for-common-screen-sizes</link>
      <description>&lt;p&gt;CSS media queries for common screen sizes which are ignored in older browsers.&lt;/p&gt;</description>
      <pubDate>Mon, 05 Nov 2012 13:40:20 UTC</pubDate>
      <guid>https://snipplr.com/view/68098/media-queries-for-common-screen-sizes</guid>
    </item>
    <item>
      <title>(PHP) Display the source code of a webpage. - o0110o</title>
      <link>https://snipplr.com/view/67949/display-the-source-code-of-a-webpage</link>
      <description>&lt;p&gt;Want to be able to display the source code of any webpage, with line numbering? Here is a simple code snippet to do it. Just modify the url on line 2 at your convenience. Or even better, make a pretty function according to your needs.&lt;/p&gt;</description>
      <pubDate>Fri, 26 Oct 2012 01:38:43 UTC</pubDate>
      <guid>https://snipplr.com/view/67949/display-the-source-code-of-a-webpage</guid>
    </item>
    <item>
      <title>(PHP) Get Whois Information. - o0110o</title>
      <link>https://snipplr.com/view/67948/get-whois-information</link>
      <description>&lt;p&gt;If you need to get the whois information for a specific domain, why not using PHP to do it? The following function take a domain name as a parameter, and then display the whois info related to the domain.&lt;/p&gt;</description>
      <pubDate>Fri, 26 Oct 2012 01:36:14 UTC</pubDate>
      <guid>https://snipplr.com/view/67948/get-whois-information</guid>
    </item>
    <item>
      <title>(PHP) Get info about your memory usage. - o0110o</title>
      <link>https://snipplr.com/view/67947/get-info-about-your-memory-usage</link>
      <description>&lt;p&gt;In order to optimize your scripts, you may definitely want to know how many amount of RAM they use on your server. This snippet will check memory and then print initial, final and peak usages.&lt;/p&gt;</description>
      <pubDate>Fri, 26 Oct 2012 01:32:51 UTC</pubDate>
      <guid>https://snipplr.com/view/67947/get-info-about-your-memory-usage</guid>
    </item>
    <item>
      <title>(PHP) Get the dominant color of any image. - o0110o</title>
      <link>https://snipplr.com/view/67946/get-the-dominant-color-of-any-image</link>
      <description>&lt;p&gt;Point the script to an image and get its dominant color.&lt;/p&gt;</description>
      <pubDate>Fri, 26 Oct 2012 01:29:34 UTC</pubDate>
      <guid>https://snipplr.com/view/67946/get-the-dominant-color-of-any-image</guid>
    </item>
    <item>
      <title>(PHP) Compress any text-based content. - o0110o</title>
      <link>https://snipplr.com/view/67852/compress-any-textbased-content</link>
      <description>&lt;p&gt;This function will compress any text-based content.&lt;/p&gt;</description>
      <pubDate>Sun, 21 Oct 2012 13:34:39 UTC</pubDate>
      <guid>https://snipplr.com/view/67852/compress-any-textbased-content</guid>
    </item>
    <item>
      <title>(PHP) Get the text in between more text in a string. - o0110o</title>
      <link>https://snipplr.com/view/67850/get-the-text-in-between-more-text-in-a-string</link>
      <description>&lt;p&gt;Get the text in between more text in a string. Accepts $content,$start,$end &amp; $is_string as parameters.&lt;/p&gt;</description>
      <pubDate>Sun, 21 Oct 2012 09:02:58 UTC</pubDate>
      <guid>https://snipplr.com/view/67850/get-the-text-in-between-more-text-in-a-string</guid>
    </item>
    <item>
      <title>(JavaScript) A function that uses images to perform a countdown. - o0110o</title>
      <link>https://snipplr.com/view/67847/a-function-that-uses-images-to-perform-a-countdown</link>
      <description>&lt;p&gt;Set the desired date within the function. &#13;
Make some images and label them "1.jpg, 2.jpg, 3.jpg, etc...".&#13;
That's how it's done.&lt;/p&gt;</description>
      <pubDate>Sun, 21 Oct 2012 03:32:38 UTC</pubDate>
      <guid>https://snipplr.com/view/67847/a-function-that-uses-images-to-perform-a-countdown</guid>
    </item>
    <item>
      <title>(PHP) Get the absolute webroot URL. - o0110o</title>
      <link>https://snipplr.com/view/67841/get-the-absolute-webroot-url</link>
      <description>&lt;p&gt;Get the absolute webroot URL.&lt;/p&gt;</description>
      <pubDate>Sat, 20 Oct 2012 14:59:40 UTC</pubDate>
      <guid>https://snipplr.com/view/67841/get-the-absolute-webroot-url</guid>
    </item>
    <item>
      <title>(PHP) A function that forces a file to download. - o0110o</title>
      <link>https://snipplr.com/view/67838/a-function-that-forces-a-file-to-download</link>
      <description>&lt;p&gt;This function will force a file to be downloaded. It accepts $_path as a parameter.&lt;/p&gt;</description>
      <pubDate>Sat, 20 Oct 2012 10:51:14 UTC</pubDate>
      <guid>https://snipplr.com/view/67838/a-function-that-forces-a-file-to-download</guid>
    </item>
    <item>
      <title>(PHP) A function to get the real IP address. - o0110o</title>
      <link>https://snipplr.com/view/67837/a-function-to-get-the-real-ip-address</link>
      <description>&lt;p&gt;This function performs several checks to make sure it's getting the correct IP address.&lt;/p&gt;</description>
      <pubDate>Sat, 20 Oct 2012 10:36:52 UTC</pubDate>
      <guid>https://snipplr.com/view/67837/a-function-to-get-the-real-ip-address</guid>
    </item>
    <item>
      <title>(PHP) A function to get a files contents with curl. - o0110o</title>
      <link>https://snipplr.com/view/67836/a-function-to-get-a-files-contents-with-curl</link>
      <description>&lt;p&gt;A handy function to get the contents of a file with curl. Accepts $_path as a parameter.&lt;/p&gt;</description>
      <pubDate>Sat, 20 Oct 2012 10:23:15 UTC</pubDate>
      <guid>https://snipplr.com/view/67836/a-function-to-get-a-files-contents-with-curl</guid>
    </item>
    <item>
      <title>(PHP) A function to see if a file exists with curl. - o0110o</title>
      <link>https://snipplr.com/view/67835/a-function-to-see-if-a-file-exists-with-curl</link>
      <description>&lt;p&gt;This function will use curl to see if a file exists at the location it's provided. It accepts $_path as a parameter.&lt;/p&gt;</description>
      <pubDate>Sat, 20 Oct 2012 10:15:04 UTC</pubDate>
      <guid>https://snipplr.com/view/67835/a-function-to-see-if-a-file-exists-with-curl</guid>
    </item>
    <item>
      <title>(PHP) A function to get file sizes in multiple formats with curl. - o0110o</title>
      <link>https://snipplr.com/view/67834/a-function-to-get-file-sizes-in-multiple-formats-with-curl</link>
      <description>&lt;p&gt;A function to get a files size via curl. Accepts $_path, $_unit, $_float, $_username &amp; $_password; In the listed order.&lt;/p&gt;</description>
      <pubDate>Sat, 20 Oct 2012 10:06:54 UTC</pubDate>
      <guid>https://snipplr.com/view/67834/a-function-to-get-file-sizes-in-multiple-formats-with-curl</guid>
    </item>
    <item>
      <title>(PHP) A function to get file mime-types with curl. - o0110o</title>
      <link>https://snipplr.com/view/67832/a-function-to-get-file-mimetypes-with-curl</link>
      <description>&lt;p&gt;This is a function to retrieve the mime-type of a file by checking the header response with curl. It accepts the file-path as a parameter &amp; it also has a fallback for empty returns.&lt;/p&gt;</description>
      <pubDate>Sat, 20 Oct 2012 09:45:26 UTC</pubDate>
      <guid>https://snipplr.com/view/67832/a-function-to-get-file-mimetypes-with-curl</guid>
    </item>
    <item>
      <title>(JavaScript) Faux HTML5 support for unsupportive browsers. - o0110o</title>
      <link>https://snipplr.com/view/64915/faux-html5-support-for-unsupportive-browsers</link>
      <description>&lt;p&gt;Here we have simple javascript HTML5 support.&lt;/p&gt;</description>
      <pubDate>Fri, 18 May 2012 00:03:49 UTC</pubDate>
      <guid>https://snipplr.com/view/64915/faux-html5-support-for-unsupportive-browsers</guid>
    </item>
  </channel>
</rss>
