Pdfsearch

Pdfsearch creates a database out of PDF files and enables you to search from multiple PDF files simultaneously.

First, PDF files are converted to plain texts, with the aid of pdftotext and inserted to a SQLite database. After the database is created, you can query it and find the files where the queried string exists.

Pdfsearch and pdfsearch.exe are packed with PAR::Packer's pp tool and for these, you will need only the pdftotext tool, which needs to be in PATH. Running these packed versions first time in a session will be slow.
Additionally, for pdfsearch.pl, you may need to install DBD::SQLite, File::Which and File::Find::Rule modules.

Example usage:

$ ./pdfsearch.pl -f/ -i

Creates(or updates) a database searching PDF files from the entire disk.

$ perl pdfsearch.pl -d/pdf/only_some.db -f/manuals,/pdf -r1 -i

Creates(or updates) the specified database, searching files from /manuals and /pdf, not recursing any deeper.

> pdfsearch.exe -vm3q"%search term%"

Queries the database printing part of the matching text and discontinuing after three matches.

Shelldice

A simple dice roller, which a friend of mine wished for, for RPGs. I made a command line version, partly because I have no experience on GUI programming, but really, what advantage a graphical interface has over textual for this kind of use? I think it's a clumsy and unflexible way. He didn't share my view.

Edit: I just had to try to make a gui one too. There are different files for *nix and Windows. If you want to hear the awesome sounds, store the wav file in same directory. I'm not particularly proud of the code.

FocusOnForm

I like to keep my hands on keyboard most of the time, touching mouse as seldom as possible. This is a userscript for Greasemonkey addon for Firefox. It lets you focus the cursor to the first input box on a page, by keyboard. Just hit the '¤' key(at least on my keyboard, try changing the number in source file, if it doesn't work for you). It works most of the time. On a TODO list is to change it to keep focusing on the next box, and maybe previous. There are also bindings for focusing on the next('§') and the previous('½') link on a page.

You can check md5sums or sha512sums of the above files. Sums are signed with my PGP key.

Send bugs or any comments to:

j u k k l a i t @ s a u n a l a h t i . f i