Hey Linode!

After getting my VPS shut down for a second time by Digital Ocean (which apparently was issuing DOS network packets – no further explanation from DO), I decided to give Linode another whirl. And here we are. Running Ubuntu 16.04 LTS and it’s a smooth…

MAMP, Xdebug, PHPStorm and symlink madness

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 asses to setup. I’ve probably set it up, in various incarnations, close to 10 times. There’s always something…

WordPress Jetpack contact forms – AJAX

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 is logged in.  Jetpack is awesome for a lot of things. Unfortunately, one of the things…

ACF Code Field

Love the WordPress Advanced Custom Fields plugin, but want a field for adding in code with syntax highlighting? Just released, a new plugin that adds a code editor field option to ACF. Download it at: https://github.com/ptasker/acf-code-field  

Linux – Blocking bad IPs

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 aren’t going right. netstat -t netstat -tn These are good for watching WHO is hitting your server and what their IP…

NodeJS Christmas trees and Promises

Lately, I’ve been getting more into NodeJS development and playing with various aspects of it. It’s a refreshing change from a mostly PHP oriented job and is uniquely challenging but familiar because of Javascript. One of the early struggles I had with the framework was…

WordPress security – Tools and third-party services

(This is part 1 of a series on WordPress security) Online security is has been gaining alot of attention in the media recently, and with good reason. With much of our lives now taking place online, security is something that effects all of us. The recent…