Web

Blocking Unwanted Connections with a Hosts File

You can use a HOSTS file to block ads, banners, 3rd party Cookies, 3rd party page counters, web bugs, and even most hijackers. This is accomplished by blocking the connection(s) that supplies these little gems. This is a simple script that downloads a new hosts file for your operating system and redirects all requests for […]

Read More
Linux

Remux MTS (AVCHD) files to MKV using mkvmerge in linux

This post came to life because I did not manager to get my newly aquired Raspberry Pi 512MB version revision 2 running raspbmc to play my MTS files without freeze/rebuffering. One solution was to overclock the Arm processor to 1000MHz, but then I struggled to find a way to get the CPU temperature down. The […]

Read More
Linux

Disable Windows super key in Ubuntu

I am running a virtualized Windows 8 installation on VMware Worlstation in Ubuntu 12.10 and this can be confusing since the window manager uses the same key as my Windows machine to open the launcher. Therefore I use to disable the super key in Ubuntu so that only my Windows machine responds to the key. […]

Read More
Linux

Howto mount UDF ISO-13346 ISO file in Ubuntu

This is just a short note on how you can mount a UDF ISO-file in a Ubuntu console window. # sudo mount -t udf,iso13346 -o loop ISO-filename.iso mountpoint Remember to create the mountpoint folder before you try to mount the ISO file.

Read More
Scripting

Script to delete files listed in a file

This is a short one liner bash script to delete files in a file. The script also handles filenames with space in them. $ while read file; do rm “$file”; done < filename.txt To generate a filename.txt file by searching for a specific pattern you can use the following command $ find / -type f […]

Read More