Hacks

Here are some small hacks I've made over the years (most of these are archaic), for a bit newer my dot.files repo might be more useful.

ALL hacks are licenced under the GNU GPL v3.

erc-xmmcrtl

This lite nifty one (well it aint that great) is my first lisp hack ever :) It adds both the possibility to insert into the current buffer what we are playing in XMMS aswell as an erc command to send what we are playing.
download

findpid.sh

A bash script that either takes argument one ($1) or an input as a process name to find all pids for. Well it ai'nt that wonder full but some one might like it. i wrote it to test out an idea, but I would really recommend pgrep now days.
download

simpel-lis.py

A naive way to control the L.I.S LCD, a serial driven LCD that wasn't supported by either lcdproc or lcd4linux. I was quite happy that I got it working at all
download

build-kernel.sh (v0.7)

A script I used on some systems to build the Linux kernel (2.4-2.6?), automagic detection of kernel version and arch. the grub / lilo part it wont touch that is left for you to fix. The script contains more information.
download

rss-hack.py

Fetches and parses the RSS of slashdot and shows some news in the console.
download

pingsweep.sh

shows if an list of host's is online. ex: ./pingsweep.sh foo bar biz baaz
download

find-mac.sh

tries to figure out the mac of a host (as a normal user). ex: find-mac HOST
download

hddtemp-client.pl

connects to a hddtemp daemon and prints the hdd temps. ex of output:

/dev/hda MAXTOR 6L040J2 44C
/dev/hdc ST3120026A 32C
/dev/hdd Maxtor 6L160P0 33C

download

hddtemp-client.py

Same as the perl version but faster.
download

ssh-faker.py

A program to defend ssh against random bruteforce attacks. Similar to ssh-faker
by Charles Howes, Its setup in the same way.
download

chepaste.py

A simple paster against a simple pastbin like side we used to run on paste.chebab.com.
download

2014-05-26