Sunday, April 29, 2007

Note Taker

Seemingly pointless note taking day after day prompted me to write this program:
http://www.box.net/shared/tm7dro98a0

There's nothing magical about it - it simply ranks all the sentences in the input text and filters them accordingly. It's far from perfect, but its a useful little app anyway...

Tuesday, April 3, 2007

Sudoku I

Here is the first version of my Sudoku solver! It only solves very simple sudokus, otherwise it gives partial solutions.

It was originally supposed to be a program for my CASIO calculator, but BASIC tends to be a fickle language and it doesn't help that I get only 6 lines of code per screen.

So I ended up implementing it in C++ instead - click below for source and executable!

http://www.box.net/shared/h8872y1pv4

Saturday, March 3, 2007

Naughts and Crosses

Tic-tac-toe games have been a common computer science exercise since the 50's, so I thought, why not?

This is an associative learning tic-tac-toe AI, based on positive feedback (check back later for a complete version with negative feedback as well). After a few thousand plays, the AI should be smart enough to beat you most of the time...

http://www.box.net/public/dql7x7633e

Monday, February 26, 2007

MD5 Rainbow Tables

A few assorted MD5 brute-forcing tools:
MD5 Hash: generates an md5 digest from ASCII string.
MD5 Rainbow: generates an md5 "rainbow table".
MD5 Lookup: uses an md5 "rainbow table" to reverse lookup a string from its hash.

http://www.box.net/public/u78qrma13j

MD5Rainbow asks for a string length and a character set, for example, to generate a rainbow table for 4-letter lowercase strings:

MD5 Rainbow Generator
Length of string: 4
Character set: abcdefghijklmnopqrstuvwxyz

Tuesday, January 2, 2007

FLV Audio Extractor

Many programs that download videos from, say, YouTube or Google Video to your computer, often download them in the form of a .FLV file. A lot of times, though, we want to rip the music from that video into MP3 form, etc... so the following program does just that - extracts audio from FLV's into separate files. This is far from a consumer version, first of all it is a command-line tool!

Usage is:
FLV_AudioExtract [input] [output].

For example:
FLV_AudioExtract sample_video.flv sample_video_music.mp3

The audio format may not always be MP3 - be sure to check the "Dominant format: ..." field, it will have something like mono 22 kHz mp3, which is the audio format.

Without further ado: http://www.box.net/public/dbzb0th7qt

Also included is a tag viewer for FLV files. I'm sure it will be self-explanatory. Big thanks to http://www.osflash.org for reverse engineering the FLV format!

Friday, December 15, 2006

Yahoo! Widgets Issue



I was logging into my Yahoo! Widgets(r) notepad one day when this happened... looks like someone forgot to fill in the default names!

Actually, this has never happened again, so I suppose it was due to my choppy internet connection... oh well.