• Reading passwords from a file with Selenium IDE and SelBlock
    April 14, 2016 - 1 minute read -
    selenium-ide selenium selblocks

    Recently I found the need to have Selenium loop through a bunch of commands for different users, each with their own usernames and passwords.

    Thankfully, it's fairly painless to setup using the SelBlock plugin for Selenium IDE.

    Create a datafile:

    [{ user: "ash", pass: "test1234" }
    ,{ user: "brock", pass: "test1234" }
    ,{ user: "jessie", pass: "test1234" }
    ,{ user: "james", pass: "test1234" }
    ,{ user: "misty", pass: "test1234" }]

    If the file is saved in the same directory as the test script, you can use a relative path.

    Loop through it and log the username:

    forJson varset.json
      getEval LOG.info("user is "${user}")
  • Moving from Heroku to Dokku
    October 3, 2015 - 3 minute read -
    node heroku dokku docker node.js paas digital-ocean ubuntu

    With Heroku's recent changes to their plan offerings, my hosting costs were suddenly about to increase form $0 a month to $42. To run an app 24 hrs a day, you need to be on the hobby tier ($7/month). Not really happy with that, I decided to look elsewhere.

    I had previously explored Amazon's elastic beanstalk PaaS, but this time around I wanted to try hosting my own PaaS. Dokku bills itself as being a "Docker powered mini-Heroku in around 200 lines of Bash". After reading good things about it, I decided to give it a shot on a Digitial Ocean dropet.

    Read more

  • AWS Elastic Beanstalk - My Experiences
    December 26, 2014 - 2 minute read -
    aws elastic-beanstalk node heroku experience billing git logentries

    After using Heroku for the past 12 months, I decided to try out Amazon's PaaS offering - Elastic Beanstalk.


    I first decided created an application via the AWS console, by following the guided steps. However this actually just creates a sample application named 'My First Elastic Beanstalk Application'. It is not possible to rename it, so there's little point pushing your own code to it.

    Amazon provies a Command Line Interface (CLI) for Elastic Beanstalk which was easy to install and setup. Creating a new application could then be initiated with:

    eb init

    Read more

  • Older posts Newer posts