James Nock's Blog Ramblings of Software Engineering Lead, James Nock http://localhost Sun, 28 Jul 2024 17:58:15 +0000 en 1 Feedamic: the Atom and RSS Feed generator for Statamic <![CDATA[An improved GitHub deployment workflow]]> http://localhost/an-improved-github-deployment-workflow http://localhost/an-improved-github-deployment-workflow Thu, 07 Mar 24 00:00:00 +0000 An improved GitHub deployment workflow

A couple of days ago I blogged about how to deploy SvelteKit websites to a digital ocean droplet. Near the end of that post I offered a github workflow file but noted that it was basic and could be improved. Well here it is...

]]>
<![CDATA[How to deploy SvelteKit Sites to a DigitalOcean droplet]]> http://localhost/how-to-deploy-sveltekit-sites-to-a-digitalocean-droplet http://localhost/how-to-deploy-sveltekit-sites-to-a-digitalocean-droplet Tue, 05 Mar 24 00:00:00 +0000 How to deploy SvelteKit Sites to a DigitalOcean droplet

With all the recent fuss about a certain cloud provider billing someone a huge amount of money for a simple website that experienced a DDoS attack, it got me wondering "how hard would it be to just deploy this stuff myself". The TL;DR is that it's not really that hard if you're patient.

]]>
<![CDATA[Batch Processing with ImageMagick]]> http://localhost/batch-processing-with-imagemagick http://localhost/batch-processing-with-imagemagick Tue, 29 Aug 23 00:00:00 +0000 Batch Processing with ImageMagick

I recently had to process a large number of images in a couple of ways so I thought I’d log them down here.

]]>
<![CDATA[Fix Microsoft Teams Login on Mac OSX]]> http://localhost/fix-microsoft-teams-login-on-mac-osx http://localhost/fix-microsoft-teams-login-on-mac-osx Fri, 22 Oct 21 00:00:00 +0000 Fix Microsoft Teams Login on Mac OSX

A few of us at work have had huge issues with Microsoft Teams on our Macs with not being able to login for seemingly no reason at all. After a lot of messing around with uninstalling, reinstalling, restarting my machine etc. I finally dug in and got my hands dirty.

]]>
<![CDATA[Convert PNG to ICO on Mac]]> http://localhost/mac-convert-png-to-ico http://localhost/mac-convert-png-to-ico Sat, 20 Mar 21 00:00:00 +0000 Convert PNG to ICO on Mac

]]>
<![CDATA[New website]]> http://localhost/new-website http://localhost/new-website Tue, 11 Aug 20 00:00:00 +0000 New website

For quite some time now I’ve shuddered at the state of my own website, it’s been looking very tired for a long time now and it’s not really been fit for purpose either. I launched it on 31st August 2015 back when I was looking for clients for some freelance work and it did well for the few years I needed it. However, I’ve not wanted to take on any new clients for quite some time now as I’m just too busy. It was time to get something put together that serves as less of an advertisement and more of an ‘about me’. So I did.

]]>
<![CDATA[CraftCMS Flipbuilder Plugin]]> http://localhost/craftcms-flipbuilder-plugin http://localhost/craftcms-flipbuilder-plugin Sat, 30 Jun 18 00:00:00 +0000 CraftCMS Flipbuilder Plugin

Recently, I ran into a problem whereby I needed to incorporate a magazine into a CraftCMS website that had been generated using a neat bit of software by the name of ‘FlipBuilder’. This would be a regular thing, so I was hoping I’d simply be able to drag and drop the outputted files into the templates folder and that it would magically work.

It didn’t.

]]>
<![CDATA[Homebrew mcrypt mismatch PHP Startup: mcrypt: Unable to initialize module]]> http://localhost/homebrew-mcrypt-mismatch-nts-vs-nts-debug http://localhost/homebrew-mcrypt-mismatch-nts-vs-nts-debug Sat, 23 Jun 18 00:00:00 +0000 Homebrew mcrypt mismatch PHP Startup: mcrypt: Unable to initialize module

This has happened to me a few times over the years and I always forget how to fix it. I’m scribbling it down here as much for myself as I am for you.

]]>
<![CDATA[MySQL 5.7.12 / CraftCMS install fix]]> http://localhost/mysql-5-7-12-craft-cms-install-fix http://localhost/mysql-5-7-12-craft-cms-install-fix Wed, 04 May 16 00:00:00 +0000 MySQL 5.7.12 / CraftCMS install fix

I recently upgraded to MySQL 5.7.12 before embarking on a new website build using CraftCMS (which, by the way, is a great bit of kit). I’ve never had a problem installing CraftCMS before, but the install kept failing afer installing version 5.7.12 of MySQL.

]]>
<![CDATA[Why Gulp is Awesome]]> http://localhost/why-gulp-is-awesome http://localhost/why-gulp-is-awesome Tue, 19 Jan 16 00:00:00 +0000 Why Gulp is Awesome

I realised the other day that I had a project that contained 100’s of unminified JS files and decided to look for the most efficient way of automagically minifying them so that a) they are harder to read/unpick and b) the site will run faster; well web-application in this case.

I consulted the forums and got a tip to use ‘Gulp’.

]]>
<![CDATA[My Setup]]> http://localhost/my-setup http://localhost/my-setup Sun, 13 Sep 15 00:00:00 +0000 My Setup

So I thought I’d kick-off my blog with info about my setup; hardware and software. I think it’s safe to say that every developer has their preferences in regards to just about everything when it comes to development; there is an infinite number of ways to get to an end product. My setup comes from my own preferences and is neither better or worse than the next developer’s; it really does come down to personal preference.

]]>