Headless Browser Testing with Chrome and Firefox

When utilising Selenium to test web applications, I was always under the impression that PhantomJS was the only option for servers without an X server. I have nothing but good things to say about PhantomJS and have used it successfully for testing in the past. However, while working on some pull requests for splinter recently, I discovered that Chrome and Firefox can also be configured to do the same thing. [Read More]

Essential Python Libraries

So in case you haven’t noticed … I’m a little (VERY) in love with Python as a programming language. I use it for everything now, from web development, to scripting and everything in between. As such, I thought I’d put together an article of the many amazing libraries that I think every Python programmer needs to know about. Now there’s no doubt in my mind that there are heaps that I’ve missed, but we have to start somewhere. [Read More]

Serving a Python Flask Website on Hostmonster

Hey there folks, it’s been a while! In this post, I’ll be guiding you through setting up Hostmonster (or similar shared hosting providers) to serve a Python Flask web application. I’ll be using my new Flaskage template project as the application, but naturally you can adapt this solution to work with any Flask application. We’ll create a temporary build directory to put things in: 1 2mkdir ~/build cd ~/build First, start by building and installing Python on the system: [Read More]

Building an RPM of the Latest OpenSSH on SLES 10 SP3

Several years ago, we needed a newer version of OpenSSH on a system we were building with SLES 10 to enable jailrooting of user accounts. In this post, we’re going to be building an RPM of the latest OpenSSH for SLES 10 SP3 (and similar) servers. Install the required packages to build OpenSSH as follows: 1 2sudo zypper -n install gcc sudo zypper -n install tcpd-devel zlib-devel openssl-devel pam-devel Grab the current OpenSSH source: [Read More]

Building Git on SLES 10 SP3

Let’s keep the builds going shall we? This is the last one for today though :) This time, we’re going to build the latest version of essential tool Git on SLES 10. Important: In order for the steps to work below, you must build and install Python 2.7 as per my earlier post. Build Git as follows (ensuring that you explicitly set the Python path with the configure command): 1 2 3 4 5 6 7 8wget https://git-core. [Read More]