vanutsteen.nl => nerds only A blog on rails, php, computing, my bass guitar and stuff

Securing chromium-browser with apparmor on Ubuntu 11.10

on in Linux

I wanted to make chromium (chrome) more secure. Just to be safe. I found out that the package apparmor-profiles on Ubuntu contained an apparmor profile for chromium-browser. I installed it and tried to enforce it without using the aa-enforce binary...

git add -u

on in Development

This is a nice one:

1
git add -u

This only adds already commited files to a new commit. And leaves files not in the git repository alone.

Ubuntu 11.10 on my laptop and ufw

on in Linux

I decided on enabling ufw (uncomplicated firewall) on my laptop (you can’t be secure enough). Too bad it isn’t enabled by default on Ubuntu. So I had to do this:

1
2
3
4
5
6
7
sudo ufw enable
sudo ufw...

Asus k53sv & ubuntu power management

on in Linux

Using my new Asus k53sv with Ubuntu 11.10 resulted in 2 hours of battery time. I know the k53 doesn’t have a fancy battery (quite the opposite) but I thought 2 hours was really bad.

With the power regression bug of the Linux kernel in my mind, I started...

3 useful route commands

on in Linux

To route an ip address through a (vpn) connection:

1
2
3
sudo route add -net XX.192.85.XX netmask 255.255.255.255 gw 192.168.1.1
sudo route add -net 10.76.122.0 netmask 255.255.255.0 gw 192.168.1.1...