Bash Blogger (bblog)
Bash Blogger is a small, bash-powered, weblog engine. It generates valid, semantic, XHTML 1.1 , static webpages styled with a single CSS for layout and appearance without relying on popular, server-side scripting languages (i.e. Perl, Python, PHP, ASP, SSI, etc.).
Why program in the shell instead of (Perl, Python, etc)?
You may not have Perl, PHP or any number of the other scripting languages available on your hosting provider. It's a fairly safe bet that if you have shell access to your account, you can use Bash Blogger.
ripdvd
Ripdvd is a bash script I wrote to add a nicer front-end to MEncoder to make a single-pass DivX encoded movie file. The script is pretty self-explanatory but before you email me complaining how it doesn't work right ensure you have MEncoder and all of the associated encoding libraries installed first. There's fairly detailed instructions available at MPlayerHQ .
Body Fat Calculator
The body fat calculator is the first original C program I ever wrote. It's not very impressive. I keep it around soley for nostalgia's sake.
The tarball contains the source code and an x86 compiled binary. It was compiled against libc6 and I honestly don't remeber which version of gcc anymore.
Weather.com current conditions
This is a shell script that takes a U.S. zipcode on input and retrieves the current weather conditions from weather.com.
This should work until weather.com changes their site layout, as the script works on screen scraping via wget and sed.
Weather.sh 4 KB
Additionally, I have another script that polls the NOAA using a US zipcode on input.
This should be slightly more reliable than the weather.com script and it also will pull the latest radar image and show it to you if you have imagemagick installed.
This script is also slightly smaller than the weather.com script.
Weather-NOAA.sh 4 KB
Add Grimthing dot com to your firefox search box
I'm sure that I'm the only one that'll use these plugins. That's fine by me. With all of the hardware failure I've had in the last few years, it's nice to have one place to keep the odd search plugins I'll use.
If you're interested in making your own search plugins, there's a good walkthrough over at libdev .
Grimthing Dashboard Widget
Since I seem to be getting a steady stream of Mac viewers, I thought I'd whip up an RSS reader widget for Dashboard. This is an early edition, I already have plans on changing the way it's laid out, but no too shabby for something I threw together in an hour.
Just to give you an idea, this is what you'll be presented with once the widget is installed. As I mentioned, it's not much, but it's only version 1.0. I'll have a new version up, hopefully, in the not too distant future.
Grimthing Dashboard Widget 152K .sit archive
Calendar
Su M T W Th F S
1 2 3 4
5 6
7 8 9 10
11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
I wrote a little script that parses my $HOME/.calendar/calendar file for upcoming events and generates a calendar suitable for including on webpages. The calendar to the left is an example of its output.
Events are shown with acronym tags on the day the event occurs. So far, I've only tested with one event per day. The weekend days are set with a CSS class, so if you want to modify your weekends to look differently you can. Also, the current day is set with a CSS id, so you can have it highlight the current day.
The script uses gnu sed, cal, date and CSS for appearance.
Schedule.tar.gz
Wallpapers
Stuff I and my wife made
Please feel free to download these wallpapers for your personal use. You may use them on your website(s) as a background, or re-distribute them, or incorporate them into images of your own, as long as, you give credit.
By "giving credit" I mean a text link to grimthing.com would suffice or even a little blurb, "images provided courtesy of grimthing.com". Aside from that, I don't really care and there's not much I can do to stop you.
However, do not "hot-link " any of these images. I pay for the webspace and the bandwidth. Hell, I'm giving these things away for free, the least you can do is respect my wishes and upload them to your own server.
OS Visual Quick-Reference
Fortunes
Every so often I write fortune files for use with the fortune program. For those of you who aren't aware, the fortune program radomly selects fortunes (proverbs, quotes, witty sayings) when run. It's handy for sprucing up your email signature, inspiration when you're down, or for when you're really bored.
If you have absolutely no idea how this could be useful, or you would like more suggestions, or you're wondering how to make your own fortune files, read Fun with Fortunes .
Fortunes