Josh Sherman


Coding
Life stuff
Fermentation too
Shipping fixes everything.

File Usage Reporting Script

5 min read
development
python

In retrospect on writing this Python script, I probably could have pulled it off in a short Bash script. Maybe another day. Anyway, this latest utility script of mine takes a variable number of arguments, the first being the “needle” directory. The needle directory are the files you want to […]

Smarty Function: State Drop Down

3 min read
development
php

Today is the last day I will have to dig around for a drop down of states to use on a web site. I’ve finally stopped being lazy and added a Smarty function to PICKLES to allow for easy insertion of a state (50 + DC) select box. Later enhancements […]

Using SQL’s IN syntax to search multiple fields

1 min read
development
database
mysql

This may not be something new for anyone, but figured I’d post it anyway. I needed to check for a certain date in multiple fields, instead of listing each one out, I used IN but used the value on the left side, and listed the fields in the parenthesis. Before […]

Nonogram Demo in PyGTK

9 min read
development
python
video games
video game development

So a while back I had gotten 3-in-1 Sodoku Garden on my cell phone because I like Sodoku even though I’m not that great at it. I figured, 3 games for the price of 1, wicked cool. Turns out one of the 3 games would later steal my heart. It […]

Oops, father has gone, wait for me, wait…!

1 min read
linux
pidgin

So out of the blue last night, Pidgin (version 2.5.2) crashed on me and when I tried to relaunch it, it would only stay open for a brief moment. I hadn’t done any updates to my system since my last reboot, so I couldn’t imagine it was some new busted […]