Tiernan's Comms Closet

Geek, Programmer, Photographer…

Auto deploying to multiple servers with GitHub and Webhooks

by . Tags: Tutorial , Blogging .

In yesterdays post, i mentioned that i wanted to try get an auto deploy working for this site. It already builds automagically using Forestry and puts the static HTML into a Github repo, but i needed to manually update the servers hosting the site… Well, not any more! using the magic of Github’s Web hooks, the Webhook project and a small piece of bash shell script, i have managed to get this auto deploying…

Read more →

Moving the site to Hugo

by . Tags: Blogging .

After a LOT of messing with Jekyll, i have finally moved to Hugo! There are a few things that don’t fully work yet, and there will be updates to the site soon enough, but for the moment, I am happy… Its also a LOT faster to build than Jekyll, and less dependencies… Happy days! [update] I though i should probably update this post with a bit more information around hows its built, why i moved to Hugo, and some more links, etc.

Read more →

Blogging on an iPad Pro

by . Tags: Blogging , Hardware , Tools .

So, a few months back I bought myself an iPad Pro. I got a 10.5” with 64GB Storage and the Smart Keyboard. Since then, i have been mostly using it for playing around: watching YouTube, Netflix, surfing on the couch, etc. but i started to wonder how “Pro” this was…so i went and did some testing, and in the end nearly all of this post is being written on it…

Read more →

VSCode and Markdown Monster with Powershell

by . Tags: PowerShell , Blogging .

A few years back, i created a post showing you how to add an Alias to PowerShell to easily start Sublime Text from a PowerShell command line . This worked well, but this is 2017 (that post is from 2012!) and my daily text editor has changed. I have moved to Visual Studio Code for most of my daily work. It works well 95% of the time. I still use Visual Studio Pro for C# Development, but for quick fixes and work on, say Go or smaller edits, Code is great.

Read more →

Installing Jekyll on Bash On Ubuntu on Windows

by . Tags: Jekyll , HowTo , Code , Blogging .

At the 2016 Build conference, Microsoft announced that Bash on Ubuntu on Windows was coming. Well, it came out last week, and I installed it as soon as I could! My next challenge was to get Jekyll to run and install on it, so I can build and preview this site on my Surface Book. So, first, I needed to install version 2.0 of Ruby. There is a bit of messing involved for this, but first

Read more →

Continuous Integration and Blogging

by . Tags: Blogging , Announcements , Jekyll .

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…

Read more →

All blogs moved to Jekyll

by . Tags: Announcements , Blogging .

Well, its finally happened. All my blogs, Tiernan’s Comms Closet, GeekPhotographer and the Podcast have been moved to Jekyll. I wrote up a long and complicated post explaining how I did it… Now, i dont have to worry about Wordpress security issues on my home sites! Happy Days!

Read more →

CDN Hosted Blog

by . Tags: Announcements , Blogging , Jekyll , Cloud .

Well, if you can read this, this site is now hosted fully on AWS with both S3 and CloudFront. More details eventually… [UPDATE] How did i host this on S3 and CloudFront? Check out this article by Paul Stamatiou for details…

Read more →

My new Git Powered Site

by . Tags: Announcements , Git , Blogging .

So, this site is brought to you by GIT, Jekyll and Magic… here is how i did it… I have a Linux VM running the site. Its an Ubuntu 12.04 server. On that i installed Jekyll. I also have gitolite installed for personal git repos. In the Git Repo for this site, under the hooks directory, I added a post-receive file which I got from here originally. Apache is set to serve the directory that Jekyll produces… That’s what you are reading here.

Read more →