Aug 31

You can get further information about entropy here.
Here is code of my program entropy.cpp: Read More


Aug 30

dd is a great tool for low-level copying and conversion of raw data. It can be also used for data erasure. Unfortunately, it doesn’t show any information about progress of copying.
Here is my little, but useful script:

1
2
3
4
5
6
7
8
9
10
#!/bin/bash 
# dd.sh Author: Wojtek Jamrozy (www.wojtekrj.net)
 
dd $* & pid=$!
sleep 10
 
while [ -e "/proc/$pid" ] ; do
	kill -USR1 $pid 
	sleep 10
done

Read More


Aug 29

Here is a Perl regular expression using Perl 5.10 extensions (this is a finite state automaton):

^(?&s)(?(DEFINE)
 (?<s>([0369](?&z)|[147](?&j)|[258](?&d)))
 (?<z>($|[0369](?&z)|[147](?&j)|[258](?&d)))
 (?<j>([0369](?&j)|[147](?&d)|[258](?&z)))
 (?<d>([0369](?&d)|[147](?&z)|[258](?&j))))
 
</d></j></z></s>

Read More


Aug 29

Film: W mroku pod schodami/The People Under the Stairs – horror, 1991, USA

Read More


Aug 28

Czarne chmury, rok produkcji 1973, Polska.

Read More


Switch to our mobile site