<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Programming :: Category :: Tiernans Comms Closet</title><link>https://www.tiernanotoole.ie/categories/programming.html</link><description/><generator>Hugo</generator><language>en-ie</language><copyright>2026 Tiernan OToole</copyright><lastBuildDate>Fri, 10 Jul 2026 23:30:52 +0100</lastBuildDate><atom:link href="https://www.tiernanotoole.ie/categories/programming/index.xml" rel="self" type="application/rss+xml"/><item><title>Continuous Integration and Blogging</title><link>https://www.tiernanotoole.ie/2016/03/24/continuous-integration-and-blogging.html</link><pubDate>Thu, 24 Mar 2016 08:00:00 +0000</pubDate><guid>https://www.tiernanotoole.ie/2016/03/24/continuous-integration-and-blogging.html</guid><description>Back in August of 2012, I started this site using Git and Jekyll. I hosted most of it at home, pushing to a server in house. Then, a few years back, I moved to pushing the files to Amazon S3 and had Cloud Front doing distribution. The last moved had me hosting the files in NearlyFreeSpeech.NET and Cloud Flare doing the content distribution… Well, that changed over the last few days… again…
Currently, you are still hitting Cloud Flare when you hit this site, but the backend is back to being hosted on Amazon S3. But the files getting to S3 is more interesting now. All the “code” for this site is up on a GitHub repo and any time something is checked in, Travis CI kicks off, builds the files using Jekyll and pushes to S3 using s3_website. All my “private” keys are hidden in Travis-CI, so no one can access them but me. This makes updating the site a lot easier. I can create a file in GitHub directly, preview it, make changes, etc., and then check in. Once checked in, Travis kicks off, builds and deploys. All Good!</description></item><item><title>Announcing B2 Uploader and Hubic Testing 2.0</title><link>https://www.tiernanotoole.ie/2016/01/15/announcing-b2-uploader-and-hubic-testing-2-0.html</link><pubDate>Fri, 15 Jan 2016 23:55:00 +0000</pubDate><guid>https://www.tiernanotoole.ie/2016/01/15/announcing-b2-uploader-and-hubic-testing-2-0.html</guid><description>I have 2 new side projects to announce on the site today. First has been running for a while (first check-in was December 28th) and it’s called B2Uploader. Its a fairly simple Windows application to upload files to BackBlaze B2. If you are not familiar with BackBlaze, they provide unlimited backup storage for the low price of a fiver a month. They are the guys who design the BackBlaze storage pods (I want one, by the way!) that allow them to provide unlimited storage for the fiver a month (I currently backup over 4Tb to them!), and late last year, they started offing B2 which is a storage platform on their pods, and it has a (somewhat) easy to use API. AND ITS CHEAP! half a cent, up 0.5c, per gig stored per month! That’s crazy cheap!</description></item><item><title>Using git and Route53 together</title><link>https://www.tiernanotoole.ie/2015/05/07/using-git-and-route53-together.html</link><pubDate>Thu, 07 May 2015 19:00:00 +0000</pubDate><guid>https://www.tiernanotoole.ie/2015/05/07/using-git-and-route53-together.html</guid><description>so, earlier on today, i was talking about using Git with a DNS service called LuaDNS to update your DNS records. Well, thing is, i have 30+ domains registered, and of them about 25 are hosted on Amazon’s Route53. So, moving ALL of them seems, well at the moment, excessive… So, i went digging…
there is a tool called cli53 which will allow you to manage route53 objects from the command line. It can also export your zones to BIND format and then re-import them if you have made changes… This all came out of a blog post by the guys and gals at netguru who showed how they integrate their DNS records with their Continuous Integration… Now, i have not gotten to that stage, just yet, but its only 1 step more down the road… but I don’t have my zones in bind format… So, how do i do that?</description></item><item><title>Git Push DNS</title><link>https://www.tiernanotoole.ie/2015/05/07/git-push-dns.html</link><pubDate>Thu, 07 May 2015 14:30:00 +0000</pubDate><guid>https://www.tiernanotoole.ie/2015/05/07/git-push-dns.html</guid><description>There are now a lot of services that have “git push” options available… you can build websites with
Azure and Github, books using ShareLaTeX and now, DNS using LuaDNS. I have one zone
running at the moment (tiernanotoole.net) and you can see the DNS records on github here. I am
tempted at moving other records over soon… but i am currently on Amazon Route53 and 1: its works, so
dont break it, and 2, not sure how to bulk export records from Route53 to Bind or Lua format.</description></item><item><title>Hubic and Duplicity</title><link>https://www.tiernanotoole.ie/2015/04/01/hubic-and-duplicity.html</link><pubDate>Wed, 01 Apr 2015 06:00:00 +0000</pubDate><guid>https://www.tiernanotoole.ie/2015/04/01/hubic-and-duplicity.html</guid><description>I mentioned HubiC in my last post, and in it i said that you could use Duplicity for backups. Well, this is how you get it to work…
First, i am using Ubuntu 14.04 (i think…). I use Ubuntu in house for a few things:
its running Tiernan’s Comms Closet, GeekPhotographer and Tiernan’s Podcast all in house, aswell as being used to build this site. The Web Server and MySQL Server are seperated, MySQL running on Windows, web on Ubuntu… but thats a different story… I have a couple of proxy servers running Ubuntu also Other general servers running Ubuntu… dont ask, cause i cant remember what they do half the time… So, Duplicity is a backup application. From their website:</description></item><item><title>Hubic, OpenStack Swift and Curl</title><link>https://www.tiernanotoole.ie/2015/03/31/hubic-openstack-swift-and-curl.html</link><pubDate>Tue, 31 Mar 2015 21:40:00 +0000</pubDate><guid>https://www.tiernanotoole.ie/2015/03/31/hubic-openstack-swift-and-curl.html</guid><description>HubiC is an online storage site, built by the guys at OVH. They are currently offering 30Gb free (if you use the link above) or if you pay, you get 110Gb (insted of the usual 100Gb) for EUR1 a month, or 10.5TB (yup… TERABYTES!) for EUR5 a month… Thats a crazy amount of storage for a not crazy amount of money!
So, while playing around with different things, I found they have an API, so other than the usual apps to play with (like the Hubic Apps for iPhone, Android, Windows Phone, Windows Desktop and OSX, Duplicity for backing up *nix boxes, and a few others) you can build your own…</description></item><item><title>Compressing and UnCompressing Protobuf items in C#</title><link>https://www.tiernanotoole.ie/2012/12/12/compressing-and-uncompressing-protobuf-items-in-c.html</link><pubDate>Wed, 12 Dec 2012 10:29:32 +0000</pubDate><guid>https://www.tiernanotoole.ie/2012/12/12/compressing-and-uncompressing-protobuf-items-in-c.html</guid><description>Part of a project i am working on required sending large amounts of data between different instances. To get this to work efficially, we started using the ProtoBuf using ProtoBuf-net in .NET. but the files where still quite large (17mb, give or take). So, we looked into compression…
here is some examples of how we managed to compress the protobuf files. We got some decient compression: 3mb files, down from 17mb. very happy.</description></item><item><title>Handbrake Cluster</title><link>https://www.tiernanotoole.ie/2012/10/03/handbrake-cluster.html</link><pubDate>Wed, 03 Oct 2012 00:00:00 +0000</pubDate><guid>https://www.tiernanotoole.ie/2012/10/03/handbrake-cluster.html</guid><description>[UPDATED] someone asked in the comments if there was an binary build for this file. there is now! http://handbrakecluster.codeplex.com now hosts the code and binaries, and will soon have help files and documentation.
A few days back, i wrote a post titled Powershell + Handbrake + AppleTV + iTunes = Automatic TV. ish. In it i included a block of Powershell code to bulk convert TV shows from whatever format you had them in to a M4V format for the AppleTV. Well, as they say “If necessity is the mother of all invension, lazyness must be the father”. I have a lot of shows i wanted converted to the AppleTV, so i built something. Its called HandBrake Cluster and is written in .NET 4.5, uses MSMQ and Handbrake to do the processing. The workflow is as follows:</description></item><item><title>PowerShell + HandBrake + AppleTV + iTunes = Automatic TV. Ish.</title><link>https://www.tiernanotoole.ie/2012/09/28/powershell-handbrake-appletv-itunes-automatic-tv-ish.html</link><pubDate>Fri, 28 Sep 2012 00:00:00 +0000</pubDate><guid>https://www.tiernanotoole.ie/2012/09/28/powershell-handbrake-appletv-itunes-automatic-tv-ish.html</guid><description>I have an AppleTV in the house (3, actually) and I am very happy with its ease of use, size and cost. You can’t argue with the small price!
I also have a lot of content that works great with the AppleTV in iTunes, but I have content which does not work so great with the AppleTV. So, I needed to find a way to convert files quickly and easily. that’s where PowerShell and Handbrake come in.</description></item><item><title>Building a Cross Compiler for your Raspberry Pi</title><link>https://www.tiernanotoole.ie/2012/09/25/building-a-cross-compiler-for-your-raspberry-pi.html</link><pubDate>Tue, 25 Sep 2012 00:00:00 +0000</pubDate><guid>https://www.tiernanotoole.ie/2012/09/25/building-a-cross-compiler-for-your-raspberry-pi.html</guid><description>My main machine at home, known as “The GodBox” is a Dual Processor, Quad Core Xeon 5520 with 60Gb RAM, 2 300Gb 10,000 RPM Western Digital Velociraptor in RAID 0 for boot, 4X1Tb 7200RPM drives for storage, 2 more 300Gb 10,000 RPM drives for “scratch disk” and a couple high(ish) end graphics cards with 3 monitors plugged in. Hence the name, GodBox!
Anyway, The Raspberry Pi, on the other hand, has a 700Mhz processor, 256Mb RAM and not much else. So, if you need to write code for your Pi, and you don’t want to wait a long time to compile, check out this tutorial on how to build a cross compiler for your raspberry pi which will allow you to build your apps on a different machine. I have a college project which the Raspberry Pi will be used for, and i am thinking this will be how i build code.</description></item><item><title>Build your own Private GIT server</title><link>https://www.tiernanotoole.ie/2012/09/03/build-your-own-private-git-server.html</link><pubDate>Mon, 03 Sep 2012 10:28:11 +0000</pubDate><guid>https://www.tiernanotoole.ie/2012/09/03/build-your-own-private-git-server.html</guid><description>This site is built with GIT, GitoLite and Jekyll. I posted about this before. but how do you set up your own Git Server? checkout How to install and set up a Git Repository Server using Gitolite on Linux Ubuntu 10.04 and 11.04 on mmncs.com. I am using Ubuntu 12.04, but it’s mostly the same.</description></item></channel></rss>