Månedsarkiv: juni 2004

Mod rewrite for begyndere

content negotiation: Apache sender selv filer der ender på et lands landekode efter hvad browseren helst vil have: index.php.da til dansk index.php.en til engelsk brugeren skal så bare åbne index.php

Udgivet i Knowledge Base | Skriv en kommentar

Tip til gentoo install

Hvis du skal forsætte en Gentoo installision midt i det hele efter at din box har været slukket…. boot op på gentoo cd’en # mount /dev/$ROOT /mnt/gentoo mount så alle de ander filsystemer # chroot /mnt/gentoo /bin/bash # mount -t … Læs resten

Udgivet i Knowledge Base, Linux, Old Base | Skriv en kommentar

Krypteret loop back fil system i Linux

Kernel skal patches men jeg har ikke kunne finde den path… util-linux skal også patches. ——–GENTOO———— I Gentoo kan man bare bruge Gentoo-sources og util-linux root# emerge gentoo-sources root# USE=”crypt” emerge util-linux I /etc/make.conf kan man tilføje crypt til USE … Læs resten

Udgivet i Knowledge Base, Linux, Old Base | Skriv en kommentar

XP Crash On Ctrl Scroll

1. Start regedit. 2. Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters 3. Create a new DWORD value and name it CrashOnCtrlScroll 4. Right-click on this newly created value and click on Modify 5. Enter 1 in the Value data field and click on OK. … Læs resten

Udgivet i Knowledge Base, Windows | Skriv en kommentar

finding i2c chips on linux 2.6

compile the i2c subsystem and the correct bus driver <*> I2C support <*> I2C device interface I2C Algorithms —> <*> I2C bit-banging interfaces I2C Hardware Bus support —> <*> Intel 801 <*> ISA Bus support Hardware Sensors Chip support —> … Læs resten

Udgivet i Knowledge Base, Linux, Old Base | Skriv en kommentar

Generating random high secure passwords in freebsd

On freebsd: jot -r -c 160 a1 { | rs -g 0 10 Output: $ jot -r -c 160 a1 { | rs -g 0 10 7ZSEiPOEeq YO^oJfZ6D[ lgC2Invit? pPKkukm4gV 8\Nbl^inS4 AQIK9]S=[? Apvt5Z[CX^ 1VI3EM]_J3 iGPo\7F@g] hC=dis[D>E =CYIGDHHwp ^<3OhDyHNI _>]VH6t>fE 4AVuNXldsO … Læs resten

Udgivet i FreeBSD, Knowledge Base, Old Base | Skriv en kommentar

Delphi: How to Add a Splash Screen to Your Application

From: http://info.borland.com/devsupport/delphi/devcorner/techtips/splash.html Splash Screens are important to your applications. They provide function while adding to your application’s visual appearance and interface. Splash Screens communicate with users of your application. Using Splash Screens in your applications can uniquely distinguish yours from … Læs resten

Udgivet i Old Base, Programmering | Skriv en kommentar

Delphi: How to Add a Splash Screen to Your Application

From: http://info.borland.com/devsupport/delphi/devcorner/techtips/splash.html Splash Screens are important to your applications. They provide function while adding to your application’s visual appearance and interface. Splash Screens communicate with users of your application. Using Splash Screens in your applications can uniquely distinguish yours from … Læs resten

Udgivet i Knowledge Base | Skriv en kommentar

replace with sed

Just a reminder for myself cat fil.gammel | sed -e ‘s/gammel/ny/g’ > fil.ny

Udgivet i Knowledge Base, Old Base, Shellscript | Skriv en kommentar

Using CVS

Opret CVS: $ export CVSROOT=/home/cvs/cvsroot $ cvs init Skal nu have noget source i vores cvs, vi laver noget fiktiv source: $ mkdir bigproject $ cd bigproject $ touch source1.c $ touch source2.c $ touch source3.c $ mkdir libs $ … Læs resten

Udgivet i Knowledge Base, Old Base, Windows, Workstation | Skriv en kommentar