Alex Collins – Blog

Things I'm learning; lessons or otherwise…

A Web front-end for Docker Registry

by atc on June 17, 2014, 3 comments

I’ve built a grails application for local docker registry installations. It’s called “docker registry UI” and is containerized, so simply run the following in a bash shell (assuming docker’s installed): docker run -p 8080:8080 atcol/docker-registry-ui and add your registry location and API version and you’re all set up! Easy deleting, viewing and searching of docker […]

Docker Desktop for JEE /Grails Development

by atc on May 11, 2014, no comments

With all the hype surrounding Docker I thought it only prudent to investigate and give it a try. Holy cow it’s awesome; here’s an example of why. I routinely want to get a decent Grails development environment up and running, and VMs seem one way of doing so. Having a clean, fresh install can be […]

ProXPN OpenVPN Addresses

by atc on September 1, 2013, no comments

I’m a ProXPN user but found it difficult to determine what the OpenVPN hostnames/IP addresses I should use for the various locations across the world. Thankfully their quick support enumerated them: Dallas: 107.6.100.3 NY: 173.231.141.114 NL: 213.179.208.131 UK: 78.157.207.131 LA: 64.27.29.67 Seattle: 216.18.231.179 Singapore: 223.27.170.51 Perhaps that’ll help others.

Bitcoin Mining with Amazon EC2

by atc on April 7, 2013, 38 comments

My curiosity got the better of me and I decided to start playing with Bitcoins, which inevitably led to mining and then using Amazon’s High Performance Computing EC2 instances to do the brunt of the work. It’s actually very easy to get up and running. Once you’ve found a mining pool — e.g. Slush’s or […]

Automatically lock your Linux machine via bluetooth

by atc on April 2, 2013, 7 comments

I had a requirement to lock my laptop at work automatically without having to touch it. The way devised by a friend was to enable the screensaver and its locking mechanism every time my phone’s bluetooth was out of range i.e. could not be seen via hcitool scan. It works *really well*! Now my laptop […]

Holiday Hack: reading Java class files

by atc on March 24, 2013, 2 comments

I spent a week by the pool in Egypt with my girlfriend, relaxing and…hacking. The lack of WiFi meant I had to rely on instinct and intellect to get me through my pet project and it proved a worthy exercise in problem solving and perseverance… I had the crazy idea of practicing my C programing […]

Hacking with JDK8 Lambda

by atc on March 15, 2013, no comments

So being a functional programming fan I ventured into the JDK 8 binaries and started playing with the myriad of changes relating to the introduction of Lambdas in JDK 8. All my code’s now on github and it’s work in progress, but take a look and contribute/comment if you care to.

The final keyword in Java

by atc on January 16, 2013, 3 comments

Whilst many will frown at the use of the final keyword in Java code, I find it a breath of fresh air. Perhaps it’s that I tend to lean on the side of caution, conservatism and safety when it comes to code: immutability being one of many examples of such. In this post I argue […]

Private Window in Firefox Nightly

by atc on December 29, 2012, no comments

One of things I disliked about using Firefox was the lack of “Private Window”. Whenever you wanted a private session it would reuse the current window. This is contrary to how Chrome has always done it. Now, in Firefix Nightly (version 20 onwards), you get a private window instead of replacing the tabs. This is […]

Back to IntelliJ IDEA

by atc on December 23, 2012, no comments

Like hundreds of others I bet, I purchased an upgrade personal license for Intellij IDEA 12 in their “end of world” sale. I’d heard good things about this latest version, most importantly significant improvements in the area of performance. I used IntelliJ for about 2 years a while back and was really happy with it […]