<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - wolfie</title>
<link>http://snipplr.com/users/wolfie</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 19 Nov 2008 18:41:26 GMT</pubDate>
<item>
<title>(Bash) Create a batch file wrapper for a script in linux</title>
<link>http://snipplr.com/view/6131/create-a-batch-file-wrapper-for-a-script-in-linux/</link>
<description><![CDATA[ <p>Useful if you need to run the same command for lots and lots of different parameters</p> ]]></description>
<pubDate>Tue, 06 May 2008 06:26:26 GMT</pubDate>
<guid>http://snipplr.com/view/6131/create-a-batch-file-wrapper-for-a-script-in-linux/</guid>
</item>
<item>
<title>(Bash) Determine which number out of a list is being processed at the moment</title>
<link>http://snipplr.com/view/6130/determine-which-number-out-of-a-list-is-being-processed-at-the-moment/</link>
<description><![CDATA[ <p>Useful if you have a shell script running lots of the same command and want to know how many of them have been done</p> ]]></description>
<pubDate>Tue, 06 May 2008 06:22:05 GMT</pubDate>
<guid>http://snipplr.com/view/6130/determine-which-number-out-of-a-list-is-being-processed-at-the-moment/</guid>
</item>
<item>
<title>(SQL) Update from select</title>
<link>http://snipplr.com/view/5150/update-from-select/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 21 Feb 2008 11:56:51 GMT</pubDate>
<guid>http://snipplr.com/view/5150/update-from-select/</guid>
</item>
<item>
<title>(Bash) Mount a windows share in linux</title>
<link>http://snipplr.com/view/4915/mount-a-windows-share-in-linux/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 06 Feb 2008 07:46:25 GMT</pubDate>
<guid>http://snipplr.com/view/4915/mount-a-windows-share-in-linux/</guid>
</item>
<item>
<title>(Perl) Perl 1-liner to generate an MD5</title>
<link>http://snipplr.com/view/3667/perl-1liner-to-generate-an-md5/</link>
<description><![CDATA[ <p>This shows how to use a module that normally needs a 'qw' attachment to the use statement (hint: its the = sign). You can add others by using comma separated values.</p> ]]></description>
<pubDate>Tue, 11 Sep 2007 08:15:20 GMT</pubDate>
<guid>http://snipplr.com/view/3667/perl-1liner-to-generate-an-md5/</guid>
</item>
<item>
<title>(Bash) How to remove files that are over 1 day old</title>
<link>http://snipplr.com/view/3581/how-to-remove-files-that-are-over-1-day-old/</link>
<description><![CDATA[ <p>A one-liner to remove any temporary files modified over one day ago. Removes files from /tmp/
Run without the '-exec rm {} \;' part to check that it is matching the right set of files - this can be dangerous if run by root!
If you want to remove files modified today, change +1 to -1
This can be useful to add into crontab though</p> ]]></description>
<pubDate>Tue, 28 Aug 2007 05:18:49 GMT</pubDate>
<guid>http://snipplr.com/view/3581/how-to-remove-files-that-are-over-1-day-old/</guid>
</item>
<item>
<title>(Perl) How to replace a string in a file quickly from the command line</title>
<link>http://snipplr.com/view/3285/how-to-replace-a-string-in-a-file-quickly-from-the-command-line/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 13 Jul 2007 06:36:40 GMT</pubDate>
<guid>http://snipplr.com/view/3285/how-to-replace-a-string-in-a-file-quickly-from-the-command-line/</guid>
</item>
<item>
<title>(Bash) Redefining colours in vi</title>
<link>http://snipplr.com/view/2449/redefining-colours-in-vi/</link>
<description><![CDATA[ <p>Paste the contents of this into the file ~/.vimrc and you'll be able to redefine colours as you see fit. This also sets the background to be a default colourscheme of 'dark', with a tabstop of 4. Note that " is used for comments.</p> ]]></description>
<pubDate>Wed, 11 Apr 2007 04:48:37 GMT</pubDate>
<guid>http://snipplr.com/view/2449/redefining-colours-in-vi/</guid>
</item>
<item>
<title>(Bash) How to add a '.t' filetype to vi's syntax highlighting</title>
<link>http://snipplr.com/view/2448/how-to-add-a-t-filetype-to-vis-syntax-highlighting/</link>
<description><![CDATA[ <p>This allows you to use perl syntax highlighting in vi for test scripts that use the ".t" file extension</p> ]]></description>
<pubDate>Wed, 11 Apr 2007 04:45:38 GMT</pubDate>
<guid>http://snipplr.com/view/2448/how-to-add-a-t-filetype-to-vis-syntax-highlighting/</guid>
</item>
<item>
<title>(Bash) Using chkconfig to make software start at reboot</title>
<link>http://snipplr.com/view/2185/using-chkconfig-to-make-software-start-at-reboot/</link>
<description><![CDATA[ <p>This allows you to make any software begin at system startup time. Remember that runlevel 3 is basic console and runlevel 5 is GUI (XWindows/Gnome/KDE etc).</p> ]]></description>
<pubDate>Tue, 20 Feb 2007 04:51:19 GMT</pubDate>
<guid>http://snipplr.com/view/2185/using-chkconfig-to-make-software-start-at-reboot/</guid>
</item>
<item>
<title>(Perl) How to make sure the filename you want is output to a browser</title>
<link>http://snipplr.com/view/2163/how-to-make-sure-the-filename-you-want-is-output-to-a-browser/</link>
<description><![CDATA[ <p>Use this to display a file properly if you are reading it from another location and wish to direct it to the user's browser</p> ]]></description>
<pubDate>Tue, 13 Feb 2007 02:15:24 GMT</pubDate>
<guid>http://snipplr.com/view/2163/how-to-make-sure-the-filename-you-want-is-output-to-a-browser/</guid>
</item>
<item>
<title>(Bash) How to see what processes are listening on which ports</title>
<link>http://snipplr.com/view/2010/how-to-see-what-processes-are-listening-on-which-ports/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 22 Jan 2007 06:29:55 GMT</pubDate>
<guid>http://snipplr.com/view/2010/how-to-see-what-processes-are-listening-on-which-ports/</guid>
</item>
<item>
<title>(SQL) How to determine a timeout using unix time in mysql</title>
<link>http://snipplr.com/view/1676/how-to-determine-a-timeout-using-unix-time-in-mysql/</link>
<description><![CDATA[ <p>This will return the number of seconds between now and when the time field was inserted.</p> ]]></description>
<pubDate>Fri, 17 Nov 2006 03:31:09 GMT</pubDate>
<guid>http://snipplr.com/view/1676/how-to-determine-a-timeout-using-unix-time-in-mysql/</guid>
</item>
<item>
<title>(Perl) How to return an error message or a value</title>
<link>http://snipplr.com/view/1650/how-to-return-an-error-message-or-a-value/</link>
<description><![CDATA[ <p>Courtesy of Michael Mathews</p> ]]></description>
<pubDate>Mon, 13 Nov 2006 02:26:34 GMT</pubDate>
<guid>http://snipplr.com/view/1650/how-to-return-an-error-message-or-a-value/</guid>
</item>
<item>
<title>(Perl) Convert timestamp to Unixtime</title>
<link>http://snipplr.com/view/1644/convert-timestamp-to-unixtime/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 10 Nov 2006 02:59:11 GMT</pubDate>
<guid>http://snipplr.com/view/1644/convert-timestamp-to-unixtime/</guid>
</item>
</channel>
</rss>