Jon Ashcroft

I made a 'Now Playing' screen with Spotify, Raspberry Pi, and ES6

7th Jun 2018

Two things that I've wanted to do for a while was to have a cool Raspberry Pi project and to play with the Spotify API. So why not combine them both? I'm pretty sure this has been done 1000 times before, but sometimes it's fun to build things from scratch,…

How to display your most recent last.fm track with PHP

30th Apr 2018

You may have noticed that in the footer of this website, the album artwork of my most recent track is displayed. This will be a short post about how you can do the same. There are two requirements here: last.fm account (create one) API keys (generate some) This is actually…

One month with Monzo, the digital bank

27th Feb 2018

For the past year or so I've been rapidly switching current accounts to reap the rewards of the switch incentives, and in November 2017 I was recommended B Money, who promote themselves as 'digital banking' (and were offering a £250 switch reward). It was an instant yes from me because I've…

How to efficiently debug WordPress with debug.log

25th Jan 2018

This is just a quick post about a more streamlined method of catching PHP errors using WordPress' built in debugger: When developing with WordPress, most people know of these two definitions that should go in wp-config.php: define( 'WP_DEBUG', true ); define( 'WP_DEBUG_DISPLAY', true ); These definitions are essentially just an…

A guide to setting up RetroArch on the Amazon Fire TV

28th Oct 2017

Something that I’ve been meaning to do for the longest time was to set up a TV based retro gaming emulator – and it turns out that the Amazon Fire TV is a great device for doing this. I think that in an ideal world, this would probably have been…

What is it like to use a Hackintosh?

10th May 2017

hackintosh /ˈhakɪntɒʃ/ noun "Hackintosh is a type of computer in which a non-Macintosh or unsupported computer is converted to run a Mac OS. Hackintosh is a portmanteau of the terms hacking and Macintosh." At the end of 2015, I made the decision to treat myself to a new computer. My…

One month with Apple Watch

3rd May 2017

At the end of March, I got an Apple Watch. So, I thought I'd write a little post about my thoughts on using it after one month. Smartwatches are never something that I thought I'd have. Not because I didn't necessarily want one, but when it came to spending near £300…

Upgrading my Hackintosh from Yosemite to Sierra

30th Apr 2017

For the first time since its initial setup, I decided that it was time to take the plunge and upgrade my hackintosh to Sierra. I'm not gonna lie, it's something that I've been putting off doing for a long time. This is my primary machine, so if something went wrong, I…

How to bulk import users into WordPress with WP-CLI

23rd Mar 2017

Recently, I was tasked with importing around 20,000+ users from a CSV file into WordPress. I spent some time trying out plugins to achieve this, but ran into nothing but trouble. Some would time-out, some would require 'premium' versions to import what I needed, and some would straight up not work.…

Weekend in Manchester

31st Jan 2017

In a vein effort to extend this blog well past the realm of tech related posts, I figured I'd get the ball rolling and post my first 'lifestyle' blog post on here - and what better way to start with our recent trip to Manchester?! I had the pleasure of visiting…

Wordpress URL Replace SQL Wizard

2nd Nov 2016

On all of my projects, I've been using a very useful Wordpress SQL Wizard that I found to replace my Wordpress URLs when migrating from the dev environment. It's great - but if you don't use the default database prefix, you'll have to do a find and replace for your prefix (and…

How to start and stop MAMP server from Terminal

11th Oct 2016

I'm always looking for more ways to streamline my development process, and recently I've found myself getting mildly annoyed with having to launch the MAMP GUI anytime I wanted to begin building - so why not stop & start the servers via Terminal? Turns out, this can easily be done…