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”

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”

Time Machine for Linux – Bash and Rsync

Recently i made “the switch”! Not in the way you might imagine though. Ever since 2003 i have been a passionate mac user. I still use macs at home and work and am still passionate about them.

Before 2003 i was playing a lot of games. Linux was and is something that i have been working/playing around with since 1996. To make a long story short: I wanted to use Linux and also play games (read dual boot linux/windows). The price tags on new macs ware also something that got me thinking about building a new shiny i7 based PC.

I am now back on a PC with Ubuntu Linux 9.04 and Windows 7. So far so god. One thing that i enjoy with Linux is that i am able to customize it to my needs. With Linux now being my primary OS (by choice) i had to fix some kind of backup for photos and all that other stuff on my PC that i would not like to loose in case of an accident. The first thing that came to my mind was rsync.

I used rsync to mirror my files on to an usb-disk. But after a few days i started to miss Time Machine which i was using when i had a Mac as my primary computer at home. Just mirroring files was not enough to give me that warm and cozy feeling. I needed to go back in time! Continue reading “Time Machine for Linux – Bash and Rsync”

Updated: Ubuntu 9.04 on the Asus Eee Pc 1000H with ACPI and WiFi/Wlan working

This article should also apply on the newly released 1000HE and maybe the 900 series of EEE Computers. If you can verify that this is the case please let me know.

A few days ago I got myself the Eee Pc 1000H from Asus. My first impression about the hardware is that the build quality surpasses my expectations. After a day or two of typing on the 1000H-keyboard I have gotten very used to it and type as fast as on a normal sized keyboard. The screen is great to.

Since memory nowadays is so cheap I purchased a 2 GB SO-DIMM DDR2 module from Corsair. Product number is VS2GSDS667D2. The memory from Corsair works without any problems. I guess that it is not necessary to have 2 gigabytes of memory to run Ubuntu but a large file cache will speed things up.

On to the installation of Ubuntu 9.04: Continue reading “Updated: Ubuntu 9.04 on the Asus Eee Pc 1000H with ACPI and WiFi/Wlan working”