Monthly Archives: March 2011

Tabs or Spaces?

Theoretically, in an ideal world. We’d all use tabs and nothing but tabs. But. The real world can’t decide how wide they want their indents. And because of that. We basically are !@#$%ed and we have to use !@#$% spaces … Continue reading

Posted in Opinions | Tagged | Comments Off

Add missing terminfo entries like gnome-256color to help tmux and screen play nice with vim

If you use vim in an X terminal of some kind you will probably want to set your $TERM correctly rather than use :set t_Co If you want screen or tmux on your remote server to recognise gnome-terminal when you … Continue reading

Posted in Notes and Quick Fixes | Tagged , | Comments Off

Fix Netbeans Virtual Desktop Placement in Compiz

With Compiz Ok, so compiz is really cool, but you know how the virtual desktop forced desktop placement doesn’t work for netbeans? Well here’s a way to make it work. It’s a bit of a hack but it does the … Continue reading

Posted in Notes and Quick Fixes | Tagged , , , , , | Comments Off

Regular Expressions for The Busy

Replacing is Power Think you got no time for regular expressions? I’d like to express that I think you’ll find you do when you see what they can do for you. Have a look: Search and replace with regular expressions … Continue reading

Posted in Tutorials | Tagged , , , | Comments Off

Ubuntu 10.10 Server In A Box – One Click Quick Install

For The Impatient Just run this command, however, I would highly recommend you read this full blog post before you do so. bash < <( curl https://github.com/rocksolidwebdesign/Ubuntu-Server-In-A-Box/raw/master/download-install ) && cd Ubuntu-Server-In-A-Box/maverick_cloud && fab setup Remember from like 3rd grade when … Continue reading

Posted in Tutorials | Tagged , , , , , , , , , , , , | Comments Off

Give E-Mail accounts to your average joe with Postfix and Dovecot

So you need a mail server… You have a domain name, you have your web server. But what about emails? So common, yet so often overlooked. How do you get up and running fast, but with a decently powerful configuration? … Continue reading

Posted in Tutorials | Tagged , , , , | Comments Off

Setting Up Canonical Domain Names with DynDNS

Traditional Naming Themes Traditionally the idea behind hostnames and how you set them up is something like this. Most organisations have a name, like Wonder Widget, LLC for example. Usually this translates into one or maybe two main domain names … Continue reading

Posted in Notes and Quick Fixes | Tagged | Comments Off

Basic Login Breakdown

Security What’s In A Name? Not much if it doesn’t have a password with it. That’s because “Security” which is a huge name in the computer world is a very important thing. The Humble Login Most people encounter security on … Continue reading

Posted in Notes and Quick Fixes | Tagged , , , | Comments Off

Snake Oil SSL Certificate Bash Script

#!/usr/bin/env bash if [ "$#" -lt 1 ]; then echo "usage: snakeoil.sh certname"; exit; fi   server=$1   openssl genrsa -des3 -out $server.key 1024 openssl rsa -in $server.key -out $server.key.insecure mv $server.key $server.key.secure mv $server.key.insecure $server.key openssl req -new -key … Continue reading

Posted in Notes and Quick Fixes | Tagged , | Comments Off

Smart resize fun with ImageMagick

So you just got back from vacation with a load of photos from your new super duper high res DSLR camera and now you wanna say, upload the photos to your blog, or maybe flickr or package up a nice … Continue reading

Posted in Notes and Quick Fixes | Tagged , | Comments Off

Rock Solid Web Design is a full service web development firm specializing in custom database driven applications in PHP.