The way I like to develop is to create specific virtual machines for my web development.
The chore is to start the machine, mount the file system and then open up your IDE. All a nuisance that takes time. So, I’ve taken to writing a simple Bash script that will do the grunt work for you. All you have to do is put in your settings, save it and run it!
This will mount the VM’s web folder onto your file system and let you know it’s connected. All you need to do is then start your IDE of choice! Continue reading Start and connect to your VirtualBox VM with a simple script
I’m often switching between different Amazon AWS accounts. So to speed things along I’ve set up some simple scripts to easily switch between accounts while at the command line
On Linux (aws_setup):
Once saved, run
chmod +x aws_setup
On Windows (aws_setup.cmd):
Save as many files with the paths to your various AWS key pairs, and simply run the script from within a terminal before using the ec2 tools.
NOTE, when you run the scripts on Linux (and I guess Macs), add an extra dot before you run it. This will allow the environment variable to persist when the script ends.