ShowIP: Firefox extension to show and query the current IP Address in the statusbar
03/29/06 21:11:25 *
admin
ShowIP is a Mozilla Firefox extension which shows the IP Address of the current page in the browser's status bar and allows queries to different databases about it when you right click on it. The IP is colored red for an IPv4 address and green for an IPv6 address (hence the name). Since v0.7.8 these colors can be changed in the preferences menu.
With a left click one can get information about the hostname of the current page. These queries are fully customizable in the settings dialog. You can also run custom local programs.
The extension can be downloaded here: ShowIP 0.8.03
Read More
postgresql: Grant all rights on a database to a user
06/09/05 20:27:31 *
admin
Ever tried the $SUBJECT task with postgresql? It's a bit difficult.
You need something along the lines of this...
Read More
You need something along the lines of this...
Cross compilers (Debian)
05/21/05 15:05:25 *
admin
Thanks to the help of Herbert Poetzl, I've now complete buildable cross compiler toolchains (binutils and gcc) for these targets:
Read More
alpha arm cris frv h8300 hppa hppa64 i386 ia64 m32r m68k
mips mipsel mips64 ppc ppc64 s390 s390x sh shbe sh64 sh64be
sparc sparc64 v850 x86_64
and these tool versions:
binutils-2.15.94.0.2.2
binutils-2.16.90.0.3 (*)
gcc-3.3.6
gcc-3.4.4-20050512
gcc-4.0.0
These are ...
whois interface
02/06/05 15:20:48 *
admin
'.htmlspecialchars($c).'';
}
$mode = (isset($_GET['mode']))?$_GET['mode']:"whois";
$ip = (isset($_GET['ip']))?$_GET['ip']:"";
$disc= '
This is an interface to the Linux/Debian/Woody whois(1) program.
For questions, etc. please mail jdittmer@ppp0.net
For questions, etc. please mail jdittmer@ppp0.net
Please DO NOT ABUSE this interface, especially don\'t do mass lookups.
The IPs are logged by the web server.
The answer on this page will be delayed for 1-10 seconds to prevent this.
Read More
The answer on this page will be delayed for 1-10 seconds to prevent this.
Linux kernel compile tests
01/30/05 18:36:29 *
admin
Since a while I'm doing cross compile tests for all supported linux archs. Check out the results here:
http://l4x.org/k/.
So far it seems that about half of the in-tree archs are at least sometimes successfully build.
Read More
So far it seems that about half of the in-tree archs are at least sometimes successfully build.
Useful mldonkey scripts
06/08/04 18:38:00 *
admin
To manage my mldonkey client under Linux I've written two scripts:
The first one ('donkeyrotate.sh') changes mldonkey port numbers and adjusts the iptables rules accordingly. Afterwards mldonkey is restarted.
The second one ('rss2donkey.pl') reads an rss feed and submits new links, which match a set of regular expressions, to mldonkey. Quite useful if run from cron.
There is also a helper script 'mlcmd' which executes its parameters via netcat on mldonkey console and a init script 'donkey'.
If anyone is interested in these, you can fetch them here.
Read More
The first one ('donkeyrotate.sh') changes mldonkey port numbers and adjusts the iptables rules accordingly. Afterwards mldonkey is restarted.
The second one ('rss2donkey.pl') reads an rss feed and submits new links, which match a set of regular expressions, to mldonkey. Quite useful if run from cron.
There is also a helper script 'mlcmd' which executes its parameters via netcat on mldonkey console and a init script 'donkey'.
If anyone is interested in these, you can fetch them here.
namelen.sh
05/10/04 16:54:00 *
admin
In a recent discussion on LKML (Link) the question came up
how long an average filename is.
To answer that, I wrote a small bash script. 94.15 Percent of the filenames in my home directory are shorter than 25 characters. Here is a sample output and the source code.
Read More
XFree Xinerama extension hack
03/08/04 11:47:00 *
admin
When installing my 3 monitor setup I quickly discovered that the native xfree xinerama extension is incompatible with nvidia twinview. You can only have either one. This leads to applications believing I have one 2560x1024 screen and one 1280x1024 screen. If I maximized windows they would always span two screens.
Therefore I spent a long time searching for a solution on google, but unfortunately there are a) few people with 3 monitors and b) no one had solved this. So I decided to patch the X server.
What I've done so far is to take programs/Xserver/Xext/panoramiX.c and fake the reply like this:
Read More