The Curious Dev

Various programming sidetracks, devops detours and other shiny objects

Nov 11, 2012 - 4 minute read - Groovy

EBookWall - Thumbnails For Your PDFs

Over the last couple weeks I’ve been playing about with the concept of creating a central page that would be my starting point for reading through various ebooks, notably PDFs. I have collected quite a few PDFs along the way and as they’re not physical, and not piling up on my desk or bookshelf, it can be easy to forget about them. So a page of thumbnails will give a visual reminder of what you’ve not read yet or of a library to access in the future.

Oct 20, 2012 - 3 minute read - Wordpress Octopress Jekyll Heroku Blog

Hello Octopress (and Heroku)

As of 19th Oct this site is now running on Octopress/Jekyll. I’ve used Wordpress on and off for many years and have not entirely been happy with bulk of php used nor the editor. Rather than hating on Wordpress, this post is about how awesome Octopress is. For a low volume and rarely changing site like this, it just isn’t necessary to have dynamic page generation at runtime. Even with caching, it is a bit of an overkill.

Sep 3, 2012 - 2 minute read - Groovy Web

Ping

In addition to the URL Status Check script, I’ve also written a basic script to continuously [ping](https://en.wikipedia.org/wiki/Ping_(networking_utility)) a system. Whilst probably not the most efficient nor simplest way to do it, it is achieves the goal of returning the ping result. As an added bonus, it uses a little corner of groovy that most will find useful at some point or another, executing something on the system command line. In Groovy, this is achieved with a simple script like:

Aug 11, 2012 - 4 minute read - Groovy Geb Web

Geb is Great!

Geb is a Groovy-based layer of magic over the top of Selenium/WebDriver for web-based automation tasks and is a tool worthy of being added to your programming tool belt. What’s So Special About Geb? Quoting from the Gebish.org site: It brings together the power of WebDriver, the elegance of jQuery content selection, the robustness of Page Object modelling and the expressiveness of the Groovy language. The simplicity and elegance of a typical script makes it very easy to get a basic task up an going within minutes, something we can demonstrate right now.