How to block unwanted ads and malware in all applications

*update: Wednesday, 2 March 2016. Switched back to the hosts file from http://someonewhocares.org/ because that one has a more adequate size and therefore much better performance. The file from hosts-file.net uses to much memory if you run a local resolver on your machine.

*update: Wednesday, 17 February 2016 rewrote the script with additional error checks after comment from Peter. Now there is only one script with the hosts file from http://hosts-file.net

*update: Tuesday, 16 February 2016 added another script that also cleans OS X 10.11 DNS caches and uses an even more extensive hosts file from http://hosts-file.net

Recently I compared adblock+, ghostery and a bunch of other ad blocking software in the browsers that I normally use. Most of them blocked ads really well but unfortunately all of them added quite a lot of additional CPU and memory overhead. So, despite the fact that these programs help me to speed up my browsing experience by eliminating advertisements they still slow down my browsing experience. Continue reading “How to block unwanted ads and malware in all applications”

How to disable Teredo tunneling in Windows

I have been using Windows quite a lot lately due to various reasons. One thing that always buggs me when using a Windows computer is Teredo tunneling. This post will explain why you should disable teredo and how to do it.

Continue reading “How to disable Teredo tunneling in Windows”

Check for available patches in Ubuntu via cron

I have been thinking about writing a small script that checks if there are available patches for my machines for a long time. Never got around to do it until today and it proved to be easier then I thought.
Just add the following script to your cron-tab and the system will send you email when there are patches available for your system. Continue reading “Check for available patches in Ubuntu via cron”

HOWTO: Disable pulseaudio in Ubuntu

This has been tested on Ubuntu 12.04.1 and 12.10 x86_64

I got myself a USB DAC and a set of nice headphones for Christmas. One of the main concerns was that the new hardware must work with Linux since Linux is my main OS at home. As it turns out most USB DACs work out of the box with Linux as they are standard USB compliant sound devices.

All modern Linux distributions seem to use pulseaudio as a front-end for ALSA these days. The thing that pulseaudio does is to remix all audio streams in software which is a bad thing if you have some nice audio gear that probably can do this much better.

The following explains how to uninstall pulseaudio and to configure ALSA on a per user basis. It also explains how to up-sample your audio from spotify, deadbeef, vlc and so on via ALSA.

Continue reading “HOWTO: Disable pulseaudio in Ubuntu”

Disk check script

It has been a while since my last update to this site. Now the time has come for another post. 🙂

A few days ago I visited UDS-r in Copenhagen Denmark. I met a lot of nice people and got the chance to hear about the plans for the next release of Ubuntu.

The trip to UDS was fantastic but on my way home i got mail from my server telling me that one disk had failed. Bummer! That ruined the day for me. Lost a few files because i had not taken a backup for a couple of weeks.

Continue reading “Disk check script”