<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - studioevoque</title>
<link>http://snipplr.com/users/studioevoque</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Tue, 18 Jun 2013 15:33:12 GMT</pubDate>
<item>
<title>(Java) Simple XPath expression evaluation</title>
<link>http://snipplr.com/view/59093/simple-xpath-expression-evaluation/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 26 Sep 2011 19:23:01 GMT</pubDate>
<guid>http://snipplr.com/view/59093/simple-xpath-expression-evaluation/</guid>
</item>
<item>
<title>(Java) Simple H2 Database utility class</title>
<link>http://snipplr.com/view/56875/simple-h2-database-utility-class/</link>
<description><![CDATA[ <p>A simple utility class that uses the H2 SQL Db to maintain a database connection. It also gives a convenience method to run SQL scripts.

_Note:_The init.sql value is hardcoded, and should be replaced by a static variable if needed</p> ]]></description>
<pubDate>Wed, 20 Jul 2011 00:21:37 GMT</pubDate>
<guid>http://snipplr.com/view/56875/simple-h2-database-utility-class/</guid>
</item>
<item>
<title>(Java) Disable loading of external DTD in SAXParser</title>
<link>http://snipplr.com/view/55856/disable-loading-of-external-dtd-in-saxparser/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 29 Jun 2011 01:25:12 GMT</pubDate>
<guid>http://snipplr.com/view/55856/disable-loading-of-external-dtd-in-saxparser/</guid>
</item>
<item>
<title>(Scala) Convert Scala XML to Java DOM</title>
<link>http://snipplr.com/view/55854/convert-scala-xml-to-java-dom/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 29 Jun 2011 01:21:45 GMT</pubDate>
<guid>http://snipplr.com/view/55854/convert-scala-xml-to-java-dom/</guid>
</item>
<item>
<title>(Bash) Create a 2x2 montage</title>
<link>http://snipplr.com/view/55474/create-a-2x2-montage/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 19 Jun 2011 04:24:24 GMT</pubDate>
<guid>http://snipplr.com/view/55474/create-a-2x2-montage/</guid>
</item>
<item>
<title>(JavaScript) Load a JavaScript file dynamically</title>
<link>http://snipplr.com/view/55468/load-a-javascript-file-dynamically/</link>
<description><![CDATA[ <p>you need jQuery already loaded for this to work</p> ]]></description>
<pubDate>Sat, 18 Jun 2011 20:46:48 GMT</pubDate>
<guid>http://snipplr.com/view/55468/load-a-javascript-file-dynamically/</guid>
</item>
<item>
<title>(CSS) No horizontal scrollbar for web page</title>
<link>http://snipplr.com/view/55269/no-horizontal-scrollbar-for-web-page/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 15 Jun 2011 22:24:52 GMT</pubDate>
<guid>http://snipplr.com/view/55269/no-horizontal-scrollbar-for-web-page/</guid>
</item>
<item>
<title>(JavaScript) Wait for jQuery to load</title>
<link>http://snipplr.com/view/54863/wait-for-jquery-to-load/</link>
<description><![CDATA[ <p>Sometimes, you need to setup functionality before jQuery is loaded (e.g. because of a template). You can use this snippet to schedule the function after jQuery is loaded.</p> ]]></description>
<pubDate>Sat, 04 Jun 2011 06:31:40 GMT</pubDate>
<guid>http://snipplr.com/view/54863/wait-for-jquery-to-load/</guid>
</item>
<item>
<title>(Processing) Rotating an Image around it's center</title>
<link>http://snipplr.com/view/54301/rotating-an-image-around-its-center/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 24 May 2011 07:37:45 GMT</pubDate>
<guid>http://snipplr.com/view/54301/rotating-an-image-around-its-center/</guid>
</item>
<item>
<title>(CSS) Simple CSS Image Rollover link</title>
<link>http://snipplr.com/view/53592/simple-css-image-rollover-link/</link>
<description><![CDATA[ <p>A simple way to style a link using a CSS sprite. On hover, the image is moved upwards by the image height to reveal the rollover image.</p> ]]></description>
<pubDate>Sun, 15 May 2011 06:16:59 GMT</pubDate>
<guid>http://snipplr.com/view/53592/simple-css-image-rollover-link/</guid>
</item>
<item>
<title>(Bash) Get multi-line environment path listing</title>
<link>http://snipplr.com/view/52928/get-multiline-environment-path-listing/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 03 May 2011 22:15:29 GMT</pubDate>
<guid>http://snipplr.com/view/52928/get-multiline-environment-path-listing/</guid>
</item>
<item>
<title>(Bash) Flatten folder/directory tree</title>
<link>http://snipplr.com/view/47279/flatten-folderdirectory-tree/</link>
<description><![CDATA[ <p>Useful for when you want to move all mp3 files in sub directories into the current dir</p> ]]></description>
<pubDate>Mon, 17 Jan 2011 16:11:04 GMT</pubDate>
<guid>http://snipplr.com/view/47279/flatten-folderdirectory-tree/</guid>
</item>
<item>
<title>(Bash) Recursively copy only files with certain extension with rsync</title>
<link>http://snipplr.com/view/47276/recursively-copy-only-files-with-certain-extension-with-rsync/</link>
<description><![CDATA[ <p>Useful for syncing only  MP3 or PDF files which are nested in a deep directory tree</p> ]]></description>
<pubDate>Mon, 17 Jan 2011 15:45:46 GMT</pubDate>
<guid>http://snipplr.com/view/47276/recursively-copy-only-files-with-certain-extension-with-rsync/</guid>
</item>
<item>
<title>(Java) Enable anti-aliasing in Swing applications</title>
<link>http://snipplr.com/view/43801/enable-antialiasing-in-swing-applications/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 09 Nov 2010 17:19:46 GMT</pubDate>
<guid>http://snipplr.com/view/43801/enable-antialiasing-in-swing-applications/</guid>
</item>
<item>
<title>(Java) Get enum from integer value (ordinal)</title>
<link>http://snipplr.com/view/43711/get-enum-from-integer-value-ordinal/</link>
<description><![CDATA[ <p>A simple way to get the enum indicated by its ordinal value.</p> ]]></description>
<pubDate>Mon, 08 Nov 2010 01:50:44 GMT</pubDate>
<guid>http://snipplr.com/view/43711/get-enum-from-integer-value-ordinal/</guid>
</item>
<item>
<title>(Java) Simple UTF-8 file writing</title>
<link>http://snipplr.com/view/43486/simple-utf8-file-writing/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 03 Nov 2010 19:52:14 GMT</pubDate>
<guid>http://snipplr.com/view/43486/simple-utf8-file-writing/</guid>
</item>
<item>
<title>(Java) Read file to string</title>
<link>http://snipplr.com/view/43373/read-file-to-string/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 01 Nov 2010 10:41:25 GMT</pubDate>
<guid>http://snipplr.com/view/43373/read-file-to-string/</guid>
</item>
<item>
<title>(Java) Delete a directory</title>
<link>http://snipplr.com/view/43286/delete-a-directory/</link>
<description><![CDATA[ <p>A "quick and dirty" way to delete a directory. For more cleaner implementation, see http://www.google.com/codesearch/p?hl=en#SS2by_AKaLs/src/org/apache/commons/io/FileUtils.java&amp;q=cleanDirectory&amp;l=972</p> ]]></description>
<pubDate>Sat, 30 Oct 2010 10:16:22 GMT</pubDate>
<guid>http://snipplr.com/view/43286/delete-a-directory/</guid>
</item>
<item>
<title>(Java) Java2sAutoTextField  : non-strict default setting</title>
<link>http://snipplr.com/view/42425/java2sautotextfield---nonstrict-default-setting/</link>
<description><![CDATA[ <p>This is  a modification of the Sun tutorial code that initializes the text editor to accept words that are not part of the auto-complete list. In the terms of the implementation, it is referred to as "not strict".</p> ]]></description>
<pubDate>Sun, 17 Oct 2010 05:00:14 GMT</pubDate>
<guid>http://snipplr.com/view/42425/java2sautotextfield---nonstrict-default-setting/</guid>
</item>
<item>
<title>(Java) The Planet enum example</title>
<link>http://snipplr.com/view/42422/the-planet-enum-example/</link>
<description><![CDATA[ <p>An example to make myself remember how powerful Java enums are!</p> ]]></description>
<pubDate>Sun, 17 Oct 2010 03:22:15 GMT</pubDate>
<guid>http://snipplr.com/view/42422/the-planet-enum-example/</guid>
</item>
</channel>
</rss>