Initially, I wrote this script to give me frequent feedback on the signal strength. This is useful when adjusting antennas to that sweet spot that give stronger signals; especially if you’re testing some homemade tinfoil parabolic reflectors! 😉 If you have a portable wireless device, like a netbook, you can ssh into your (wireless) desktop… Continue reading Script: Wireless Strength Polling/Logging/Graphing
Tag: Code
File List Applet – GNOME Panel Applet
This is kind of a proof of concept I’ve been playing with. The idea is that finding a file within a folder is often easier by type, and you are often only interested in the most recently modified file. The problem with a file manager is that although you can easily sort by either type… Continue reading File List Applet – GNOME Panel Applet
open-with for the command-line
Update 2008/11/18: Use xargs 😛 Here’s a bash script that you can pipe output into and tell it to run a specific program with the output as arguments. I’ve named it open-with and placed it in my personal script directory: /home/steve/bin/. Look within the script at a couple of the examples for how to use… Continue reading open-with for the command-line
WordPress Upgrade Script
Even though the WordPress upgrade is easy, it’s troublesome. So I wrote a script to do it for me. Yep. There’s lots of these out there. And a lot of hosts (including mine) have a one-click install/update thing. But for some reason, I decided to write my own script. In python. Got to use a… Continue reading WordPress Upgrade Script
python treeview toggle
Had this post sitting around. Seems finished. May be helpful to someone. /me waves Wand of Publish +1 I was confused when I was playing around with this basic concept: adding a toggle widget to the treeview in pygtk. The reason for this is an inconsistency in the api model – or at least how… Continue reading python treeview toggle
AttrDict Python Module
I’ve been doing quite a bit of Python hacking in my recent free time. A couple days ago, I had the desire for a dictionary that I could access key values just like object attribute names. For example, in the dictionary d={‘key’:’value’}, I wanted to be able to use d.key to return ‘value’. I thought… Continue reading AttrDict Python Module
Snakes in an Office
I’ve mentioned before that my job (whose contract is almost up) doesn’t require programming. But that doesn’t mean that programming is not useful. When I first got my laptop, I asked the tech guy about the process of installing new software. It went something like this: Write a formal request for the software you would… Continue reading Snakes in an Office
EXIF.py and Image Orientation
I was really puzzled… and in fact, I’m still puzzled, but at least it works now. Update: I’m a bit less puzzled now. I wasn’t using the correct version of EXIF.py (see comments). This post has been updated to correct any information. I also updated the CODE style because posting python code when whitespace is… Continue reading EXIF.py and Image Orientation
How to open a folder with the default file-manager in mono/C#
using System.Diagnostics; … Process.Start (“file:///home/”); Did a bit of IRC channel ping-pong today. Went over to #f-spot to ask a user-related question about f-spot, and got pulled in by curiosity on a totally unrelated topic: opening a folder with the default file-manager. Initiated some discussion on #mono and discovered this was, in fact, not trivial… Continue reading How to open a folder with the default file-manager in mono/C#