Tag Archives: linux

Converting Images to ASCII Art

I’ve been playing with Docker a lot lately. Docker is a tool for creating lightweight virtual environments based on Linux containers. They are extremely useful for running services, but you can also use them for running one-off tasks that you … Continue reading

Posted in linux | Tagged , , | 1 Comment

Enabling Hibernate Support in Ubuntu 14.04 LTS

In this article, I’ll show you how to enable hibernate support in Ubuntu 14.04 (“Trusty Tahr”) by making a “Hibernate” menu entry appear in Unity’s global system pulldown menu. The Ubuntu developers disabled this a couple of years ago because … Continue reading

Posted in linux | Tagged , | 15 Comments

Remote-Controlling a Sonos Device Using Python

I couple of months ago I bought a Sonos Play:1, a pretty cool wireless speaker that comes with free controller apps for major platforms (Android, Windows etc.). To give the speaker access to my music collection, I hooked up a … Continue reading

Posted in linux | Tagged , , , | 2 Comments

Quick Tip #6: Triggering Actions on File Close

Sometimes it’s useful to trigger an action after a file is closed. Suppose you started a lengthy download on your notebook and you want to suspend it as soon as the download is done. There are several ways to achieve … Continue reading

Posted in shell | Tagged , , , | Leave a comment

Setting Up a SOCKS Proxy Using OpenSSH

Web browsing on a public Wifi network is a security risk as it’s quite simple to capture network traffic. Even if you only connect to SSL-protected sites, people can still find out which web sites you’re accessing. Fortunately, there is … Continue reading

Posted in linux | Tagged , , | 1 Comment

Mirroring an Apt Repository

When setting up a Hadoop cluster using Debian packages, it’s often useful to work with a local mirror. In this article, I’ll walk you through creating an apt mirror for Cloudera’s Hadoop distribution.

Posted in linux | Tagged , , ,

Setting Up a Web Proxy with Squid

Setting up a Squid forward proxy can be a pretty daunting task since Squid is an extremely flexible piece of software. In this article, I’m going to provide a minimal non-caching, authenticated configuration. I have tested this with Squid 3.1.12 … Continue reading

Posted in linux | Tagged , , | 6 Comments