I just installed the homebrew package bash_completion, hoping to get completion on my SSH commands. Unfortunately, I also use my /etc/hosts file as an ad blocker. This results in bash completion completing my ssh hostnames with a ton of ad servers that I...

I have a folder consisting of a mix of files and subdirectories, on OS X. I'm looking for a one-line script to set the execute permission bit only on all subfolders/subdirectories, without setting all the normal files to executable as well.
The usual chmod...

There is a touch button / media key on the Dell Studio XPS that disables all wireless devices onboard, including WiFi. This stupid button is located immediately above the F8 key on my Studio XPS model, and I constantly hit it on my way to the function keys...

At some point my Ubuntu installation's crontab decided to use nano as its default editor, despite my having switched it to emacs.
Upon using crontab -e, I get dropped into nano. On completion of the edit, the shell reports: "/usr/bin/sensible-editor: 25...

I am looking for a simple regex or text-matching based method to filter emails on my Postfix server. For the most part, my server does not get any spam, so there is no need for a heavy-duty antispam solution. On the other hand, there is just one very persistent...

So I have an AirDisk set up on my Apple AirPort Extreme router. As I occasionally travel, I'd like to access my AirDisk from the WAN or general Internet. On the other hand, I'd rather not expose the Apple Filing Sharing port 548 over the WAN via the AirPort...

The default soundset that Outlook ships with is too muted. I would like to import the old Entourage 2008 sound set into Office 2011. I looked in ~/Documents/Microsoft User Data/Entourage Sound Sets, but did not find the Default sound set there.

I managed to get a version of proxychains running on OS X 10.6, after fixing all of its weird library load errors (due to hard-coded library paths in proxychains/proxyresolv's wrapper scripts). Unfortunately, though it correctly connects to an external DNS...

I have a Ubuntu-based Trac installation covering two SVN repositories. Having to share a single Subversion repository with different teams, who shouldn't have access to the other team's code, I had to activate fine-grained permissions using htpasswd and mod_authz_svn...

When compiling an iPhone app project, a controller XIB file reports an error "Pattern colors are not supported by the iPhone SDK for iPhone OS versions prior to 3.0". The Xcode Project deployment target is set to compile for iPhone OS 3.x or 4.x, so this really...

When playing Romance of the Three Kingdoms XI on my Windows 7 laptop on full screen, maximum resolution, the introductory movies and cutscenes play as black screens. The audio still works, and the cursor is normal, but no video is shown.
The movies display...

When attempting to load JSTOR, SpringerLink, or Informaworld citations using the address bar button in Zotero 2.03, the citation is not added. Checking the JavaScript error console reports an error of "line.replace is not a function" from the relevant site...

I purchased a SparkLAN WUBR-505N dual band USB WiFi adapter, which claimed to do 802.11 a/b/g/n, for my Powerbook G4. This card is using the Ralink RT 2870, which is a dual band chipset with fairly nice Mac OS X drivers provided by Ralink. I plugged it in...

I have a package shipping from Amazon using their SuperSaver shipping method. A USPS tracking number was issued, but using the USPS online package tracking system always reports "There is no record of this item".
It has been several days, and still the Post...

The Steam version of Napoleon: Total War ships with a PDF manual. Unfortunately, it has a giant "SEGA" watermark over most of its pages, making the text difficult to read.
Looking for a reasonably easy way to remove the SEGA watermark. From viewing it, it...

I want to build the _bsddo.so module for my Python install, and link it to an installation of BerkeleyDB 4.8 on my OS X 10.6 machine. OS X 10.6 comes with Python 2.6 and a stock bsddb module, but does not ship the actual binary _bsddb.so, which makes the entire...

When I use UltraSphinx, the Ruby API to the Sphinx full-text search engine, queries with certain special characters such as colons (:), at signs (@), and other reserved characters throw an Ultrasphinx::UsageError exception in my query interface.
For example...