Kategoriarkiv: Uncategorized

Sjov med PHP [DoggyStyle or devel]

Hvis man bag sin PHP fil sætter følgende kode: ?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 Får man et sjovt -hidden-icon- 🙂 eksempel: http://www.fujang.dk/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 hehe 🙂 Fis og ballade! Keep Ya Cool Daniel Bahl Pingvinen http://danielbahl.info

Udgivet i Knowledge Base, Lamp, Old Base, Uncategorized | Skriv en kommentar

How to disable xscreensaver black screen

use: xset s off If you want to learn more, please refer to “man xset” // Vladimirr – Vladimirr.dk

Udgivet i Linux, Uncategorized | Skriv en kommentar

Unix prompt in windows 2000

prompt %USERNAME%@%COMPUTERNAME%:$p$$

Udgivet i Uncategorized | Skriv en kommentar

BT’s Compact Flash Card Reader

modprobe epat modprobe pd mount /dev/pda1 /cfdisk  

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

ipv6 tools

http://www.argh.org/IPv6/IPv6-HOWTO/IPv6-HOWTO-3.html

Udgivet i Knowledge Base, Links, Linux, Networking, Old Base, Uncategorized | Skriv en kommentar

Kvael klokken i linux

X: xset b off console: setterm -blength  

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

Script til ssh tuneller

Ssh should be configured to log in with keyfiles(not password) And then this script will do the trick, should explain itself. #!/bin/sh SERVER_HOSTNAME=geekhosting.dk SERVER_USERNAME=root SERVER_IFIPADDR=10.20.1.1 CLIENT_IFIPADDR=10.20.1.2 MYSUBNET=10.1.0.0/16 LOCAL_SSH_OPTS=”-P” PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11/: PPPD=/usr/sbin/pppd SSH=/usr/bin/ssh ROUTE=/sbin/route if ! test -f $PPPD ; then echo … Læs resten

Udgivet i Uncategorized | Skriv en kommentar

NAT omskrivning mellem to net

(WAN) netmask 10.0.0.0/8 geekhosting.dk route add -net 10.168.10.5 gw 10.20.1.3 pppX 10.20.1.3 –|– | | pppY 10.20.1.4 –|– netmask 10.168.10.0/24 cyberfamily.dk | |—————| ————— ————— | prerouting | | postrouting | iptables -A PREROUTING -t nat -s 10.0.0.0/8 -d 10.168.10.5 … Læs resten

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

Redirecting web-browsers with Javascript

Put this between thetags: <script type=”text/javascript”> function reload() { window.location=”http://blackthorne.dk/”; } </script> And this in the body tag: Ok now, that’s the buggy, crappy javascript style, you can make it as a mouseover() or onclick() if you like. There is … Læs resten

Udgivet i Uncategorized | Skriv en kommentar

IPIP Tunneling in linux

With ipip tunneling you can connect to LAN through internet like this: ____________ ____________ | | | | | Lan1 |___________________| Lan2 | | 10.1.x.x | Internet | 10.2.x.x | |___________| |___________| Global IP: Global IP: 80.80.80.80 90.90.90.90 If ipip-tunneling … Læs resten

Udgivet i Knowledge Base, Linux, Networking, Old Base, Uncategorized | 1 kommentar