<?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:53:53 +0000</lastBuildDate>
    <item>
      <title>(AppleScript) Show/Hide Hidden Files in Mac OS X - cappellin</title>
      <link>https://snipplr.com/view/72006/showhide-hidden-files-in-mac-os-x</link>
      <description>&lt;p&gt;This script show/hide the hidden files and folders in your Mac OS X. It works in OS X 10.8 Mountain Lion, but I think it should work in 10.6 and 10.7, too.&lt;/p&gt;</description>
      <pubDate>Wed, 31 Jul 2013 06:25:08 UTC</pubDate>
      <guid>https://snipplr.com/view/72006/showhide-hidden-files-in-mac-os-x</guid>
    </item>
    <item>
      <title>(JavaScript) onbeforeunload Event - cappellin</title>
      <link>https://snipplr.com/view/71593/onbeforeunload-event</link>
      <description>&lt;p&gt;This snippet uses the &lt;code&gt;onbeforeunload&lt;/code&gt; event to ask users whether they want to remain on the current page or navigate to a new URL.&lt;/p&gt;</description>
      <pubDate>Fri, 21 Jun 2013 18:10:23 UTC</pubDate>
      <guid>https://snipplr.com/view/71593/onbeforeunload-event</guid>
    </item>
    <item>
      <title>(HTML) Favicon and Apple icons - cappellin</title>
      <link>https://snipplr.com/view/45159/favicon-and-apple-icons</link>
      <description>&lt;p&gt;A favicon (short for favorites icon), also known as a shortcut icon, website icon, URL icon, or bookmark icon is a 16Ã—16 or 32Ã—32 pixel square icon associated with a particular website or webpage. The interesting bit here is the apple-touch-icon which is used if you save a bookmark to your home screen on an apple touch device such as an iPad or iPhone. Interestingly enough, android also supports its usage. The apple-touch-icon default size is 57px by 57px. As the comment says, if your icons are in the root of your domain, these links arenâ€™t required.&lt;/p&gt;</description>
      <pubDate>Thu, 02 Dec 2010 19:13:55 UTC</pubDate>
      <guid>https://snipplr.com/view/45159/favicon-and-apple-icons</guid>
    </item>
    <item>
      <title>(DOS Batch) Get current date in format YYYYMMDD - cappellin</title>
      <link>https://snipplr.com/view/45069/get-current-date-in-format-yyyymmdd</link>
      <description>&lt;p&gt;The code works if and only if your system is using English(United States) date format (i.e. "Web 05/11/2011"). &#13;
If your systems is using English(United Kingdom) date format just replace %%B in the first and third rows with %%A.&lt;/p&gt;</description>
      <pubDate>Wed, 01 Dec 2010 00:07:06 UTC</pubDate>
      <guid>https://snipplr.com/view/45069/get-current-date-in-format-yyyymmdd</guid>
    </item>
    <item>
      <title>(XML) Update version number with Regular Expression using MSBuild - cappellin</title>
      <link>https://snipplr.com/view/44674/update-version-number-with-regular-expression-using-msbuild</link>
      <description>&lt;p&gt;This snippet replaces all three different version strings in file `verid.h` using regular expressions with the value of properties `$(Major)`, `%(Minor)`, `$(SP)` and `$(Build)` when the property `$(Label)` has value _true_.&#13;
To run this project you need MSBuild and the open source tasks library for MSBuild by [tigris.org](http://msbuildtasks.tigris.org/ "tigris.org").&#13;
&#13;
Here is an example of file `verid.h`:&#13;
&#13;
    // File version&#13;
    #define szVerId_IDS_VERSION         "1.40 (00) - Build (26)"&#13;
    #define szVerId_FILEVERSION         "1.40.00.26"&#13;
    #define   VerId_FILEVERSION          1,40,00,26&#13;
    &#13;
    // Product version&#13;
    #define szVerId_PRODUCTVERSION      "1.40.00.26"&#13;
    #define   VerId_PRODUCTVERSION       1,40,00,26&lt;/p&gt;</description>
      <pubDate>Mon, 22 Nov 2010 22:52:42 UTC</pubDate>
      <guid>https://snipplr.com/view/44674/update-version-number-with-regular-expression-using-msbuild</guid>
    </item>
  </channel>
</rss>
