• Automatic deployments with git on shared hosting

    git, workflow

    Using git hooks to automatically deploy sites

    January 23, 2017

    Occasionally I’ll pick up smaller development jobs outside of work. Usually these jobs follow a standard template: WordPress on shared hosting with a theme already in place. And up until now, my workflow for these jobs looked similar: spin up a new WordPress instance, download their theme, create a child...

    Read more
  • Search and replace across files in Vim

    workflow, vim

    Using buffers to search and replace across your project in Vim

    January 09, 2017

    Happy New Year! Let’s get 2017 started right with some Vim tips to increase your productivity when refactoring code on projects. Today we’re focusing on finding and replacing across your project directory. Vim doesn’t have built-in commands for project-wide search and replace, but it does provide the building blocks for...

    Read more
  • asdf version manager

    workflow

    Use asdf to manage different versions of every language you know

    November 25, 2016

    First, the TL;DR: check out asdf! I first began web development as a “PHP” developer (if it could be called that): editing and creating new WordPress themes and writing the ugliest procedural code you could imagine. There were no worries of object-oriented programming (OOP), no opinions formed about which framework...

    Read more
  • Flynn + DigitalOcean for easily running applications

    workflow

    Configure a platform for running apps in seconds on your own servers using Flynn

    October 20, 2016

    I’ve written several toy apps over the years, created in Rails, Sinatra, Laravel, and, most recently, Phoenix + Elixir. Though I think it’s a great exercise getting your app running on a production server somewhere, for apps like mine which are, in most cases, prototypes or portfolio examples, something like...

    Read more
  • Configure Vagrant to test emails using Gmail

    vagrant, workflow

    Send emails from your local Vagrant box using Postfix and Gmail

    October 15, 2016

    This walkthrough assumes you have a Gmail account. If you are using another email provider that utilizes SMTP, skip to the bottom of this tutorial for a list of files that will need to be updated with your provider’s SMTP information. Occasionally you might need to test PHP email functionality...

    Read more
  • My old friend, vim; or, there and back again

    workflow, vim, tmux

    Switching back to vim after a brief affair with emacs...

    September 02, 2016

    For the last couple of months, I’ve been attempting to adjust my workflow to Emacs. The Elixir community seems really on board with Emacs, with some notable vim users switching over (Chris McCord, developer of Elixir’s Phoenix framework, among others). And I really, honestly tried. But… I just couldn’t do...

    Read more
  • Electron

    development

    Create native applications using HTML, CSS and JavaScript

    August 24, 2016

    Electron Create native cross-platform applications using HTML, CSS and JavaScript If the idea of creating native applications using the same tools you’re using for front-end developement sounds up your alley, electron is for you. Electron is a relatively new development offering by GitHub which allows you to create serious desktop...

    Read more
  • Removing com.apple.quarantine from a file or directory

    mac

    Troubleshooting weirdly specific mac permissions issues

    June 23, 2016

    Today I was working on a new Magento 1.x install. A new install workflow usually goes like this: Download a zip of the newest Magento 1.x release Extract the contents into the folder of choice Update app/etc/local.xml to point to the correct database Add a new virtual host in my...

    Read more