<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - noah</title>
<link>http://snipplr.com/users/noah/tags/productivity</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sat, 25 May 2013 18:33:47 GMT</pubDate>
<item>
<title>(SVN) Just print SVN log message bodies</title>
<link>http://snipplr.com/view/10791/just-print-svn-log-message-bodies/</link>
<description><![CDATA[ <p>Gets the SVN log and prints out just the log messages, without any metadata.  Exposes the narrative aspect of software workflow, allows the actors to recede into the background a bit.</p> ]]></description>
<pubDate>Wed, 31 Dec 2008 13:56:14 GMT</pubDate>
<guid>http://snipplr.com/view/10791/just-print-svn-log-message-bodies/</guid>
</item>
<item>
<title>(JavaScript) Describe Jira Task bookmarklet</title>
<link>http://snipplr.com/view/10133/describe-jira-task-bookmarklet/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 28 Nov 2008 11:59:05 GMT</pubDate>
<guid>http://snipplr.com/view/10133/describe-jira-task-bookmarklet/</guid>
</item>
<item>
<title>(Bash) Download linked JPEGs from a Web page, on the command line</title>
<link>http://snipplr.com/view/4063/download-linked-jpegs-from-a-web-page-on-the-command-line/</link>
<description><![CDATA[ <p>The following command will download all the files with a JPG extension that are linked from http://flickr.com.

_Requires the LWP and HTML::Tree Perl modules.  You must also have Wget installed on your system for this to work._</p> ]]></description>
<pubDate>Fri, 02 Nov 2007 22:57:45 GMT</pubDate>
<guid>http://snipplr.com/view/4063/download-linked-jpegs-from-a-web-page-on-the-command-line/</guid>
</item>
<item>
<title>(Bash) clipboard commands for OSX</title>
<link>http://snipplr.com/view/3350/clipboard-commands-for-osx/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 23 Jul 2007 11:44:20 GMT</pubDate>
<guid>http://snipplr.com/view/3350/clipboard-commands-for-osx/</guid>
</item>
<item>
<title>(Perl) search and replace across multiple files with Perl</title>
<link>http://snipplr.com/view/3145/search-and-replace-across-multiple-files-with-perl/</link>
<description><![CDATA[ <p>A couple of useful snippets from an article I found at Perl.com

**Perl search-and-replace on the command line.**

All of these should be usable under Cygwin as well.  But remember that bash wants single-quoted strings but MS-DOS shell wants strings to be double-quoted.</p> ]]></description>
<pubDate>Wed, 04 Jul 2007 20:00:52 GMT</pubDate>
<guid>http://snipplr.com/view/3145/search-and-replace-across-multiple-files-with-perl/</guid>
</item>
<item>
<title>(Perl) submit a POST query with parameters</title>
<link>http://snipplr.com/view/3135/submit-a-post-query-with-parameters/</link>
<description><![CDATA[ <p>from The Perl Black Book, Holzner, p. 1247</p> ]]></description>
<pubDate>Tue, 03 Jul 2007 22:57:13 GMT</pubDate>
<guid>http://snipplr.com/view/3135/submit-a-post-query-with-parameters/</guid>
</item>
<item>
<title>(Perl) Remove duplicate lines from a text file with Perl</title>
<link>http://snipplr.com/view/3124/remove-duplicate-lines-from-a-text-file-with-perl/</link>
<description><![CDATA[ <p>*[Found at Google Answers.](http://answers.google.com/answers/threadview?id=25196)*

Sometimes I get a big list of things, and some of the things occur multiple times in the same list.  To make the list easier to read, I want to *delete* the duplicate lines.
 
A good example is a list of files that have errors (maybe excerpted from an application sever's log files).  In that case you have a newline-delimited list of file paths,  and depending upon the situation, the same file path might be listed 4 or 5 times or more.  Often, it is useful to have a list of just the files that are faulty, which can be produced by deleting all the duplicate lines.  This script is for filtering just those kinds of list files.

[Of course,](http://xkcd.com/378/ "emacs has a command for that")  for **Emacs** users  [there is a much easier way to remove duplicate lines:](http://everything2.com/title/useful%2520emacs%2520lisp%2520functions "useful emacs lisp functions"), if you have `uniq` installed on your system.

`M-x sort-lines RET C-x h M-x shell-command-on-region RET uniq RET`</p> ]]></description>
<pubDate>Tue, 03 Jul 2007 22:06:34 GMT</pubDate>
<guid>http://snipplr.com/view/3124/remove-duplicate-lines-from-a-text-file-with-perl/</guid>
</item>
<item>
<title>(Bash) rsync backup directory</title>
<link>http://snipplr.com/view/2798/rsync-backup-directory/</link>
<description><![CDATA[ <p>The --delete switch causes files that have been deleted from the source directory, to also be deleted from the target directory.</p> ]]></description>
<pubDate>Mon, 04 Jun 2007 07:37:02 GMT</pubDate>
<guid>http://snipplr.com/view/2798/rsync-backup-directory/</guid>
</item>
</channel>
</rss>