2014-06-02
If you’re on a java project then you’ll very likely use maven.
Outdated dependencies can simply be shown via the following command:
If you’re on a java project then you’ll very likely use maven.
Outdated dependencies can simply be shown via the following command:
Testing links in wicket is usually done like this tester.clickLink("wicketContainerId:linkId").
If you’re not using gnome or xfce but have some gtk apps installed then you could always set your theme preferences via ~/.gtkrc-2.0 like this:
Like the cd - command git also has a shortcut to checkout the last branch. git checkout - switches to the last checked out branch.
In case you have an application running under tomcat and want to write your logs to a seperate file using log4j you can use some variables that tomcat is setting up.
Since some time you probably noticed ugly deprecation warning made by mocha if using rspec and rails. Usually they look like this:
To prevent the log files of a rails application to grow without limit you should setup log rotation. There are several ways to do this. Here is a simple solution using logrotate.
If you want to mirror a svn repository via git there is a nice little gem called svn2git available that provides easy setup. Updating your repository is done via svn2git --rebase.