Skip to content

Index

How to make a wiki work: PALDAP

The first ever wiki I started was www.paldap.org. PALDAP stands for “PALDAP: A Lazy Directory Administrator's Pal”. Yes, that's a recursive acronym. Cute, ainnit? I actually registered the domain because it was the name of a crappy abandonware PHP LDAP administration tool that I wrote in PHP, but decided instead to configure it as a wiki to host some of my assorted experiences with LDAP and OpenLDAP in particular. Read More »

Finding junction files in Windows 7 and exclude them with DeltaCopy

Windows 7 has a sort of hard link, a junction file, which it uses to link the old location "Documents and Settings" to /Users/. Because of all this junctioning, you can't just copy files with a Cygwin program like Deltacopy, because it will hang in infinite loop and copy a whole lot of things twice. Read More »

Bash script template

A template bash script, for when you need something overengineerd that works. Read More »

Bash parameter parsing

Here is a code snippet I use for parameter parsing: dohelp() { echo "Example script" echo "" Read More »

Allowing apache to set Nagios cmd file

On debian, to prevent: Error: Could not stat() command file ‘/var/lib/nagios3/rw/nagios.cmd’! Read More »

Effective CLI habits

Just an example of some effective CLI magic that I copy/pasted into a draft aboutexactly a year ago. Can you see what's happening? I'm moving some selected files into a subdirectory. Read More »

Posting to WordPress via the command-line

In February I was interested in posting to WordPress from the command-line, a possibility that I enjoyed when I wanted to apply some CLI-magic to some of my MediaWiki installations in the past. Read More »

Making a service available on more ports with iptables

If you need services to be availble on multiple ports, you can use: iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 1000 -j REDIRECT --to-port 25 --match comment --comment "Explain." Read More »

Setting up pptpd and pptp for a VPN

source and source and source. I'm keeping it as simple as possible. Read More »

Making a Compaq Deskpro sff boot without keyboard

To boot a compaq Deskpro sff without keyboard, you need to configure the BIOS in a special way. I found this: Read More »