GeoCitesSites.com

Things,


I have no place for...
yet.

back home



HowTo calculate bus transfer speed:
  example1: 2 x 64bit @ 500MHz (CPU2CPU fabric) 
  calculate transfer speed: 2 * 64/8 * 500 = 8000MB/s

  example2: 64bit @ 133MHz (PCI-X)
  calculate transfer speed: 64/8 * 133 = 1064MB/s

rpm query parameters to get more info:
  -q = query (use always)
  -p = query on uninstalled rpm files

  -q[p]i = package description
  -q[p]R = requirements to install this package
  -q[p]l = list of files belonging to this package
  -qa    = list all installed packages (query rpm DB)
  -qf <fullpath_and_filename> = to which package belongs this file?
Other parameters:
  -Uvh = install (alternative to -i)
  -e   = uninstall

Hello world: C language kernel module
#define MODULE
#include <linux/module.h>
int init_module(void)  { printk("<1>Hello, world\n"); return 0; }
void cleanup_module(void) { printk("<1>Goodbye cruel world\n"); }

More "hello world" examples for different languages

Using a proxy with: lynx, arena, wget and w3m browsers
export http_proxy=http://your.proxy-name:80/
export ftp_proxy=http://your.proxy-name:8080/
export no_proxy='www.localserver.com, my.do.main, localhost'

Howto take a snapshot of an X-windowed application and project it on your X-server?
$xwininfo -root -tree | grep 
#The first number (0x12345678) is the window ID. 
$xwd -id 0x12345678 | xwud -display :0.0
#note: don't forget to set xhost.

Library links
XML to PDF? Oh, FOP It. (O'Reilly Network)
in-memory X-server or X Virtual Frame Buffer for AIX (IBM)

Perl6
This week on Perl 6 (10/7-14, 2002) (O'Reilly Network)
Generic Perl and Perl6 webcasts (Dr.Dobb's TechNetCast)
Devellopment site (dev.perl.org)
Talks and papers (dev.perl.org)
You asked, they answered (Use Perl;)

HTML Tags i keep forgetting
<META HTTP-EQUIV="refresh" CONTENT="3; URL=http://10.66.192.18">
<META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">
In HTTP 1.0, an invalid value (such as "0") may be used to mean "immediately". 
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">

SHARING STDIN/STDOUT ON 2 TERMINALS 
Ever wanted the standard input and standard output 
to be shared on two terminals? 
Try the following short script, 
------------------- CUT HERE ------------------------- 
[ $# -lt 2 ] && echo "Usage: $0 program ttytodupon" && exit 2 
mytty=`tty` 
prog=$1 
othertty=$2 
sh -c "$prog|tee -a $mytty" 1>$othertty 2>&1 0>$othertty 
------------------- CUT HERE ------------------------- 

forgotten commands
truss

BIG Servers and UNIX
Sun    Solaris
HP     HP-UX, Tru64
IBM    AIX
SGI    IRIX
Apple  Mac OS X
Cray   UNICOS
U wanted BIG systems?           http://www.top500.org/
Want more UNIX versions?        http://www.ugu.com/sui/ugu/show?I=ugu.flavors&F=1111111111&G=Y
BIGgest client of BIG systems?  http://www.nnsa.doe.gov/asc/

Debian guides
http://www.debian.org/doc/manuals/reference/reference.en.html
http://cerium.raunvis.hi.is/~tpr/linux/debian/

UML
http://www.linuxplanet.com/linuxplanet/print/4712/
http://www.linuxplanet.com/linuxplanet/print/4719/
http://user-mode-linux.sourceforge.net/UserModeLinux-HOWTO.html

tcpdump quickparams
  -n No resolving (numeric) of internet adresses. Use this, unless you have written a good filter with limmited output!
  -i Interface, name as shown in ifconfig.
  -I don't wait until buffer fill-up, imediate output.
  -p don't use promiscuous mode, use it if not needed.
  -q quiet, less output.

web gui (reset and cancel):
http://www.useit.com/alertbox/20000416.html

IE seems to have the habit of resetting the complete form when you 
press ESC inside a form element. The following code prevents that
Small piece of JavaScript:
if (document.all)
  document.onkeydown = function () {
    return event.keyCode != 27;
  }

Kilo bits,bytes,bubles,...????
KB, Kb, kB, kb - admit, you have to think twice.
K=1024 unit scale base
k=1000 unit scale base
B=bytes
b=bits
This means: 10Mb = 10240Kb = 1280KB = 1310720B = 10000kb = 1250kB
-
Now, these are the commonly used Abbriviations.
Lets take a lookt at the standards - stop drinking and don't laugh :
http://www.fnoz.net/
http://www.romulus2.com/articles/guides/misc/bitsbytes.shtml
http://www.atvci.net/bitsandbytes.html
http://physics.nist.gov/cuu/Units/binary.html
-
Official publication
These prefixes for binary multiples, which were developed by IEC Technical Committee (TC) 25, 
Quantities and units, and their letter symbols, with the strong support of the International 
Committee for Weights and Measures (CIPM) and the Institute of Electrical and Electronics 
Engineers (IEEE), were first adopted by the IEC as Amendment 2 to IEC International Standard IEC 
60027-2: Letter symbols to be used in electrical technology - Part 2: Telecommunications and 
electronics. The full content of Amendment 2, which has a publication date of 1999-01, is 
reflected in the tables above and the suggestion regarding pronunciation. Subsequently the 
contents of this Amendment were incorportated in the second edition of IEC 60027-2, which has a 
publication date of 2000-11 (the first edition was published in 1972). The complete citation for 
this revised standard is IEC 60027-2, Second edition, 2000-11, Letter symbols to be used in 
electrical technology - Part 2: Telecommunications and electronics. 
-
...No direct link doh, unless you PAY:
http://www.iec.ch/cgi-bin/procgi.pl/www/iecwww.p?wwwlang=E&wwwprog=sea22.p&search=text&searchfor=60027-2&submit=OK



Page listing
@Geocities member pages
Bookmarkframe
Free Yahoo website: learn How It Works 4Free


http://www.opensource.org/sco-vs-ibm.html
error in montery tree... mail esr
==> donne and Eric corrected the document!

just somme links...
http://livinginternet.com/
avangado
Internet Movie Database
Google Zeitgeist
http://www.hawking.org.uk/home/hindex.html

http://www.olliancegroup.com/about/index.php

ADVOCACY movies:
http://www.adage.com/news.cms?newsId=38634
also switch to linux on geektv.

C tools: 
http://www.cplusplus.com/ref/cstdio/index.html

create thumbnails from your jpg's:
for i in *.jpg ; do jpegtopnm $i | pnmscale -xsize 40 - | ppmquant 128 - | ppmtojpeg - > thumbnail/$i ; done 

Linux software classification:
Often installed by me: Perl, mc, eth-diag, blackbox (fsrc), bbkeys (fsrc), 
ltmodem (4laptop), Firebird (fsrc), indent, gcc, xxgdb, xpdf | acroread, ...




Last Updated: 28 Mrt 2003 by W. Van Hooste | TOP