Latest Posts

Some advice for junior developers new on the job by Henrik on November 15th, 2017First of all, the below applies to a quite high stakes setting in a financially related company, a place were we don't move fast and break things if we want to continue being in business.

Setting up Ansible for MySQL by Henrik on September 14th, 2016In this how to we're going to manage in total 16 different LXC nodes on two different host machines.

A Function Browser for Emacs by Henrik on April 9th, 2016In my emacs init file for 2015 post I state:
However it would be kind of nice to be able to run a command to open a new buffer with links to line numbers for all definitions in the current file, shouldn’t be too hard to implement either, we’ll see if I manage in 2015.

Hacking Wordpress The Ugly And Quick Way by Henrik on August 4th, 2015Recently I've started a little project to see how I can do with IDN affiliate sites where there is a lot less competition than in English.

Functional HTML Rendering with PHP by Henrik on August 4th, 2015When you're working with a programming language that doesn't have templating per default and you're not in the mood - or don't see the need - for templating your first course of actions is to write something to obviate having to print and concatenate everything.

Using Intrepid and the newest Nvidia drivers (version no. 180), Compiz Fusion finally works, so does TwinView. What a massive relief, finally!

Now spinning cubes look nice and all but are not very useful, a good video demonstrating basically all the stuff I find important is this one:

Scale is by far the nicest one to have in my mind, as shown in the above video. Note that you can also set it to show only the windows on the current desktop, not just all, on different areas or keyboard combos.

Another combo that I have discovered is first setting windows to get focus simply by hovering over them with the mouse. That can be done by going Administration -> Window settings. Next enable opacity on windows losing focus in the Compiz settings window, set it to maybe 100 milliseconds.

The result is that when you for instance are reviewing some Linux tutorial requiring you to enter commands into a terminal you can simply have the terminal floating above Firefox, when you need to read more you simply hover with the pointer above an area that Firefox is occupying and scroll down with the wheel. The terminal will simultaneously go almost invisible so you can see the text beneath it. Then when you need to get back to the terminal you simply hover above it and write whatever it is that you need to write there, it will go opaque instantly. The point is to not having to do basically anything at all to switch focus here, which is possible if one of the windows you are switching too is smaller than the other since it can then hover above the bigger one.