Ubuntu LXC Port Forwarding

sudo iptables -t nat -I PREROUTING -p tcp -d $PUBLICIP --dport 80 -j DNAT --to 10.0.0.1:80
sudo iptables -A FORWARD -p tcp -d 10.0.0.1 --dport 80 -j ACCEPT
Read More

Install Spotify on Ubuntu 14.04

Spotify is probably the best way to listen music online and it’s also available on linux operating systems which is awesome. You can install it just by running the following commands:

Read More

One Week

Today I celebrate one week since I started this awesome little blog. Beer for everyone!

Read More

Things gone wrong after update

After some recent updates a lot of things are no longer working properly. Touchpad, brightness level controls from keyboard, high cpu usage and temperature. Also, for some reason only the first CPU core is recognized. Probably some other issues too but who has the patience. I’m using an old laptop with the Intel i5 first generation mobile CPU and onboard graphics so might be a driver problem.

I decided to trash everything and install Ubuntu 14.04 and so far so good.

Here we go again!

Read More

Daily commands #4: Record terminal sessions

I’ve recently discovered Asciinema which lets you record and share your terminal sessions. It’s pretty neat and lightweight, the only downside is that if you make the recording public (required if you want to embed the video in your site) it will appear on the Asciinema homepage too, some people might not enjoy that.

Read More