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

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

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

Linux + svn + ssh+ Samba/NTFS: Operation Not Permitted!

by atc on October 15, 2011, no comments

My fancy-dancy and super-awesome SheevaPlug has certainly settled in at home. It exposes my media from my NAS so I can access it anywhere; runs transmission-daemon headless for all the ISO downloading of open source software I do; runs subversion/svn for my source code versioning needs; cleans the cat when it runs in with…OK, no. […]

SheevaPlug and Locales

by atc on October 13, 2011, one comment

So, I got an awesome SheevaPlug from NewIT; it’s a Linux plug computer the size of a laptop adapter that uses around 5W of power. It’s perfect for an always-on home server. After getting it installed and setup at home, I had the following locale-related issues when running apt-get and so-on; locale: Cannot set LC_CTYPE […]