A few weeks ago I released (MIT licensed) a MongoDB PHP session handler. You can find it on GitHub at http://github.com/mostlygeek/MongoSession. In the process of tweaking I wound up rewriting the whole thing from scratch. Some major and notable changes: Concurrency safe. Less code. Simpler code. Easier to use. Ties directly into PHP sessions with [...]
Great sysadmins use aliases to avoid repeatedly typing common commands. Everybody knows lazy sysadmins are the best ones. The Commands: alias a=’cat ~/.bash_aliases’ alias ea=’vi ~/.bash_aliases; echo “Refreshing aliases”; source ~/.bash_aliases’ Here’s what they do: the command ‘a’ now prints out a list of your current aliases the command ‘ea’ brings up vi to edit [...]
Most good sysadmins already know how to forward a local port to a remote machine and vice versa. However, sometimes it is useful to open a port on the remote machine to the world and have that traffic forwarded through SSH to your local machine. A practical reason for this is if your web development [...]
I get a lot of commercial email trying to sell me technology services. Even though these are commercial emails with an unsubscribe link it is still annoying to have to filter through them and unsubscribe. A simple email hack that works well is to filter all email into a separate folder that is not coming [...]
A discussion about the risks and rewards of online video tours for real estate listings.