RAID Calculator
http://www.ibeast.com/content/tools/RaidCalc/RaidCalc.asp
http://www.icc-usa.com/raid-calculator.asp
bash shell tips for filenames
# remove empty files
rm -f $(find . -empty)
# change all filenames from upper to lower case
rename 'y/A-Z/a-z/' *
# change all filenames from spaces to underscores
find -name "* *" -type f | rename 's/ /_/g'
lighttpd – enable or disable directory listing individually
Edit lighttpd.conf
Note: You may also remove (|$|/) to allow a wildcard|||
Enable directory listing for /foldername/
$HTTP[“url”] =~ “^/foldername(|$|/)|” { dir-listing.activate = “enable” }
OR
Disable directory listing for /foldername/
$HTTP[“url”] =~ “^/foldername(|$|/)|” {dir-listing.activate = “disable” }
#Restart lighttpd
$ /etc/init.d/lighttpd restart
Source:
http://www.cyberciti.biz/tips/howto-lighttpd-enable-disable-directory-listing.html
Hiren’s Boot CD
http://mirror.leaseweb.com/hirensbootcd/
Convert .mid to .mp3 with Debian Linux with timidity/fluidsynth and twolame encoder
Install timidity and twolame
$ aptitude install timidity twolame
$ timidity file.mid -Ow -o - | twolame -b 256 -r - file.mp3
---------------------------------------------------------
Input Filename: STDIN
Output Filename: file.mp3
Raw input format: 2 channels, 16-bit, 44100 Hz
---------------------------------------------------------
LibTwoLame 0.3.12 (http://www.twolame.org)
Input : 44100 Hz, 2 channels
Output: 44100 Hz, Stereo
256 kbps CBR MPEG-1 Layer II psycho model=3
[De-emph:Off Copyright:No Original:Yes]
[Padding:Off CRC:Off Energy:Off ]
---------------------------------------------------------
Playing file.mid
MIDI file: file.mid
Format: 1 Tracks: 8 Divisions: 384
Track name: Guitar 1
Track name: Guitar 2
Track name: Guitar 3
Track name: Piano
Track name: Synth
Track name: Bass
Track name: Drums
Encoding frame: 7788Playing time: ~210 seconds
Notes cut: 0
Notes lost totally: 0
Encoding frame: 8976
Encoding Finished.
Total bytes written: 7.77 MB.
or
Install fluidsynth and twolame
$ aptitude install fluidsynth twolame
$ fluidsynth -l -T raw -F - /usr/share/sounds/sf2/FluidR3_GM.sf2
file.mid | twolame -b 256 -r - file.mp3
---------------------------------------------------------
Input Filename: STDIN
Output Filename: file.mp3
Raw input format: 2 channels, 16-bit, 44100 Hz
---------------------------------------------------------
LibTwoLame 0.3.12 (http://www.twolame.org)
Input : 44100 Hz, 2 channels
Output: 44100 Hz, Stereo
256 kbps CBR MPEG-1 Layer II psycho model=3
[De-emph:Off Copyright:No Original:Yes]
[Padding:Off CRC:Off Energy:Off ]
---------------------------------------------------------
Encoding frame: 8976
Encoding Finished.
Total bytes written: 7.77 MB.
NTP Time servers
0.pool.ntp.org
1.pool.ntp.org
2.pool.ntp.org
3.pool.ntp.org
The NTP Pool DNS system automatically picks time servers which are geographically close for you, but if you want to choose explicitly, there are sub-zones of pool.ntp.org. The “continent†ones are:
Area: HostName:
Worldwide pool.ntp.org
Asia asia.pool.ntp.org
Europe europe.pool.ntp.org
North America north-america.pool.ntp.org
Oceania oceania.pool.ntp.org
South America south america.pool.ntp.org
Also, from NIST time servers:
time.nist.gov
nist1-sj.ustiming.org
nist1-la.ustiming.org
utcnist.colorado.edu
utcnist2.colorado.edu
Reference:
http://support.ntp.org/bin/view/Servers/NTPPoolServers
 http://tf.nist.gov/tf-cgi/servers.cgi
hosts.allow and hosts.deny
To restrict access to your Unix or Linux machine, you must modify the
/etc/hosts.allow and /etc/host.deny files. These files are used by the
tcpd (tcp wrapper) and sshd programs to decide whether or not to accept
a connection coming in from another IP address. Restrict access to only
those network addresses you are certain should be allowed access. The
following two example files allow connections from any address in the
cracker.com network domain, but no others.
/etc/hosts.allow
Using the configuration shown in the following /etc/hosts.allow file, to
permit connections to any services protected by the tcpd or sshd from
only systems within the virginia.edu domain:
#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the ‘/usr/sbin/tcpd’ server.
#
# Only allow connections within the virginia.edu domain.
ALL: .cracker.com
/etc/hosts.deny
Suggested: /etc/hosts.deny file content. With this configuration, access
to your machine from all hosts is denied, except for those specified in
hosts.allow.
#
# hosts.deny This file describes the names of the hosts which are
# *not* allowed to use the local INET services, as
decided
# by the ‘/usr/sbin/tcpd’ server.
#
# deny all by default, only allowing hosts or domains listed in
hosts.allow.
ALL: ALL
Reference: http://its.virginia.edu/unixsys/sec/hosts.html
John The Ripper
Install or compile john the ripper binaries for your OS
Using John the Ripper password cracker, version 1.7.3.1
format of the file to be tested:
user:passwordhashtype – e.g. root:5f4dcc3b5aa765d61d8327deb882cf99
`john` doesn’t get the hashtype correct for MD5, so we need to use –format
–format=NAME             force hash type NAME: DES/BSDI/MD5/BF/AFS/LM/NT/mscash/NETLM/NETNTLM/bfegg/DOMINOSEC/lotus5/raw-MD5/raw-sha1/IPB2/nsldap/openssha/HDAA
$ john root-md5.txt --format=raw-MD5 Loaded 1 password hash (Raw MD5 [raw-md5]) password (root)
guesses: 1Â time: 0:00:00:00 100% (2)Â c/s: 81100Â trying: 12345 - gandalf
Also, online md5 databases reverse lookups are possible.
References:
http://www.netmd5crack.com/cracker
Building your first Windows Metro style app using C#, C++, or Visual Basic
http://msdn.microsoft.com/en-us/library/windows/apps/br211380.aspx
DSL Report Mobile Speed Test
http://www.dslreports.com/mspeed?t=1&s=1024&w=