I’ve been using the WordPress plugin “developer formatter” for years and it worked pretty good … for a while. Unfortunately it stopped being developed sometime in 2008, which was OK since it did everything I wanted and worked fine. Unfortunately months later I noticed that the plugin broke the visual editor for new posting in [...]
Category > Uncategorized
Controlling SSH identities
SSH has a few strange undocumented “features”. One of which is the way it handles identities via agent and command line. It is possible to specify an identity file to use for ssh via the -i parameter (ssh -i identity_file $host). What the manpage doesn’t mention, is that the specified identity isn’t forced for the [...]
a bit of Baking
Wife did some baking tonight, so I whipped out the camera and took some shots. Unfortunately I noticed that the flash hot shoe seems to have gone unresponsive after a fall a few weeks ago, but using the built-in flash as a commander to control an off-camera flash still works fine.
Ubuntu upgrade to 10.04 and lirc
Ubuntu 10.04 (lucid) came out a short while ago … and because it contained new themes and the latest version of mythtv, I went and upgraded. These updates are tested by gazillions of people, any serious problems would be noticed before release .. right? right?
Well, looks like I did it again. Turned a [...]
Reboot Script for Linksys WAP200 access points
Since the Linksys WAP200 has a tendency to hang and not let any users connect anymore, this little script to reboot an accesspoint (webinterface still works fine). Replace user and password with correct values.
Select All Code:1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
if [[ "$#" == "1" ]]
then
nc -w1 -z $1 443
if [[ "$?" == "0" ]]
then
wget -q -O – –user=foouser –password=foopass [...]



