Code Bucket

A random repository for snippets of caode, commands and syntax that I find either useful or else easily forgotten.
(And a useful way to tidy up a harddrive of unnecessary files just to save the code !)

Linux commands

Checking and changing default services for different runlevels.
chkconfig --level 3 httpd on
chkconfig --list

Windows 2000

IP forwarding:
In Registry Editor, navigate to the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
Select the following entry:
IPEnableRouter: REG_DWORD: 0x0
To enable IP forwarding for all network connections installed and used by this computer, assign a value of 1.

Perl



SQL



Php