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
Tuesday, April 3, 2007
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
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
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!
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.
Amino Acid Translation
While browsing NCBI's protein section of genome sequences, many of the protein amino acid sequences are in a cryptic one-letter code form, for example:
mapkksttkt
So, in order to make my reading experience a little more enjoyable, I've created a small program to translate that into a more readable sequence form, i.e.:
met- ala- pro- lys- lys-
Executable is available here: http://www.box.net/public/yyfm1c0yz6
Source in C++ is here: http://www.box.net/public/v7sy390g2e
mapkksttkt
So, in order to make my reading experience a little more enjoyable, I've created a small program to translate that into a more readable sequence form, i.e.:
met- ala- pro- lys- lys-
Executable is available here: http://www.box.net/public/yyfm1c0yz6
Source in C++ is here: http://www.box.net/public/v7sy390g2e
Sunday, December 10, 2006
Fruity Loops
I'm back again! A bit of fooling around with FL Studio 6 came up with the following clips:
Adelix's Nightmare
Sum Of Lore
I'll admit, they're both pretty mediocre, but...
Adelix's Nightmare
Sum Of Lore
I'll admit, they're both pretty mediocre, but...
Subscribe to:
Posts (Atom)