Monthly Archives: Mai 2008

Happy Towel-Day!

1
Filed under general

Today is Towel-Day, and we started celebrating yesterday :) … Very drunk …. veeeeeery drunk!

Don’t panic!

you’re asking yourself …

3
Filed under general, linux

… how a typical slackeee looks like if I tweaked it? Well, have a look:

wonderful slackeee with fluxbox

I love it!

… because they deserve it!

0
Filed under general

I recently wrote some mails to a few creators of open source software, just to tell them “Thank you!”. Maybe some of the software authors will never read my mails, but I felt the need for thanking them for their effort. These guys sacrifice their free time for the welfare of so many people all around the globe. They deserve it! Maybe you think about writing a mail to your favourite software architect too?

Tweak your slackeee [UPDATE]

1
Filed under coding, general, linux

UPDATE:

I was completely wrong! The version from the slackeee page is right. I now had to change it back to the original values and it works just fine. Mea culpa…

After I installed Slackware on the Eee PC as mentioned some days before, I wanted to use my Volume-Down, Volume-Up and Volume-Mute Buttons as well but the scripts and configs from slackeee didn’t work out of the box, so I had to find out where the problem was. First of all, these were the standard ACPI-Events from slackeee:

/etc/acpi/events/asus-volume-down

event=hotkey ATKD 00000014
action=/etc/acpi/actions/voldown.sh %e

The problem is, that my kernel reports that stuff differently. I had to stop the acpid and look how they were reported:

cat /proc/acpi/events

Then, I pushed the Fn and the different volume control buttons to get the values. They were displayed like this:

hotkey ATKD 00000014 00000006
...

I figured out that I had to rewrite the events to look like this now:

event=hotkey ATKD 00000014 00000006
action=/etc/acpi/actions/voldown.sh %e

Then I started the acpid again and voila: It worked just fine. :)

Slackware 12.1 on the Eee PC

1
Filed under general, linux

Yesterday I tried to install Slackware 12.1 on my Eee. The result was surprising for me, because it worked quite painless. I kicked Xandros from my Eee due to several reasons:

  • I didn’t like the factory partitioning
  • I didn’t like Xandros
  • I didn’t like the “user-friendly” Interface (and I really don’t need it)
  • I LOVE SLACKWARE!

There are some problems which have to be solved (WLAN/Boot-Up-Speed/…), but I’m quite optimistic.

UPDATE:

It seems like there are more people who would like to bring their Slackware installations on the Eee PC. I found this quite helpful page with some very useful information: http://slackeee.strangled.net

I will also give the lately released 2.6.25.3 Linux kernel a try because it should support my Atheros-Wireless chip natively via ath5k, which would be veeeery nice. Damn … got to sit in my workplace until 16:00 … can’t wait to try that stuff!

UPDATE 2:

ath5k unfortunately doesn’t work with PCI-E yet. Developers are working on it, so I guess I’ll have to wait some time … Fortunately everything else works fine (with madwifi wireless). Kernel boot-up is very fast (less than 15 sec) and the system seems very responisive. Nice …

Woohooo … even the ACPI events (voldown, volup, volmute) work :)

Something to think about

0
Filed under general

I was walking around yesterday to meet my girlfriend and jumped through some mental hoops during this little walk. Because I don’t belong to any religious group or believe in anything except myself, I was wondering how religious people could try to prove, that there is a God somewhere. I can’t disprove them of course, but I don’t accept that I should bring in a counter-evidence. I think it should be the other way: Religion should give a proof, that there is a God.

I wouldn’t dare to claim that there is a color named “snoodigoodji” which lies far beyond visibility if I had no proof for that, so why is religion allowed to do so? I don’t get it …

introducing another script: shift-cipher

1
Filed under coding, linux, perl, ruby

I was just surfing around in my script-directory and found another gem I scripted back in February. The main purpose was to decrypt a ciphered sentence. Although it would have only taken me a couple of seconds to decrypt it, I decided that it would be even more fun to script it :P .

This is the result: shift-cipher

There is also a version available in Ruby: shift-cipher-ruby

This script should work (as usual) on any current GNU/Linux Distribution or *BSD where Perl or Ruby is installed. It deals with one line of standard input, which means that you can simply pipe the output of a command-line tool into it. An example:

ap0calypse@shu:/home/ap0calypse/scripts> echo "x adkt hwxuixcv" | shift-cipher
shift by: 1 : y belu ixyvjydw
shift by: 2 : z cfmv jyzwkzex
shift by: 3 : a dgnw kzaxlafy
shift by: 4 : b ehox labymbgz
shift by: 5 : c fipy mbczncha
shift by: 6 : d gjqz ncdaodib
shift by: 7 : e hkra odebpejc
shift by: 8 : f ilsb pefcqfkd
shift by: 9 : g jmtc qfgdrgle
shift by: 10 : h knud rgheshmf
shift by: 11 : i love shifting
shift by: 12 : j mpwf tijgujoh
shift by: 13 : k nqxg ujkhvkpi
shift by: 14 : l oryh vkliwlqj
shift by: 15 : m pszi wlmjxmrk
shift by: 16 : n qtaj xmnkynsl
shift by: 17 : o rubk ynolzotm
shift by: 18 : p svcl zopmapun
shift by: 19 : q twdm apqnbqvo
shift by: 20 : r uxen bqrocrwp
shift by: 21 : s vyfo crspdsxq
shift by: 22 : t wzgp dstqetyr
shift by: 23 : u xahq eturfuzs
shift by: 24 : v ybir fuvsgvat
shift by: 25 : w zcjs gvwthwbu

As you can see, shifting this sentence by a value of 11 really starts making sense. This is a REALLY bad way to encrypt, but hey, it is still better than nothing.

NOTE: special characters (äöüß) are NOT supported. It works with a-z.

pinguin 0.1 released

0
Filed under coding, linux, perl

Well … I was bored the other day and started to write this piece of code. I was encouraged by a colleague who tried to use wildcards to ping hosts as a joke (ping 192.168.0.*). But I thought that it could be quite nice, if a ping command could work with wildcards, mainly because you can get a quick overview of the ping-able hosts. You could surely use nmap -sP 192.168.0.*, but what if you don’t have nmap? I saw this as an incentive to start a new script. Here is the result: pinguin

With this script it is possible to ping a range of IP-adresses (eg. 192.168.0.*). For further information take a look at the script or execute it without any arguments to get information on the usage.

It is written in Perl (please be lenient -> my skills aren’t that good :) ) and requires Net::Ping and the “host” command. It is designed to run on any current GNU/Linux-distribution where Perl is installed. You can do whatever you want with the source code.

Oh, and: YES I KNOW that i could have used Net::DNS instead of the “host” command, but it wasn’t reachable by the time I was writing this, ok? If you don’t like this, change it. And if you don’t like the idea anyway, I don’t care. I was just bored ;)

well … erm … hi :)

0
Filed under general

First of all: These are my first steps with WordPress, please be patient if the design changes or if I delete content without a specific reason. I’m just testing. ;)

I decided to publish some stuff because I often discover new things and think “WOW, I MUST write this down”, but I never had a platform to do this, so … that’s how this piece of crap started it’s existence.

The stuff I write down will be mostly about computer related topics but there may be some other things as well. But I don’t know yet … we’ll see.