debian

Build your own proxy (and listen to Pandora outside USA)

I’ve always loved Pandoraradio, but now Pandora is available only to US citizens. However there is a solution, if you happen to own a VPSlocated in States (and your provider allows proxy service) then you can setup your own proxy server and enjoy listening to Pandora (and not only that) from any location. It could be also useful for Americans who gone abroad. With proxy you can also bypass your company’s firewall, so if admins are blocking some websites you’ll just access them via your proxy.

Reset root password in Debian

Today I’ve faced embarrassing situation, I’ve forgot my root password to my Debian VM. I know this is lame. But happened, so I’ve started looking for solution and after viewing few more or less helpful websites I’ve compiled my own solution. To reset root password on Debian (Lenny) do following: During start of PC when there is your boot manager displayed press “e”. Move arrow on the keyboard to highlight “kernel”.

How to get colored syntax in Vim on Debian

I’m using Debian Linux as a second operating system. Previously I was using it only for my servers, but now I’ve decided to start doing some software development on it. As I love bash environment, the choice of text editor was pretty obvious, Vim, the greatest editor ever made. But problem was that I like my syntax to be colored, it’s easier to write program code then. No problem, I thought, quick searching via Google gave me the “:syntax on” command which should enable what I’ve wanted.