As I am a frequent guest in public WLANs I spent some time looking into ways to connect safely to both the corporate network and the rest of the internet while enjoying the amenities of a cafés' or hotel's wifi. Because of its simplicity and universal availability I like SSH tunnels which are easily set … Continue reading Automatically starting an SSH tunnel in Ubuntu
Author: George Georgovassilis
Ensuring JUnit test suite contains all tests
While cleaning up today one of my projects I found a JUnit test that was not part of a test suite and never was executed. 'Never again' I say and here is how: a test suite that scans base packages for tests. The particular code: Is tailored to the specific project's needs Compares the tests … Continue reading Ensuring JUnit test suite contains all tests
A better eq() when matching method arguments with Mockito
I learned late of Mockito [1], even so more I love it. Walking a little farther away from the basics, a frequent needs presents itself to match method parameters (either when specifying or verifying behaviour) based on properties of complex objects which do not implement the java equals contract. Such an example would be verifying … Continue reading A better eq() when matching method arguments with Mockito
Reducing power consumption on the HP Probook 4720s and Ubuntu 12.04
As said earlier, Ubuntu 12.04 does a good job with power management on the 4720s. With some manual settings power consumption can be further decreases, albeit not much this time. I wrote this script which takes a parameter: on: enable power management settings off: disable power management settings extra: on + enable extensive power management … Continue reading Reducing power consumption on the HP Probook 4720s and Ubuntu 12.04
Ubuntu 12.04 LTS on the HP ProBook 4720s
Update: Ubuntu 12.10 is out; check how it does on the HP Probook 4720s. Canonical releases just a few days ago Ubuntu 12.04, which according to their roadmap [1] will be supported until 2017. If you have been following this blog or even tried out Ubuntu on your 4720s you know that the ride [2] … Continue reading Ubuntu 12.04 LTS on the HP ProBook 4720s