‹ jan0sch.de

Page 6


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.

At least on my Nexus 4 (made by LG) I have to press the following keys: Power + Volume Down

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.

Sometimes you have to rebuild ports due to a library update. But if there are vulnerabilities known for that ports then make will bail out with an error message and refuse to build the port. Instead it gives you the advice to update or deinstall the port which is good advice but sometimes just not possible.

« ältere Beiträge neuere Beiträge »