<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/script</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sat, 25 May 2013 17:29:37 GMT</pubDate>
<item>
<title>(PHP) Cleanup Downloads Directory - brownrl</title>
<link>http://snipplr.com/view/71223/cleanup-downloads-directory/</link>
<description><![CDATA[ <p>This is a simple script to go into your downloads directory ( mac ). Move everything to a .YYYY-MM-DD folder. Thus you Downloads directory gets cleaned up and anything that was there has been placed into a hidden folder for finding later.

My Downloads folder is just always full of things but I don't want to blast it empty. Re-getting a file from some website is sometimes hard to remember. So I move everything to a backup and start again.</p> ]]></description>
<pubDate>Sat, 18 May 2013 07:56:52 GMT</pubDate>
<guid>http://snipplr.com/view/71223/cleanup-downloads-directory/</guid>
</item>
<item>
<title>(Bash) Simple Command Line Calculator - brownrl</title>
<link>http://snipplr.com/view/71222/simple-command-line-calculator/</link>
<description><![CDATA[ <p>This is a simple wrapper to bc to perform basic calculator duties. with up to 4 decimal place precision. its just one of those things you might find useful. Then again all the os's out there have a gui calc easily ready too.</p> ]]></description>
<pubDate>Sat, 18 May 2013 07:50:30 GMT</pubDate>
<guid>http://snipplr.com/view/71222/simple-command-line-calculator/</guid>
</item>
<item>
<title>(Bash) Sublime Settings + Packages Sync with Dropbox - ScottNYC</title>
<link>http://snipplr.com/view/70494/sublime-settings--packages-sync-with-dropbox/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 21 Mar 2013 14:34:22 GMT</pubDate>
<guid>http://snipplr.com/view/70494/sublime-settings--packages-sync-with-dropbox/</guid>
</item>
<item>
<title>(PHP) Monster Clone 6.3.8 - iTechScripts</title>
<link>http://snipplr.com/view/70268/monster-clone-638/</link>
<description><![CDATA[ <p>Monster.com Clone v6.3.8 is a ready Job-Portal and the best clone of Monster.com. The script comes packed with tons of essential features.</p> ]]></description>
<pubDate>Tue, 05 Mar 2013 20:42:44 GMT</pubDate>
<guid>http://snipplr.com/view/70268/monster-clone-638/</guid>
</item>
<item>
<title>(Bash) CRUD shell script for Bash - dego89</title>
<link>http://snipplr.com/view/70225/crud-shell-script-for-bash/</link>
<description><![CDATA[ <p>Shell script written in bash which displays a menu giving the you ability to add, edit, modify, and delete users.</p> ]]></description>
<pubDate>Mon, 04 Mar 2013 09:27:43 GMT</pubDate>
<guid>http://snipplr.com/view/70225/crud-shell-script-for-bash/</guid>
</item>
<item>
<title>(PHP) Get the Favicon from a website - phpdev</title>
<link>http://snipplr.com/view/69917/get-the-favicon-from-a-website/</link>
<description><![CDATA[ <p>**Example of use:**

&amp;lt;a href="http://www.php.net/manual/en/index.php"&amp;gt;&amp;lt;img src="&amp;lt;?php echo get_favicon('http://www.php.net/manual/en/index.php') ?&amp;gt;" alt="Favicon" title="See PHP documentation" width="16" height="16" /&amp;gt;&amp;lt;/a&amp;gt;</p> ]]></description>
<pubDate>Wed, 13 Feb 2013 04:07:29 GMT</pubDate>
<guid>http://snipplr.com/view/69917/get-the-favicon-from-a-website/</guid>
</item>
<item>
<title>(PHP) Fix Timthumb Script When Using a URL That Contains Tildes (~) - tacudtap</title>
<link>http://snipplr.com/view/69694/fix-timthumb-script-when-using-a-url-that-contains-tildes-/</link>
<description><![CDATA[ <p>If you are using the [TimThumb](http://code.google.com/p/timthumb/ "TimThumb on Google Code") script with a URL the contains tildes (~) and images are breaking, here is the fix...

I did not create this snippet but found it extremely useful so I thought I'd make it available here. The URL listed is not mine but where I found it. Enjoy :-)

At line 209 (as of 01-29-13) in the script you will find the following line of code:

`$this->src = $this->param('src');`

Replace that line with the following snippet:</p> ]]></description>
<pubDate>Wed, 30 Jan 2013 02:24:32 GMT</pubDate>
<guid>http://snipplr.com/view/69694/fix-timthumb-script-when-using-a-url-that-contains-tildes-/</guid>
</item>
<item>
<title>(Ruby) 001: Parse and add a CSS class to every html file in a folder - lfatr</title>
<link>http://snipplr.com/view/69681/001-parse-and-add-a-css-class-to-every-html-file-in-a-folder/</link>
<description><![CDATA[ <p>Run from console: ruby {filename}  
**Careful this script does not only read but also write**
  
This script 
 - looks for every html file in the folder above   
 - parses them and generates a classname based on the file name   
( '019-5028dca6d8bd8861270001b1.html' -> 'page19' )
- checks if the page's body tag has the page class, adds the class to the body tag
- and writes it back

LA</p> ]]></description>
<pubDate>Tue, 29 Jan 2013 01:44:20 GMT</pubDate>
<guid>http://snipplr.com/view/69681/001-parse-and-add-a-css-class-to-every-html-file-in-a-folder/</guid>
</item>
<item>
<title>(PHP) PHP Test Script - richardusrbin</title>
<link>http://snipplr.com/view/69376/php-test-script/</link>
<description><![CDATA[ <p>Test PHP Script</p> ]]></description>
<pubDate>Mon, 07 Jan 2013 17:48:38 GMT</pubDate>
<guid>http://snipplr.com/view/69376/php-test-script/</guid>
</item>
<item>
<title>(Python) Clean files/directory by time. - djmornyc</title>
<link>http://snipplr.com/view/69118/clean-filesdirectory-by-time/</link>
<description><![CDATA[ <p>*Does not check permissions.
python cleanFiles.py --directory=/home/win98/tmp/ --ageInDays=2</p> ]]></description>
<pubDate>Sat, 15 Dec 2012 02:15:21 GMT</pubDate>
<guid>http://snipplr.com/view/69118/clean-filesdirectory-by-time/</guid>
</item>
<item>
<title>(Bash) Bash exscript to replace word occurrences - symsec</title>
<link>http://snipplr.com/view/67844/bash-exscript-to-replace-word-occurrences/</link>
<description><![CDATA[ <p>As portrayed by the example found in the [Advanced Bash Scripting guide](http://tldp.org/LDP/abs/html/here-docs.html) this demonstrates a few techniques</p> ]]></description>
<pubDate>Sat, 20 Oct 2012 17:51:43 GMT</pubDate>
<guid>http://snipplr.com/view/67844/bash-exscript-to-replace-word-occurrences/</guid>
</item>
<item>
<title>(Bash) Bash exscript to replace word occurrences - symsec</title>
<link>http://snipplr.com/view/67843/bash-exscript-to-replace-word-occurrences/</link>
<description><![CDATA[ <p>As portrayed by the example found in the [Advanced Bash Scripting guide](http://tldp.org/LDP/abs/html/here-docs.html) this demonstrates a few techniques</p> ]]></description>
<pubDate>Sat, 20 Oct 2012 17:51:06 GMT</pubDate>
<guid>http://snipplr.com/view/67843/bash-exscript-to-replace-word-occurrences/</guid>
</item>
<item>
<title>(Bash) Sprockets JavaScript dependency management tool using clean RVM - symsec</title>
<link>http://snipplr.com/view/67206/sprockets-javascript-dependency-management-tool-using-clean-rvm/</link>
<description><![CDATA[ <p>Use this snippet in Linux shell to install RVM and set it up for use with Sprockets.</p> ]]></description>
<pubDate>Mon, 17 Sep 2012 05:49:55 GMT</pubDate>
<guid>http://snipplr.com/view/67206/sprockets-javascript-dependency-management-tool-using-clean-rvm/</guid>
</item>
<item>
<title>(Python) Script to print crawl tree of a spider run - scrapy</title>
<link>http://snipplr.com/view/66995/script-to-print-crawl-tree-of-a-spider-run/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 01 Sep 2012 07:15:20 GMT</pubDate>
<guid>http://snipplr.com/view/66995/script-to-print-crawl-tree-of-a-spider-run/</guid>
</item>
<item>
<title>(Python) make and filter the log file into a html file - scrapy</title>
<link>http://snipplr.com/view/66991/make-and-filter-the-log-file-into-a-html-file/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 01 Sep 2012 07:15:08 GMT</pubDate>
<guid>http://snipplr.com/view/66991/make-and-filter-the-log-file-into-a-html-file/</guid>
</item>
<item>
<title>(Maxscript) delayed keys float script expression for - reform</title>
<link>http://snipplr.com/view/66081/delayed-keys-float-script-expression-for/</link>
<description><![CDATA[ <p>Create a script controller
Create a variable called LinkObj
Select variable LinkObj, click assign node, and select the object you want to drive your animation from.
Paste the code into the expression box.
Edit the number of frames you want to offset by.</p> ]]></description>
<pubDate>Wed, 11 Jul 2012 23:50:23 GMT</pubDate>
<guid>http://snipplr.com/view/66081/delayed-keys-float-script-expression-for/</guid>
</item>
<item>
<title>(PHP) Youtube Video Download Script - codespartan</title>
<link>http://snipplr.com/view/65681/youtube-video-download-script/</link>
<description><![CDATA[ <p>Extracts the video title &amp; download URL from a youtube page and starts a download.</p> ]]></description>
<pubDate>Mon, 18 Jun 2012 00:43:40 GMT</pubDate>
<guid>http://snipplr.com/view/65681/youtube-video-download-script/</guid>
</item>
<item>
<title>(Perl) EPUB: reorder playorder values in NCX file - page_lab</title>
<link>http://snipplr.com/view/65220/epub-reorder-playorder-values-in-ncx-file/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 27 May 2012 10:49:01 GMT</pubDate>
<guid>http://snipplr.com/view/65220/epub-reorder-playorder-values-in-ncx-file/</guid>
</item>
<item>
<title>(Bash) bash script to backup github organisation repositories and member forks - slinky</title>
<link>http://snipplr.com/view/63919/bash-script-to-backup-github-organisation-repositories-and-member-forks/</link>
<description><![CDATA[ <p>A crude script to query the GitHub API for a given Organisation, and backup its repositories and associated members forks.</p> ]]></description>
<pubDate>Wed, 14 Mar 2012 08:36:15 GMT</pubDate>
<guid>http://snipplr.com/view/63919/bash-script-to-backup-github-organisation-repositories-and-member-forks/</guid>
</item>
<item>
<title>(JavaScript) Script for Twitter Widge - CKOink</title>
<link>http://snipplr.com/view/63582/script-for-twitter-widge/</link>
<description><![CDATA[ <p>Script for twitter widget</p> ]]></description>
<pubDate>Sun, 26 Feb 2012 18:34:21 GMT</pubDate>
<guid>http://snipplr.com/view/63582/script-for-twitter-widge/</guid>
</item>
</channel>
</rss>