A Script A Day – WhatIs – Day 03/05

Day 3’s script: `whatis`: A wikipedia summary lookup.  It’s operation is pretty straightforward, you give it a search to do and it’ll perform the lookup for you.  If you hit a redirect it should follow it, at least as of time of writing this. (Edit whatis_extract.xsl in the resources directory if it breaks.) (more…)

A Script A Day – Day 02/05

Continuing along, day 2’s task was to get stock quotes.  Usually a pretty simple task once you find a data source to use.  I settled on using YQL to query Yahoo Finance.  This one has a few requirements (wget, hexdump, xsltproc) as bash is a bit limited.


A Script A Day – Day 01/05

I had an idea for a programming self-challenge.  From Monday, Sept 1st to Friday, Sept 5th: I’ll write a new script each day.  The goal should be simple enough to solve in one day, but not so boring I’d feel dumb writing about making it.  I’ll likely be sticking to business logic type goals, as I don’t actually enjoy algorithmic challenges as much.  Now if a practical goal requires a decent algorithm, then so be it.


Script Encrypt

Have you ever wanted to encrypt a script so that it could only be run with the correct password?  Chances are… probably not.  However, in the off chance that you have, and your script is perfectly happy being piped through it’s interpreter (* See note below), then this script might work for you.  I make no guarantees or claims about how secure it might be, and it requires openssl to be installed to work. You can view the code or download it yourself at my BitBucket repo for Script Encrypt. (more…)

Touhou Music DB

I’ve finally made an update to the Touhou Music database.  New version includes album art for a sizable portion of the albums in the database and distinguishes circle from artist.  Everything but search is faster. With releases of the touhou lossy music collection slowing (or possibly stopped entirely) I may need to find new sources of data.  At any rate, this version carries over the old version’s automatic youtube search functionality as well, though JavaScript is now required for it so I can have it load asynchronously.

Wanna check it out?  Click this friendly little link here: Touhou Music DB