zsh prompt/window title: trim middle of path

I run zsh in tmux, and sometimes I end up in a deep directory where the path matches that of another window in tmux (for example in my local docker development environment and on the testing/production server). When this happens just seeing the last part of the path as the window title is not enough, […]

Read more ›

Docker and PHP xdebug

I have switched from using Vagrant to Docker as my local development environment, and I’m still mentally trying to switch To use the vdebug plugin in Vim I have set xdebug up inside the container as follows: /etc/php5/conf.d/20-xdebug.ini (Debian wheezy) zend_extension=/usr/lib/php5/20100525/xdebug.so xdebug.remote_enable=1 xdebug.remote_autostart=0 xdebug.remote_connect_back=1 xdebug.remote_port=9000 And in my ~/.vimrc I have these vdebug settings: let […]

Read more ›

HTPC/NAS for watching Netflix on Linux part 1: the hardware

I decided to build a new HTPC/NAS in order to watch Netflix (using pipelight) on Linux, and combine two older machines into one. My old HTPC was based on a 1.6GHz AMD Sempron from 2007 and a Nvidia GeForce N210. While it played Full HD content fine using vdpau, it was not able to handle Netflix […]

Read more ›

UEFI booting Arch Linux on a HP ProBook 6360b

As I’ve just got a new Samsung 840 Pro Series 256GB SSD for my work laptop (HP ProBook 6360b), I wanted to try switching from BIOS booting to UEFI. SSD setup Using gdisk I created two partitions: Number Start (sector) End (sector) Size Code Name 1 2048 206847 100.0 MiB EF00 EFI System 2 206848 […]

Read more ›

Installing CyanogenMod 7.1 on a Sony Ericsson Xperia Arc (LT15i)

Although the instructions for upgrading the Sony Ericsson Xperia Arc (not the new S version) are pretty detailed there are some twists that are not documented: You need to upgrade to the latests official Sony Ericsson rom (currently “4.0.2.A.0.62 Generic Global World” ), you can find links in this xda developers thread, else the phone will […]

Read more ›

Upgrading an Android Developer Phone 1 to Cyanogenmod 5.0.7 (Android 2.1)

My ADP1 has been running Android 1.6 (Cyanogenmod 4.2.x) for quite a while now, and I was exited to see that it would be possible to run Android 2.1 on it thanks to Cyanogen :) This guide is a digest of information found on Cyanogen’s wiki, like: ADP1 Firmware to CyanogenMod, please consult the wiki for up […]

Read more ›

AnySee E30 C Plus + MythTV

I had the chance to test AnySee’s USB based DVB-C tuner with MythTV, and I can confirm it “just works”. To setup the AnySee E30 C Plus just follow my Terratec Cinergy C PCI HD + MythTV guide, the setup is exactly the same. The only thing I noticed is that the signal strength is […]

Read more ›

Xfce: auto rotate wallpaper without cron

Since Xfce 4.6 I’ve had the wallpaper autorotated on my Xfce desktop with the help of a small script and cron. But after an update of some component (probably libxfconf / xfconf) my script did not work anymore and I got this error if I tried to run the script from a console or via […]

Read more ›

Terratec Cinergy C PCI HD + MythTV

In the middle of December 2009 danish cable TV providor Stofa made most of the channels in its DVB-C network available unencoded. This prompted me to replace my analogue Hauppauge WinTV-PVR-500 TV tuner card (yes the links goes to my old PVR-150 page) with something that could record the digital signal from DVB-C. I looked […]

Read more ›

Gigabyte GA-MA790FXT-UD5P and Linux

I recently upgraded the hardware of my desktop and here is my experience with the new hardware. The upgrade consists of: Motherboard: Gigabyte GA-MA790FXT-UD5P (Product page) CPU: AMD Phenom II X4 810 Processor 2.6Ghz AM3 socket (Specs) CPU cooler: Xigmatek HDT-S1283 Cooler (Product page) RAM: Corsair 4Gb DDR3 XMS3 DHX PC10600 1333MHz (Product page) I […]

Read more ›