Friday, April 09, 2010

getting the vodafone usb modem working on ubuntu

http://ip-62-105-171-197.dsl.twang.net/bvportal/forums/index.html?threadId=ff80808122654e6f01227632fff8503c&postId=ff80808122654e6f01228e6f22484bb4

Thursday, April 08, 2010

tomcat thread dump at work

At work, if tomcat isn't responding, send it a kill -3 to get it to produce a thread dump.

Friday, April 02, 2010

xhost

I run three or four different browser profiles for security. There's a general browsing profile for reddit.com and links I follow from there, there's a more secure profile for gmail and facebook, and there's a most secure profile for internet banking.

Not only do I run these separate profiles, I also run them as separate users under sudo -H -u [user] [browser] [other-params].

But in order to do that I need to have an xhost setting that allows these browser profiles (running as users other than me) to display on my root display. To enable that, I have this line in ~/.xinitrc.

xhost local: