VirtualBox provides a great way to run IE browsers for testing during development.
Install it in the usual way(!) – probably something like:
sudo apt-get install virtualbox
(More detailed instructions at https://www.virtualbox.org/wiki/Linux_Downloads)
Then grab the IE6 image from ModernIE:
Choose “Linux” as the testing OS, then “VirtualBox for Linux” as the virtualization platform.
The various flavours of IE and Windows OS should be shown – choose the appropriate one.
The image will download as an “.sfx” file. Give the file execute permissions (chmod +x filename.sfx), and run it (./filename.sfx)
It should create a, “.ova” image file.
Now start VirtualBox with the “.ova” file as the parameter (you’ll probably have to do this as a sudo command):
sudo virtualbox "IE6 - WinXP.ova"
VirtualBox will offer to import the settings from the file – so, do that.
Select the VM, and click “Start” to run it. You should get a running Windows image with your selected IE version.
From the IE browser, you should be able to access sites running on your local machine as e.g. “http://192.168.0.32:3000″
This is just some notes I made, mostly taken from http://docs.phonegap.com/en/3.0.0/guide_overview_index.md.html.
I was installing PhoneGap 3.0.0 on Ubuntu 12.04.
There are several pieces that fit together to give a framework for running the tests in an automated build system – QUnit, PhantomJS and JSCover.
To see where your current file is in the folder sidebar, you can install SyncedSideBar.
However, that has some side effects – sometimes, even if you’ve hidden the sidebar, it pops back up when you switch between files, or search.
Get the location of the latest build from http://www.sublimetext.com/3, download it and install it (this is on Ubuntu):
sudo dpkg -i sublime-text_build-3047_i386.deb
Another quick command line utility thing, this time to copy the contents of a file onto your clipboard without having to use the mouse (this is on Ubuntu, with the bash shell, incidentally).
First install xclip:
sudo apt-get install xclip
Amazon S3 can be used to serve static content, with all the advantages of scaling and redundancy that you get from Amazon.
There are comprehensive guides to setting up a site in S3 – this is a shortened version to highlight a couple of things.
Getting Xdebug for PHP working with Sublime Text 2 is slightly tricky.
Most of the instructions are at https://github.com/Kindari/SublimeXdebug - these notes are just a bit extra as a reminder to myself.
Here’s a modern web development setup:
SauceLabs provide a great hosted Selenium service for cross-browser testing in the cloud, which allows you to run a Selenium test suite against multiple browsers using the SauceLabs API and SauceConnect.
They also provide integration with PHPUnit, so that you can plug your SauceLabs Selenium tests directly into your PHPUnit test suite.
Sometimes, though, you want to run the same Selenium test suite against a single browser on your local machine, before you run the full thing against all the browsers on SauceLabs.