Alex Collins – Blog

Things I'm learning; lessons or otherwise…

Category Archives: Linux

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 […]

Bitcoin Mining with Amazon EC2

by atc on April 7, 2013, 30 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 […]

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 […]

Server Backup with Spider Oak

by atc on August 12, 2012, one comment

I’m a SpiderOak fan. It’s secure, easy and well documented. Some really good traits. Their support is fantastic too. After using it on my Laptop, I thought I’d start using it for my Debian server’s backup. It makes sense to use something that bundles encryption and zero-knowledge to satisfy offsite backup. The same client you […]

Raspberry Pi and the Asus USB-N10 WiFi Dongle

by atc on June 8, 2012, 4 comments

If you have an RPi and fancy WiFi then an Asus USB N-10 will do. You’ll need to manually set it up. To save anyone else the pain, the steps to get the dongle up and running on Debian are: wget -O r8712u_ko.zip http://goo.gl/7ZYhZ cp r8712u*.zip / && cd /&& unzip r8712u*.zip modprobe r8712u From […]

Convert LaTeX to any output format easily

by atc on December 4, 2011, no comments

I use LaTeX to take notes, record TODO lists, the shopping and everything in between. Oftentimes, I’ll need to copy my notes to somewhere: a wiki, this blog, or to put in an email. It’s at this point I need to quickly convert to my target format. So, to satisfy the above, I wrote a […]

IPTables Firewall for your Server

by atc on November 12, 2011, 3 comments

Don’t write your own. Why? ’cause you’ll mess it up and end up in a false sense of security. Some Norwegian dude called Vegar told me of the Debian package arno-iptables-firewall. It’s an iptables-based firewall that can be administered in your favourite text editor or more conveniently by dpkg! So, remove that crappy iptables script […]