Updating GitHubs SSH Key

Last week GitHub briefly leaked it’s private RSA ssh host key and replaced it with a new one. If you’ve ever cloned a repo from GitHub using the key you’ll get warning that the hosts key has changed and it may have been compromised.

Run the following in a shell to remove the fingerprint of the old key and you’ll be prompted to add fingerprint for the new key next time you access GitHub using ssh.

Vapor SQLite Build Error

I’ve been playing around with Vapor for server side swift development. Having installed Swift on a Raspberry Pi and followed the Getting Started guide to install Vapor and great a basic project, with SQLite support, I got the following compile errors running swift run.

<module-includes>:1:10: note: in fi…Read More

Swift on Ubuntu Server 18.04 & 20.04 LTS

I setup a Ubuntu Server 18.04 LTS VM earlier and this is why. I have some Swift code I want to try running on an Amazon Web Server and needed a playground to get it running.

The Swift Download page has a set of instructions on installing Swift on a Ubuntu install so we’ll run through these.

Updated 27th April 2020: A few days after writing this post Ubuntu released 20.04 LTS. I’ve gone through these instructions in a Ubuntu Server 20.04 LTS VM, and other than a couple of extra dependancies (see below) the install process is the same.

Read More

Installing Ubuntu 18.04 & 20.04 LTS Server in VMWare Fusion

I just setup a Ubuntu Server 18.04 LTS Virtual Machine on VMWare Fusion on my Macbook and whilst the basic process was just following the default steps but there was a few other things I needed to change to get things working. Hence this post.

Read More

Issue Box Dev Diary #3

Major achievement to end the week, there are issues in the issues app! Well the basic details of them anyway. There’s still a lot to sync up yet. Each issue can have comments and attachments which need syncing, along with versions, users, milestones and components to which an issue can be assigned. These all need objects creating in the data store and methods written to pull the information from the REST apis., and then I need to turn around and write methods to put any changes made back into Bitbucket.

Also lacking at this point is any way of seeing the issues in the app. That wil…Read More

Issue Box Dev Diary #2

Spent yesterday and today setting up the initial UI storyboards, Json mapping structures and lots (and lots) of test cases.

I’ve got the point where you can navigate through to the accounts settings screen and add a new Bitbucket account into the system, with a popup web view to prompt for the user authroisation, ready to starting pulling in the repositories and issues through.

Adding a Bitbucket account

Issue Box Dev Diary #1

I started work on a new iOS today I’m calling Issue Box as a working title, it may change before release. It’s designed to allow you to manage software issues logged across projects in Bitbucket, Github and Jira.

Not much to see at the much to see at the moment. Today I’ve been working on getting OAuth support for Bitbucket (as that’s the service I use) and initial data storage layouts for account details.

I’ll post more details and some screenshots as things start to come together.

Robotic Bees Arrive at the ISS

Let's Encrypt Certificates

The Let’s Encrypt project generates free SSL Certificates for websites to allow encrypted traffic between the web server and browser. The current batch of browsers are highlighting unencrypted (non-HTTPS) sites as a possible security risk so setting up the certificates stops the site being flagged unnecessarily.

Read More

New Reminder Using JXA

Here is a quick code snippet for creating new Reminders in a specific list using JavaScript for Automation (JXA) in macOS.

var reminders = Application("Reminders");
var newReminder = reminders.Reminder({ name: "Title for reminder", body: "Notes for the reminder"});
reminders.lists.byName("List Name").reminders.push(newReminder);