<?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/name</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 24 May 2013 18:43:59 GMT</pubDate>
<item>
<title>(JavaScript) List all class names used in a DOM tree</title>
<link>http://snipplr.com/view/6488/list-all-class-names-used-in-a-dom-tree/</link>
<description><![CDATA[ <p>Lists each CSS class name that is applied to an element within an HTML page.

Some applications suggested by this pattern are:
- List class names by frequency of use.
- List class names by what kind of element they are applied to.
- List class names that are only used once.</p> ]]></description>
<pubDate>Wed, 28 May 2008 17:31:41 GMT</pubDate>
<guid>http://snipplr.com/view/6488/list-all-class-names-used-in-a-dom-tree/</guid>
</item>
<item>
<title>(JavaScript) Find Verbose IDs in the DOM</title>
<link>http://snipplr.com/view/6474/find-verbose-ids-in-the-dom/</link>
<description><![CDATA[ <p>Traverses the DOM tree and reports if any IDs are over 30 characters in length.  Doesn't check for doubled IDs because that's caught when validationg the HTML.</p> ]]></description>
<pubDate>Tue, 27 May 2008 17:08:12 GMT</pubDate>
<guid>http://snipplr.com/view/6474/find-verbose-ids-in-the-dom/</guid>
</item>
<item>
<title>(Other) .bat file that calls a script and passes arguments to the script</title>
<link>http://snipplr.com/view/4011/bat-file-that-calls-a-script-and-passes-arguments-to-the-script/</link>
<description><![CDATA[ <p>In a Windows batch file, this line will call the script "foo.pl" assuming that "FOO.pl" is located in any of the directories specified in the PATH environment variable.

All arguments given to the .bat file, will be passed to FOO.pl.</p> ]]></description>
<pubDate>Fri, 26 Oct 2007 14:19:41 GMT</pubDate>
<guid>http://snipplr.com/view/4011/bat-file-that-calls-a-script-and-passes-arguments-to-the-script/</guid>
</item>
<item>
<title>(Bash) Create a directory recursively</title>
<link>http://snipplr.com/view/3979/create-a-directory-recursively/</link>
<description><![CDATA[ <p>Given the legal path of a nonexistent directory, create that path and directory.</p> ]]></description>
<pubDate>Tue, 23 Oct 2007 02:01:14 GMT</pubDate>
<guid>http://snipplr.com/view/3979/create-a-directory-recursively/</guid>
</item>
<item>
<title>(JavaScript) toggle classnames on a DOM element (supports multiple classnames)</title>
<link>http://snipplr.com/view/3338/toggle-classnames-on-a-dom-element-supports-multiple-classnames/</link>
<description><![CDATA[ <p># Example
Assuming some element like 

     < span id="foo" class="bar homer marge"  >

Then switch `#foo` back and forth between class names as follows.  Note that doing so does not destroy the other classnames that are attached to `#foo`.

     toggleClassname($('#foo')[0], 'bar', 'baz');

If this is applied to an element that does not have the classname `bar` then that classname will be added.

There is also a jQuery version of [toggle class name and replace classname.](http://github.com/textarcana/jquery_plugins)</p> ]]></description>
<pubDate>Fri, 20 Jul 2007 19:15:59 GMT</pubDate>
<guid>http://snipplr.com/view/3338/toggle-classnames-on-a-dom-element-supports-multiple-classnames/</guid>
</item>
<item>
<title>(JavaScript) Find doubled IDs in the DOM</title>
<link>http://snipplr.com/view/3303/find-doubled-ids-in-the-dom/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 14 Jul 2007 14:51:33 GMT</pubDate>
<guid>http://snipplr.com/view/3303/find-doubled-ids-in-the-dom/</guid>
</item>
<item>
<title>(Perl) id3.pl</title>
<link>http://snipplr.com/view/3129/id3pl/</link>
<description><![CDATA[ <p>This script takes a list of directories as its argument. 
  For mp3s that don't have any id3 information, guess      
  the name of the artist and track based on the filename   
  and use the MP3-Info module to insert that guess into    
  the file as id3v1 tags.</p> ]]></description>
<pubDate>Tue, 03 Jul 2007 22:40:18 GMT</pubDate>
<guid>http://snipplr.com/view/3129/id3pl/</guid>
</item>
<item>
<title>(Perl) Move MP3s into Artist/Album folders</title>
<link>http://snipplr.com/view/3128/move-mp3s-into-artistalbum-folders/</link>
<description><![CDATA[ <p>Given a directory of MP3s, read the ID3 tags and reorganize the directory so that all of the MP3s reside in folders that are nested in the order: Artist/Album/File.mp3</p> ]]></description>
<pubDate>Tue, 03 Jul 2007 22:37:20 GMT</pubDate>
<guid>http://snipplr.com/view/3128/move-mp3s-into-artistalbum-folders/</guid>
</item>
<item>
<title>(Perl) Truncate filenames but keep file extensions intact</title>
<link>http://snipplr.com/view/3127/truncate-filenames-but-keep-file-extensions-intact/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 03 Jul 2007 22:33:28 GMT</pubDate>
<guid>http://snipplr.com/view/3127/truncate-filenames-but-keep-file-extensions-intact/</guid>
</item>
<item>
<title>(Perl) rename - Larry Wall's filename fixer</title>
<link>http://snipplr.com/view/2677/rename--larry-walls-filename-fixer/</link>
<description><![CDATA[ <p>Invoke this script without any arguments to see the help text.  From the Perl Cookbook, Ch. 9.9.</p> ]]></description>
<pubDate>Mon, 21 May 2007 04:49:45 GMT</pubDate>
<guid>http://snipplr.com/view/2677/rename--larry-walls-filename-fixer/</guid>
</item>
</channel>
</rss>