cantest: avoid regression in HTML5 canvas...
In a project we are working on we have quite a lot of code that eventually draws on an HTML5 canvas. Since we work in a team and have multiple layers of code involved in generating the final result, there’s always a chance for regression (like in any other codebase). This is applicable to any codebase that generates visual elements on an HTML5 <canvas>. As an initial step, we...
Your Own Little node.js PaaS - Part 1
PaaS (platform-as-a-service) services are blooming these days (Heroku, Nodejitsu, nodester, cloudcontrol and many more). All offer some awesome features. I set out to try and set up a very simple node.js PaaS for myself within an Amazon EC2 Ubuntu instance. It obviously lacks many of the features in commercial PaaS services but it’s a lot of fun and also gives you complete control over the...
Setting up a squid proxy on AWS
1. Launch a micro Ubuntu EC2 instance If you don’t have an Amazon AWS account, you can sign up for one here. 2. SSH into your new instance and install squid $ sudo apt-get update $ sudo apt-get install squid3 3. Update squid configuration Edit /etc/squid3/squid.conf as root: $ sudo nano /etc/squid3/squid.conf acl all src all acl SSL_ports port 443 acl CONNECT method...