<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - thebugslayer</title>
<link>http://snipplr.com/users/thebugslayer</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Tue, 02 Dec 2008 04:07:08 GMT</pubDate>
<item>
<title>(Bash) my scripts</title>
<link>http://snipplr.com/view/3988/my-scripts/</link>
<description><![CDATA[ <p>http://javautilcmdline.sourceforge.net/

svn co https://javautilcmdline.svn.sourceforge.net/svnroot/javautilcmdline/branches/zemian-scripts</p> ]]></description>
<pubDate>Wed, 24 Oct 2007 09:19:03 GMT</pubDate>
<guid>http://snipplr.com/view/3988/my-scripts/</guid>
</item>
<item>
<title>(Bash) ubuntu cron reference</title>
<link>http://snipplr.com/view/3819/ubuntu-cron-reference/</link>
<description><![CDATA[ <p>Example: 
sudo -i
crontab -e

#reindex locate db daily
0 0 * * * /usr/bin/updatedb</p> ]]></description>
<pubDate>Wed, 03 Oct 2007 07:00:01 GMT</pubDate>
<guid>http://snipplr.com/view/3819/ubuntu-cron-reference/</guid>
</item>
<item>
<title>(Java) spring-runbean standalone app setup: pom.xml, beans.xml, assembly.xml</title>
<link>http://snipplr.com/view/3810/springrunbean-standalone-app-setup-pomxml-beansxml-assemblyxml/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 01 Oct 2007 08:50:04 GMT</pubDate>
<guid>http://snipplr.com/view/3810/springrunbean-standalone-app-setup-pomxml-beansxml-assemblyxml/</guid>
</item>
<item>
<title>(Java) springmvc setup: web.xml, webapp-servlet.xml, and webapp-servlet-main.xml, pom.xml, logback.xml</title>
<link>http://snipplr.com/view/3809/springmvc-setup-webxml-webappservletxml-and-webappservletmainxml-pomxml-logbackxml/</link>
<description><![CDATA[ <p>There are multiple file snippets here. Careful when cut/paste

mvn archetype:create -DarchetypeArtifactId=maven-archetype-webapp -DgroupId=deng -DartifactId=myspringmvc
touch WEB-INF/conf.properties</p> ]]></description>
<pubDate>Mon, 01 Oct 2007 08:26:34 GMT</pubDate>
<guid>http://snipplr.com/view/3809/springmvc-setup-webxml-webappservletxml-and-webappservletmainxml-pomxml-logbackxml/</guid>
</item>
<item>
<title>(Java) Increase eclipse JVM max memories and maxpermsize paramters</title>
<link>http://snipplr.com/view/3802/increase-eclipse-jvm-max-memories-and-maxpermsize-paramters/</link>
<description><![CDATA[ <p>/opt/eclipse/eclipse.ini</p> ]]></description>
<pubDate>Sat, 29 Sep 2007 05:49:25 GMT</pubDate>
<guid>http://snipplr.com/view/3802/increase-eclipse-jvm-max-memories-and-maxpermsize-paramters/</guid>
</item>
<item>
<title>(Groovy) svnremove.groovy Remove all svn removed files from working dir</title>
<link>http://snipplr.com/view/3801/svnremovegroovy-remove-all-svn-removed-files-from-working-dir/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 29 Sep 2007 05:08:17 GMT</pubDate>
<guid>http://snipplr.com/view/3801/svnremovegroovy-remove-all-svn-removed-files-from-working-dir/</guid>
</item>
<item>
<title>(Java) Minimal web.xml web-app descriptor version 2.4 and 2.3</title>
<link>http://snipplr.com/view/3800/minimal-webxml-webapp-descriptor-version-24-and-23/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 28 Sep 2007 20:07:20 GMT</pubDate>
<guid>http://snipplr.com/view/3800/minimal-webxml-webapp-descriptor-version-24-and-23/</guid>
</item>
<item>
<title>(Java) Using a internal maven2 repository settings.xml</title>
<link>http://snipplr.com/view/3787/using-a-internal-maven2-repository-settingsxml/</link>
<description><![CDATA[ <p>Setup artifactory application in a internal network that act as proxy. Then in your $HOME/.m2 directory, add the following file.

For deploying to repos, add this to pom.xml
...
        
		
			cnx.release.repo
			Connextions Repository for Maven2
			http://firebird:8081/artifactory/cnx-releases
		
		
			cnx.snapshots.repo
			Connextions Repository for Maven2
			http://firebird:8081/artifactory/cnx-snapshots
		
	
...
run: maven deploy -DrepositoryId=cnx.snapshots.repo</p> ]]></description>
<pubDate>Wed, 26 Sep 2007 07:07:07 GMT</pubDate>
<guid>http://snipplr.com/view/3787/using-a-internal-maven2-repository-settingsxml/</guid>
</item>
<item>
<title>(Java) logback.xml configuration with STDOUT and Daily Rolling FILE appender</title>
<link>http://snipplr.com/view/3779/logbackxml-configuration-with-stdout-and-daily-rolling-file-appender/</link>
<description><![CDATA[ <p>ch.qos.logback
      logback-classic
      0.9.8</p> ]]></description>
<pubDate>Mon, 24 Sep 2007 20:47:20 GMT</pubDate>
<guid>http://snipplr.com/view/3779/logbackxml-configuration-with-stdout-and-daily-rolling-file-appender/</guid>
</item>
<item>
<title>(Java) Minimal web.xml web-app descriptor version 2.5</title>
<link>http://snipplr.com/view/3775/minimal-webxml-webapp-descriptor-version-25/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 24 Sep 2007 15:08:45 GMT</pubDate>
<guid>http://snipplr.com/view/3775/minimal-webxml-webapp-descriptor-version-25/</guid>
</item>
<item>
<title>(Java) Maven2 pom.xml for a webapp that works in Eclipse Europa+m2eclipse</title>
<link>http://snipplr.com/view/3774/maven2-pomxml-for-a-webapp-that-works-in-eclipse-europam2eclipse/</link>
<description><![CDATA[ <p>1. mvn archetype:create -DgroupId=deng -DartifactId=mywebapp -DarchetypeArtifactId=maven-archetype-webapp
2. Replace web.xml with http://snipplr.com/view/3800/minimal-webxml-webapp-descriptor-version-24
3. Replace pom.xml in this snipplet.
4. mvn eclipse:m2eclipse -Dwtpversion=1.5
5. Import project into Eclipse
6. In project properties > Java Build Path. Add a "Server Runtime" Library ( with Tomcat6)
7. In project properties > J2EE Module Dependencies. Check Maven2Dependencies
8. Project > Clean

If you re-importing a project back into Eclipse, be sure to:
1. Delete your existing project in eclipse
2. mvn clean eclipse:clean
3. Repeat steps 4-8 above.</p> ]]></description>
<pubDate>Mon, 24 Sep 2007 15:07:34 GMT</pubDate>
<guid>http://snipplr.com/view/3774/maven2-pomxml-for-a-webapp-that-works-in-eclipse-europam2eclipse/</guid>
</item>
<item>
<title>(Java) persistence.xml for Hibernate vendor</title>
<link>http://snipplr.com/view/3770/persistencexml-for-hibernate-vendor/</link>
<description><![CDATA[ <p>this goes under src/main/resource/META-INF/persistence.xml</p> ]]></description>
<pubDate>Sun, 23 Sep 2007 20:47:27 GMT</pubDate>
<guid>http://snipplr.com/view/3770/persistencexml-for-hibernate-vendor/</guid>
</item>
<item>
<title>(Java) JPA Annotated/Persistent Class</title>
<link>http://snipplr.com/view/3769/jpa-annotatedpersistent-class/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 23 Sep 2007 20:37:53 GMT</pubDate>
<guid>http://snipplr.com/view/3769/jpa-annotatedpersistent-class/</guid>
</item>
<item>
<title>(Groovy) svnadd.groovy Add all svn new status files to working directory</title>
<link>http://snipplr.com/view/3768/svnaddgroovy-add-all-svn-new-status-files-to-working-directory/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 23 Sep 2007 20:13:34 GMT</pubDate>
<guid>http://snipplr.com/view/3768/svnaddgroovy-add-all-svn-new-status-files-to-working-directory/</guid>
</item>
<item>
<title>(Java) Maven2 pom.xml for HibernateJPA+Mysql+HibernateTools</title>
<link>http://snipplr.com/view/3767/maven2-pomxml-for-hibernatejpamysqlhibernatetools/</link>
<description><![CDATA[ <p>Make sure you compile before rnning hibernate3:hbm2ddl!

mvn compile hibernate3:hbm2ddl</p> ]]></description>
<pubDate>Sun, 23 Sep 2007 20:11:22 GMT</pubDate>
<guid>http://snipplr.com/view/3767/maven2-pomxml-for-hibernatejpamysqlhibernatetools/</guid>
</item>
<item>
<title>(Java) Basic Manev2 pom.xml</title>
<link>http://snipplr.com/view/3766/basic-manev2-pomxml/</link>
<description><![CDATA[ <p>mvn archetype:create -DgroupId=deng -DartifactId=mysimpleapp
mvn eclipse:m2eclipse</p> ]]></description>
<pubDate>Sun, 23 Sep 2007 17:44:38 GMT</pubDate>
<guid>http://snipplr.com/view/3766/basic-manev2-pomxml/</guid>
</item>
<item>
<title>(Groovy) slicing, range and step</title>
<link>http://snipplr.com/view/2932/slicing-range-and-step/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 18 Jun 2007 14:28:05 GMT</pubDate>
<guid>http://snipplr.com/view/2932/slicing-range-and-step/</guid>
</item>
<item>
<title>(Groovy) sum of column</title>
<link>http://snipplr.com/view/2924/sum-of-column/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 17 Jun 2007 20:15:05 GMT</pubDate>
<guid>http://snipplr.com/view/2924/sum-of-column/</guid>
</item>
<item>
<title>(Groovy) extract column at index</title>
<link>http://snipplr.com/view/2923/extract-column-at-index/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 17 Jun 2007 19:53:58 GMT</pubDate>
<guid>http://snipplr.com/view/2923/extract-column-at-index/</guid>
</item>
<item>
<title>(Groovy) groovy select with metadata</title>
<link>http://snipplr.com/view/2831/groovy-select-with-metadata/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 10 Jun 2007 09:18:32 GMT</pubDate>
<guid>http://snipplr.com/view/2831/groovy-select-with-metadata/</guid>
</item>
</channel>
</rss>