Unix Admin Tips
MS SQL Server
Welcome to the home page of Manni Wood, Sole Proprietor.
Things C.J. Date recommends.
Quick tip: How to find the number of connections to your
select datname, procpid, usename, client_addr, client_port from pg_catalog.pg_stat_activity;
Ubuntu Firewall setup explains how to set up a
firewall on Ubuntu 8.04 server edition.
Firewall setup explains how to set up a
firewall on a computer using Fedora 10.
How to make your crappy PC keyboard act like a Unix keyboard, including an updated keydump for Fedora 10 (as well as the older goodness for F9 and lower).
Also, here's a brief snippet on how to get your second monitor
to display next to your primary monitor on F10 using xrandr and
the built-in nv driver:
First, get the names of both of your monitors by running xrandr with
no arguments, like so:
Screen 0: minimum 320 x 200, current 3200 x 1200, maximum 3520 x 1600
DVI0 connected 1600x1200+0+0 408mm x 306mm
DVI1 connected 1600x1200+1600+0 400mm x 300mm
The names of my two monitors are DVI0 and DVI1. Now all I have to do
is tell xrandr to put DVI1 to the right of DVI0 and I will have dual-head
goodness without having to use the proprietary NVidia driver:
xrandr --output DVI1 --right-of DVI0
notes on getting key-based ssh authentication working, especially with
a fix on home directory permissions for Fedora!
version of PostgreSQL syntax highlighting file for vim.
version of my favourite way of backing up an entire system by duplicating its hard
A brief guide on
starting a new project using Git, including notes on bare remote repositories,
which are not super-obvious from the Git documentation.