|
|
||
| Main | Articles/Papers | Projects | Multiplayer Cheat | MP3 Trade | Fun Stuff | Links | About... |
|
|
|
|||
| Huffman code algorithm implementation | |||
|
Platform: any C compiler |
Description: Very simple Huffman code implementation in C. Unfinished, but may be useful to lazy Computer Science students and those who want to write their own ass-kickin' file archiver ;)
|
||
|
Download: huff.c [2.8 Kb] |
|||
| Project last updated: 26 Jan 2002 | |||
| Internet Explorer Mask'O'Matic 1.0 | |||
|
Platform: Perl script |
Description: Had you ever seen that images which you select in Internet Explorer and something different from expected appears? Like this one? Looks like an innocent Windows wallpaper, but is it so innocent? (Just press Ctrl-A when in window that opens when you click it.
If you don't use Internet Explorer, nothing appears, but it should be like
this)Well, unfortunally, I did not invented that joke; it is commonly done using Adobe Photoshop following steps somehow similar to those provided by Matt Kment. I just attempted to make the next step: to build automatic program that does all that groovy operations. I saw my buddy Lem0nHead makin' such images and just followed Matt Kment's algorithm step-by-step to do similar task with no Adobe Photoshop at all but with Perl & ImageMagickTM library. Now it is possible to make that thingies on almost any UN*X variant in a much faster way ;)P.S. - Of course not any images can be combined in this way. Ones are better, others are crap. Most images will require manual contrast tuning also. Lot of patience is required to get good results (note that sample I provided was a quick & dirty hack so you will make better ones). |
||
|
Download: MaskOMatic.pl [5.9 Kb] |
|||
| Project last updated: 02 Apr 2003 | |||
| Lingua::PT::Nums2Words 0.2 | |||
|
Platform: Perl script/any C compiler |
Description: Converte números decimais em sua forma extensa: 666 => seissentos e sessenta e seisAlgoritmo absurdamente simplificado porém perfeitamente funcional ;) P.S. - também tenho feito uma implementação em C do mesmíssimo algoritmo. Já implementações em C++, Java, Delphi, Pascal, Assembly, Cobol & Fortran ficam "à cargo do leitor", eheheh... P.P.S. - desde a versão 1.01 o módulo na CPAN está sendo mantido por Jose Alves de Castro, não compartilhando o algoritmo original! |
||
|
Download: Lingua-PT-Nums2Words-0.2.tar.gz [2.8 Kb] extenso.c [2.4 Kb] |
|||
|
Repositories: |
|||
| Project last updated: 28 May 2002 | |||
| ParseConfig | |||
|
Platform: any C compiler |
Description: Primitive parser for UN*X-like .conf files
which format can be described as:
Key Value # commentVery simple, huh? So, why to use complex parsers if your proggie have at max 20 different parameters? This one is callback-based, i.e. it parses file line-by-line and calls user-defined routine every time valid key/value pair is found. I hope you can easily trace my code. I consider it cool 'cos it have just 50 lines and so can be just Copied&Pasted in my (and yours ;) quick'n dirty programs. |
||
|
Download: parsecfg.c [886 bytes] parsecfg.h [201 bytes] |
|||
| Project last updated: 17 Feb 2001 | |||
| Text::Capitalize 0.1 | |||
|
Platform: Perl script |
Description: Provides title-like formatting for strings. Originally created to put pretty looking names to MP3 files (first-letter-uppercase). Title-like formatting consists in converting strings to lowercase and then uppercase first letters of each word. For example: KiLLiNG TiMe => Killing Time
P.S. - project now mantained by Joseph Brenner not sharing the same algorithm. |
||
|
Download: Text-Capitalize-0.1.tar.gz [1.4 Kb] |
|||
|
Repositories: |
|||
| Project last updated: 18 May 2002 | |||
| Page last modified on June 26 2004 12:55 (BRT) | ©opyLeft by SysD Destructive Labs, 1997-2006 | |
|
|
|