From time to time this is appropriate to repost. For me its that time again. When I was hired to run the IT department of a major company my predecessor left three letters in the desk that was now mine. Each letter was clearly labeled; System Failure #1, System Failure #2, System Failure #3. A post-it note was attached to the bundle of letters. In case of a substantial system failure open the letters in order, once per failure, and they will help you through the problem.
So I noticed my places.sqlite has grown to over 80M. Since Firefox 3 thats where things like bookmarks are stored. I guess favicons are stored in that same database. At any rate I am very tab happy. I have to control myself and about once every 2 weeks or so I have to sit down and close out a bunch of tabs. Its not uncommon for me to have 90ish tabs open.
Last week I stumbled on a nice console regex helper. It’s not that I’m bad at regex but switching between sed, vim, python, perl regex trips me up a bit sometimes. Go ahead and check it out for yourself sudo aptitude install txt2regex <br /> [.]quit reset [*]color [/]programs ^txt2regex$ !! not supported RegEx perl : RegEx php : RegEx postgres: RegEx python : RegEx sed : RegEx vim :
nginx is a high performance HTTP and mail proxy server written by Igor Sysoev. I’m not sure what the init scripts do for other distros but it seems a bit of an oversight to leave out checking the config file when running the init script. Add this line to your nginx init script right after the text -x $DAEMON line to make it check the config before proceeding to start stop or restart the service.
I hadn’t seen this tool before so I figured I would share. Swaks is the swiss army knife SMTP according to the homepage. I’ve covered testing email from the command line before but this tool sure makes it easier. swaks --to nick@tld --from nick@tld *** MX Routing not available: requires Net::DNS. Using localhost as mail server === Trying localhost:25... === Connected to localhost. <- 220 cmdln-laptop ESMTP Exim 4.69 Thu, 16 Apr 2009 12:23:24 -0500 -> EHLO cmdln-laptop <- 250-cmdln-laptop Hello localhost [127.
The linux foundation has begun the judging period of the “We’re Linux” commercial (answers the I’m a PC commercials).
Some of my favorites …
Its handy to keep some remote dns servers in your head for troubleshooting. Here are some pretty fast and easy to remember NS ips for you (they are on level3 network). 22.214.171.124 126.96.36.199 188.8.131.52 184.108.40.206 220.127.116.11 18.104.22.168
Note, there is a short story before the main course.
I recently had a customer leave. It’s never good to lose a customer. They left not because of any service issues but because its hard for them to understand that I am not a web designer. I provided hosting service for them, and I tried to make it clear that they should find a web desinger and someone to maintain their site because that is not something I specialize in or have any interest in doing. At any rate this of course leads to them finding a designer who wants to move their site to some other host. I have no problems with that whatever makes the maintainer happy since he is the one
Today Citrix announced that it will distribute its enterprise packaging of Xen for free. This brings fancy gui management and features available in VMwares ESX server to everyone. (Actually I’m not clear if just the ability is there or if they actually are letting the gui go as well.) This is not a scaled down, limited version of the hypervisor. From the end of March on, there will be only one edition of XenServer which and it will be free.
Have you ever gotten a pdf with one of those annoying passwords? A while back I bought an e-book and it came with a password. Its really annoying especially if I want to read it on a mobile device. Anyway if you are annoyed as much as I am fear no more. Install qpdf aptitude install qpdf Decrypt your pdf qpdf --password=password --decrypt input.pdf output.pdf