If you want to change the volume in Ubuntu 11.10 it seems that amixer is kind of bugged when it comes to toggle (mute/unmute). When toggling Master, it also mutes all the separate groups (Front, headphone, PCM and so on), but when toggled again it…
Cutting bits from avi-file with ffmpeg/mencoder
I wanted to cut out two bits from an avi-file and then join them to get one small file from a large file. I thought using ffmpeg would be easy for this, but it turns out it might have a but with avi/wmv so I ended up using mencoder instead. The or…
Google Chrome and Kerberos
Just a short tip for those of you that use Google Chrome and want to utilize Kerberos to login to sites: You need to start Chrome with an extra command-line option. Why this isn’t configurable inside Chrome is a mystery, but anyways – here is the …
How to make IE8 trust a self-signed certificate in 20 irritating steps (and also for Google Chrome)
Browse to the site whose certificate you want to trust. When told “There is a problem with this website’s security certificate.”, choose “Continue to this website (not recommended).” Select Tools->Internet Options. Select Security->Trusted sites->…
API and RedHat Network
If you use RedHat Enterprise Linux in a big environment, you probably use RedHat Network (RHN) as well. RHN has a very well documented API, which can be used for all tasks you want to do. Here is a small script I wrote to list out all of our syste…
Wlan Password for guests
If you, as me, have a very long password for your wlan, it’s tiresome to give out the password to random guests who need to connect. Easy solution: Go to this web page and choose Wifi Network. Then fill in your ssid, password and type of encryptio…
How to change memory card on an Android-phone
Many upgrade their memory cards in their Android phones to a bigger one, and as many of those I thought it was just to insert the new one, and copy back all the data. For many reasons, that is not just so easy: 1) Your old card most likely contain…
The stress of disk failure
A few weeks ago my ZFS raid containing 12 1.5tb Western Digital green drives was degraded due to a drive failure. As I have a hot spare added to the raid as well, the raid was quickly rebuilt and has been working fine through the problems and afte…
Veistandard
Litt senere kom det et 110 *opphevet*-skilt, og jeg måtte ty til GPS’en for å skjønne at det betyr 130. I løpet av uken kjørte vi Danmark på kryss og tvers, og var også en svipptur innom Tyskland. Må si at veiene, både på motorveiene og i mer gris…
Ubuntu 11.04 and workspaces
A little bit difficult to find, so this is more of a “note to self”. How to change number of workspaces in Ubuntu: 1) Open a Terminal. 2) To change the number of rows, type the following command, changing the final number to the number you wish. P…