Hey I'mPete TaskerProgrammer / Dad / General Handyman

From the Blog

Using async await with jQuery's $.ajax

June 12, 2020

If you’re like me, you’re probably stuck using jQuery more often than not. It’s everywhere, and to be honest it’s a solid, mature library…

Giving Gutenberg a Kick

November 02, 2018

This post is written with WordPress’ new fancy-pants editor, Gutenberg. WordPress version 5.0 is coming out very soon, likely in the next…

Open Source, PHP and Visual Studio Code

November 23, 2017

Lately, VS Code has been getting a lot of hype in the dev community. It’s been around since for a few years and TBH is a really sweet editor…

JavaScript build tooling and the CLI

June 19, 2017

Something that’s come up recently in the front-end world is the topic of a learning curve and JavaScript tooling such and Webpack and Babel…

Hey Linode!

October 19, 2016

After getting my VPS shut down for a second time by Digital Ocean (which apparently was issuing DOS network packets – no further explanation…

MAMP, Xdebug, PHPStorm and symlink madness

July 30, 2016

Ask any PHP developer and they’ll tell you Xdebug is the best thing since sliced bread. While true, it’s also one of the biggest pain in the…

WordPress Jetpack contact forms

May 05, 2016

EDIT, May 9, 2016 I noticed that the form wouldn’t submit when not logged in, so I’ve updated the gist to include a check to see if a user…

ACF Code Field

March 22, 2016

Love the WordPress Advanced Custom Fields plugin, but want a field for adding in code with syntax highlighting? Just released, a new plugin…

Blocking bad IPs

August 20, 2015

This is more an informational post for myself, but here’s some nifty commands that help debug what’s going wrong on a server when things…