Slim raspbian default Raspberry-pi Image
Wed, 26 Dec 2012 by Frank LazzariniThe 'default' Raspberry-Pi image Raspbian comes with a lot of overhead which is mostly not wanted at least in my case. Here is a little aptitude line which gets rid of all the stuff we don't want on our little embedded system like Xorg server, fonts, X Applications, LXDE and so forth. To slim/trim down your Raspbian installation.
sudo apt-get remove --purge x11-common x11-utils x11-xkb-utils x11-xserver-utils \ xarchiver xauth xkb-data xinit lightdm lightdm-gtk-greeter consolekit \ libx{composite,cb,cursor,damage,dmcp,ext,font,ft,i,inerama,kbfile,klavier,mu,pm,randr,render,res,t,xf86}* \ lxde* lx{input,menu-data,panel,polkit,randr,session,session-edit,shortcut,task,terminal} \ obconf openbox gtk* libgtk* python-pygame python-tk python3-tk scratch tsconf omxplayer squeak-vm \ penguinspuzzle mupdf netsurf-gtk menu-xdg sudo apt-get autoremove && sudo apt-get autoclean
boxfs for Ubuntu Precise Quantal ppa
Do you have a box.com Account. For those who do not know http://www.box.com, it is a cloud storage system just like http://www.dropbox.com but it uses an open standard API called OpenBox API. Domenico Rotiroti wrote a fuse driver called boxfs to mount your …
read moreConky Amarok integration - Show current playing song
Migrate resources depending on ocf:pacemaker:ping RA with Pacemaker
The job we want to accomplish is quite simple. Let's just say you have two nodes nodeA and nodeB on two different locations which both have a individual gateways. Now let's imagine the following scenario, gatewayA goes down, and resulting in this there is no more internet connectivity on nodeA …
read moreGit visualization with gource
Install Firebird 2.5 onto Ubuntu 10.04 via PPA
As of Ubuntu 12.04 Firebird 2.5 packages are included in the official repositories, but here I am focusing on installing Firebird 2.5 on older installations with Ubuntu 10.04 LTS. So you want to install Firebird 2.5 onto Ubuntu 10.04 without the need to install …
read moreRun through folder add files with a certain extension to a list - Python Oneliner
Here is great Python Oneliner I came across, to put a list of files ending with a certain extension or name to a list, all this in just one line...
import os
list = []
list += [each for each in os.listdir('path/to/files') if each.endswith('.jpg')]
Gtk using ugly theme in KDE 4.8.1 on Ubuntu 11.10 Oneiric

I lately updated my laptop with the latest packages and I've got KDE 4.8.1 from the ppa. To my surprise all the gtk apps that I have installed look terrible, with the standard GTK look, apps like firefox/pidgin and so on. The default theme look was change …
read moreSyncing 8TB with DRBD (what a beauty)
Python resize image keeping aspect ratio
This time I am posting just a little snippet which came in handy with the latest web development I am doing. The problem was to resize an uploaded image on the fly and creating an according thumbnail for that image. For testing purposes I create a script that could be …
read more