<?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 03:33:42 +0000</lastBuildDate>
    <item>
      <title>(Bash) Create a batch file wrapper for a script in linux - wolfie</title>
      <link>https://snipplr.com/view/6131/create-a-batch-file-wrapper-for-a-script-in-linux</link>
      <description>&lt;p&gt;Useful if you need to run the same command for lots and lots of different parameters&lt;/p&gt;</description>
      <pubDate>Tue, 06 May 2008 06:26:26 UTC</pubDate>
      <guid>https://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 - wolfie</title>
      <link>https://snipplr.com/view/6130/determine-which-number-out-of-a-list-is-being-processed-at-the-moment</link>
      <description>&lt;p&gt;Useful if you have a shell script running lots of the same command and want to know how many of them have been done&lt;/p&gt;</description>
      <pubDate>Tue, 06 May 2008 06:22:05 UTC</pubDate>
      <guid>https://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 - wolfie</title>
      <link>https://snipplr.com/view/5150/update-from-select</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 21 Feb 2008 11:56:51 UTC</pubDate>
      <guid>https://snipplr.com/view/5150/update-from-select</guid>
    </item>
    <item>
      <title>(Bash) Mount a windows share in linux - wolfie</title>
      <link>https://snipplr.com/view/4915/mount-a-windows-share-in-linux</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 06 Feb 2008 07:46:25 UTC</pubDate>
      <guid>https://snipplr.com/view/4915/mount-a-windows-share-in-linux</guid>
    </item>
    <item>
      <title>(Perl) Perl 1-liner to generate an MD5 - wolfie</title>
      <link>https://snipplr.com/view/3667/perl-1liner-to-generate-an-md5</link>
      <description>&lt;p&gt;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.&lt;/p&gt;</description>
      <pubDate>Tue, 11 Sep 2007 08:15:20 UTC</pubDate>
      <guid>https://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 - wolfie</title>
      <link>https://snipplr.com/view/3581/how-to-remove-files-that-are-over-1-day-old</link>
      <description>&lt;p&gt;A one-liner to remove any temporary files modified over one day ago. Removes files from /tmp/&#13;
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!&#13;
If you want to remove files modified today, change +1 to -1&#13;
This can be useful to add into crontab though&lt;/p&gt;</description>
      <pubDate>Tue, 28 Aug 2007 05:18:49 UTC</pubDate>
      <guid>https://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 - wolfie</title>
      <link>https://snipplr.com/view/3285/how-to-replace-a-string-in-a-file-quickly-from-the-command-line</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 13 Jul 2007 06:36:40 UTC</pubDate>
      <guid>https://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 - wolfie</title>
      <link>https://snipplr.com/view/2449/redefining-colours-in-vi</link>
      <description>&lt;p&gt;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.&lt;/p&gt;</description>
      <pubDate>Wed, 11 Apr 2007 04:48:37 UTC</pubDate>
      <guid>https://snipplr.com/view/2449/redefining-colours-in-vi</guid>
    </item>
    <item>
      <title>(Bash) How to add a '.t' filetype to vi's syntax highlighting - wolfie</title>
      <link>https://snipplr.com/view/2448/how-to-add-a-t-filetype-to-vis-syntax-highlighting</link>
      <description>&lt;p&gt;This allows you to use perl syntax highlighting in vi for test scripts that use the ".t" file extension&lt;/p&gt;</description>
      <pubDate>Wed, 11 Apr 2007 04:45:38 UTC</pubDate>
      <guid>https://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 - wolfie</title>
      <link>https://snipplr.com/view/2185/using-chkconfig-to-make-software-start-at-reboot</link>
      <description>&lt;p&gt;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).&lt;/p&gt;</description>
      <pubDate>Tue, 20 Feb 2007 04:51:19 UTC</pubDate>
      <guid>https://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 - wolfie</title>
      <link>https://snipplr.com/view/2163/how-to-make-sure-the-filename-you-want-is-output-to-a-browser</link>
      <description>&lt;p&gt;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&lt;/p&gt;</description>
      <pubDate>Tue, 13 Feb 2007 02:15:24 UTC</pubDate>
      <guid>https://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 - wolfie</title>
      <link>https://snipplr.com/view/2010/how-to-see-what-processes-are-listening-on-which-ports</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 22 Jan 2007 06:29:55 UTC</pubDate>
      <guid>https://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 - wolfie</title>
      <link>https://snipplr.com/view/1676/how-to-determine-a-timeout-using-unix-time-in-mysql</link>
      <description>&lt;p&gt;This will return the number of seconds between now and when the time field was inserted.&lt;/p&gt;</description>
      <pubDate>Fri, 17 Nov 2006 03:31:09 UTC</pubDate>
      <guid>https://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 - wolfie</title>
      <link>https://snipplr.com/view/1650/how-to-return-an-error-message-or-a-value</link>
      <description>&lt;p&gt;Courtesy of Michael Mathews&lt;/p&gt;</description>
      <pubDate>Mon, 13 Nov 2006 02:26:34 UTC</pubDate>
      <guid>https://snipplr.com/view/1650/how-to-return-an-error-message-or-a-value</guid>
    </item>
    <item>
      <title>(Perl) Convert timestamp to Unixtime - wolfie</title>
      <link>https://snipplr.com/view/1644/convert-timestamp-to-unixtime</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 10 Nov 2006 02:59:11 UTC</pubDate>
      <guid>https://snipplr.com/view/1644/convert-timestamp-to-unixtime</guid>
    </item>
  </channel>
</rss>
