Software Developer. Computer Geek. INTJ.

Month April 2011

Bash General-Purpose Yes/No Prompt Function (“ask”)

This is a general-purpose function to ask Yes/No questions in Bash, either with or without a default answer. It keeps repeating the question until it gets a valid answer.

Connecting PHP to Microsoft SQL Server on Linux

Here is how to get PHP 5.2 on Linux (specifically Debian/Ubuntu) talking to a Microsoft SQL Server database

Slightly larger font in Google Reader

Sets font size to 116% (about 15px) and line height to 1.4 in Google Reader. Only affects the content column, not the subscriptions list, but includes the post titles in list view. /* ==UserStyle== @name Slightly larger font in Google…

Grey out completed tasks in TeuxDeux

Make completed TeuxDeux tasks turn grey immediately (instead of waiting until the following day), so they’re less noticable than those not completed yet.

© 2021 Dave James Miller — Powered by WordPress

Theme by Anders NorenUp ↑