Kategoriarkiv: Knowledge Base

bt keder sig meget

eject /mnt/cdrom/ && sleep 5 && mount /mnt/cdrom/ && installpkg /mnt/cdrom/slackware/n/tcpdump-3.8.3-i486-2.tgz && eject /mnt/cdrom

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

Set up IPSEC in openbsd

Use IPsec the OpenBSD way. Setting up IPsec in OpenBSD is fairly easy since it’s compiled into the kernel that ships with each release and is enabled by default. All that is left to do is to create the appropriate … Læs resten

Udgivet i Knowledge Base, Networking, Old Base, OpenBSD | Skriv en kommentar

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 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