‹ jan0sch.de

Page 6


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.

I recently switched to airline as powerline replacement for vim.

To enable support for powerline-fonts the following steps were needed:

2013-06-14

If you are using opera and sylpheed you might want to fire up sylpheed by clicking on a mailto link in the browser.

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.

« ältere Beiträge neuere Beiträge »