Category Archives: Geek Stuff

A simple Clipboard/Drag-and-Drop Test Tool

While working on one of my projects, I found myself needing to inspect a raw, “all offered mimetypes” view of what was on the clipboard. I remembered that I used to do so using some PyGTK demos, but they were … Continue reading

Posted in Geek Stuff | Leave a comment

Embedding the DPMI Extender for your Open Watcom C/C++ EXE (And Related Knowledge)

Sooner or later, everyone who plays around with 32-bit DOS programming using Open Watcom C/C++ is probably going to see one of these errors when they try to run their programs: I don’t know if there are other causes for … Continue reading

Posted in Geek Stuff | Leave a comment

Helper for Finding Python 2.x Scripts Still To Be Ported

I’ve written a lot of little scripts over the years, and it’d be nice to be able to migrate to Kubuntu 20.04 LTS when it comes out, so I decided to write a little helper to find creations of mine … Continue reading

Posted in Geek Stuff | Leave a comment

New QuickTile Release… Finally!

For those who follow my programming projects, you may be familiar with the name QuickTile. It’s my most popular project and, in short, it adds hotkeys to your existing X11 window manager to make it easy to tile windows in … Continue reading

Posted in Geek Stuff | Leave a comment

A virtualenv indicator that works everywhere

NOTE: While none of the significant elements of this approach require zsh, the formatting syntax and mechanism for updating a prompt dynamically differ between zsh and bash. See the end for a version with zsh-specific bits stripped out. For a … Continue reading

Posted in Geek Stuff | Leave a comment

How to skip the fortune command when your shell is slow to start

A.K.A. How to get and compare timestamps without external commands in shell script (and without even invoking subshells in Zsh) I love the fortune command. It’s a charming little addition to each new tab I open… until something (like a … Continue reading

Posted in Geek Stuff | Leave a comment

On-Demand Loading for your .zshrc or .bashrc

Recently, I’ve been trying to make my coding environment snappier, and one thing I was never happy with was how slow my .zshrc is. Now, don’t get me wrong, I’m not one of those people using oh-my-zsh with a ton … Continue reading

Posted in Geek Stuff | Leave a comment