..
Random fun code

4pallo.c

 4pallo.c: Makes a string cycles inside a buffer.

 Una noiosa notte di Giugno 2003, By Alpt
 Aggiornato il Tue Mar 28 11:24:58 CEST 2006

akl

#!/bin/gawk -f
#
# 			Automatic keyboard layout
#		http://www.freaknet.org/alpt/src/misc/akl/akl.awk
#
# --
#
# A program which, given a text as input, computes the most efficient keyboard
# layout for the given text.
#
# "Most efficient keyboard layout" means a layout which permits to write the
# given text in the fastest and easiest way. 
#
# *** Usage
#
# 	./akl.awk < input | less -R
[...]

bznull.sh

 bznull.sh:
 with this script you can compress the VOID into a file of N gb.
 It first compresses the file `null' using bzip2, then it compresses the .bz2
 file using gzip, then using rar, finally using zip.
 The whole process is reiterated `N+1'# times.

 Launch this script as follow in a temporary directory:
  mkdir temp_dir
  cp bznull.sh temp_dir/
  cd temp_dir/
  ./bznull.sh 5 > /dev/null

 If the first argument to bznull.sh is `N', the number of iteration.

 --
[...]

delicursion.py

                     The Land of Delicursion
                    ---------------------------
 	  http://freaknet.org/alpt/src/misc/delicursion.py


 This text is both a history of the remote land of Delicursion and the Key
 to access to any of its mesmerizing places.

 Let thou be warned first: no stack-less people have ever crossed the gate of
 Delicursion!

 ** History

 As everything that has no end and beginning, Delicursion was there,
 unexplored and untamed. Free in its vast hash space...

[...]

diu_graph.sh

 			diu_graph.sh

 Del.icio.us graph generator
 http://freaknet.org/alpt/src/misc/diu_graph.sh

 --

 This script retrieves your Del.icio.us bookmarks and generates a graph of
 your tags.

 Two tags are considered connected if they belong to the same URL.
 Two URLs are connected if they share at least one tag.

 Note that if you have more than 200 tags, the graph maybe VERY BIG.
 Use http://zvtm.sourceforge.net/zgrviewer.html to view it.
[...]

evolvotron_complexity

BEGIN#
 			Evolvotron_complexity
	http://freaknet.org/alpt/src/misc/evolvotron_complexity


 This script is based on `evolvotron' a wonderful program which mutates
 algorithmically generated images. You can get it here:
 http://www.bottlenose.demon.co.uk/share/evolvotron/index.htm

 This script mutates an initial random image in only one direction, that of
 the minimum redundancy, or in another words that of the maximum complexity.

 *** Usage

	evolvotron_complexity [new [function.xml]]
	evolvotron_complexity [frame_number]
[...]

fx

echo "define f(x) { return f(x)^f(x) }; f(1)" | bc

ganim.sh

A gnuplot animation

genetolia

			The Freaknet insanely presents:
			 	)- Genetolia -(

--

GO! Don't hesitate! You are losing your time, do something for your land
the war is destroying the people.
It's a fatal destiny. You are the only hope for this world,
go mighty warrior, find the Emerald Sword and brought the peace.

--

Ok, so this is a fucking irc bot which connects to Anatolia (freaknet.org 6001).
Query it, play in anatolia. Simple and dumb!
What the hell do you want more?

[...]

index.html


..
Random fun code

kngraph.sh

 kngraph.sh
 http://freaknet.org/alpt/src/misc/kngraph.sh

 --
 Generates a Complete Graph

 This script depends on Graphviz: http://www.graphviz.org/

 AlpT (@freaknet.org)

loop_hash.c

 loop_hash.c:

 This program is used to verify brutally this problem:
 We have a 32bit hash function f():
 	h=start=random_number
 	we take h=f(h); where `h' is a 32bit number.
 In less than 2^32 steps is it possible that `h' is equal to `start'?

 Usage:
 	gcc loop_hash.c -o lh
 	./lh `echo $RANDOM`

 By AlpT (@freaknet.org)
 Fri Nov 18 21:15:08 CET 2005

napa.sh

 Napa.sh: Efficient and secure web server. By AlpT (@freaknet.org)

neve.c

 by AlpT

pencil

Pencil.c is a filter plugin for Freej.

rand_range.c

include 
include 
include 
include 

randmail.pl

 randmail.pl:
 it will send a random mail on a random date to a random person.
 You must have `at' installed.

 Fri Mar 24 11:54:44 CET 2006
 -  AlpT (@freaknet.org)

 thanks to Arfalas, you're my Muse ;*
 Configure this filename. In it you shall put a plain list of email addresses
 (one per line) or a list of alias in the mutt style
 (i.e. "alias foo bar "

readme


recursione

echo che mondo sarebbe senza $(./recursione)?

rnd.c

 AlpT 

 This source code is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License as published
 by the Free Software Foundation; either version 2 of the License,
 or (at your option) any later version.

 This source code is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 Please refer to the GNU Public License for more details.

 You should have received a copy of the GNU Public License along with
 this source code; if not, write to:
 Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

sucast

			  SUCAST
	  http://freaknet.org/alpt/src/misc/sucast/	


A collective-web-streaming-server written in ~60 lines of shell script, during 
the Italian hackmeeting 2007.

Sucast shows a list of available video/audio files. When a client clicks on a
link, the relative file will be opened with mplayer.

The best way to use sucast is launching it inside rwm
  http://www.freaknet.org/alpt/src/patches/rwm
As result, any user will be able to play its video: a new mplayer window will
be opened, the screen will be divided equally, while each window tries to
occupy the greatest available space.

[...]

tappeto.sh

				 tappeto.sh

		 http://freaknet.org/alpt/src/misc/tappeto.sh

 --

 Optical illusion: is the string shifting to the left or to the right?

 Tip: If you can't notice the illusion, try to concentrate on an extremity of
      the string, than after 10 seconds watch the other extremity.

 --

 Tue Aug 29 22:01:08 CEST 2006 - Mazara Del Vallo

[...]

wave.c

 Wed Mar 22 04:08:39 CET 2006
 gcc -lm wave.c
 AlpT

zlib7_iocc

    
    Zlib7 compresses a file of X size to a specified Y size,
    that cannot be greater than 28 bytes. That's all. 
    
    The idea is simple: we keep only the hash of the data we want to compress 
    (SHA1 digest), then, when we need to decompress it, we generate random 
    data of the same size of the compressed one, and we
    hash it.  When we have the same hash, we've decompressed it ;)
    
    Surely the zlib7's compression requires A LOT of cpu power, but it is mainly
    designed for the year 2500, after the IV World War, when the 
    quantum computer will be the standard.
    
    But what if the user wants to compress the data to a specified size?
    Well, it's possible. We just keep some bytes in the saved compressed file,
    the rest is the hash of the discarded ones. 
[...]

--
Generated by comment2html.sh