Posts Tagged ‘linux’
好吧 終於我也投奔到kde了
It’s my first time writing something in perl, the code is not very efficient and for now it can only display info of cpu, memory, bandwidth and uptime.
# Configuration
$eth = "eth0";
# Script
Xchat::register("Sysinfo", "0.1", "System Information Displayer");
Xchat::print("Sysinfo 0.1 Loaded.");
Xchat::hook_command("uptime", "uptime");
Xchat::hook_command("os", "os");
Xchat::hook_command("bw", "bw");
Xchat::hook_command("cpu", "cpu");
Xchat::hook_command("mem", "mem");
sub uptime {
$uptime = `cat /proc/uptime | awk ‘{printf \$1}’`;
$_day = 60 * [...]
I used to redirect the output to /dev/null, but sometimes it’s not good enough. It’s much better to just turn off stdout and stderr.
$ command 1>&- 2>&- &
I am so sick of the msn plugin that comes with pidgin, it takes years to login every time
with msn-pecan the login process took me less than 1sec, which IMO is much better.
you can grab the debian installer package here if you are using 64bits linux and don’t feel like to compile it yourself
compiled from official stable tarball
It’s been a while since the last build, coz I was pretty occupied by a lot of things lately
Last Changed Rev: 3689
Last Changed Date: 2008-09-05 02:03:39 +0200 (Fri, 05 Sep 2008)
I just don’t understand why nobody is updating the debian repository :/
a lightweight but powerful enough to use socks proxy
