Passionate PHP developer, Linux junkie, gamer and coffee aficionado.

Dedicated husband and father of two.

Profile Photo
Seeding is Hard
May 24th, 2018 Code , Laravel , PHP

We've all been there... banging our heads against a wall for 20 minutes wondering why our app isn't working before we realize we forgot to seed our database when running migrations. Okay, easy fix:

$ php artisan migrate --seed
Migration table created successfully.
Migrating: 1996_02_27_123456_create_pokemon_table
Migrated:  1996_02_27_123456_create_pokemon_table
Seeding: PokemonSeederReflectionException : Class PokemonSeeder does not exist
Read More
A small personal accomplishment
April 4th, 2016 Code , Open Source , PHP

While working on a project at work it was necessary to interface with the Okta API for user authentication and authorization. To accomplish this I created, an independent PHP client library. As it stood there were no official or unofficial PHP libraries available for working with the Okta API and I felt it would be beneficial to the community, as well as my employer, to publish this library as an open source project on the company GitHub account. So I talked to some people, sent some emails and ultimately got the legal department to okay it.

Read More
The Witness
February 1st, 2016 Gaming

I'm loving The Witness. It's a beautiful game, and challenges me in a way very different from just about any other puzzle game I can think of. I highly recommend it to anyone looking for a brain teaser and something off the beaten path of modern games.

Read More
CactusCon 2014 CTF Writeup
April 15th, 2014 CTF , Hacking , Linux , PHP
Photo by Markus Spiske on Unsplash
Photo by Markus Spiske on Unsplash

This is a write up to the 2014 CactusCon web application (SpookiLeaks) challenge. You can grab the SpookiLeaks-VM here and try the challenge yourself before reading the solution.

Read More
Postfix: Using Gmail as a Relay Host
July 6th, 2012 Gmail , Linux , Ubuntu

I maintain several Linux servers at any given moment. Every server has postfix installed for sending emails, usually notifications or warning messages of some sort and most of these servers are professionally hosted allowing outbound emails with little to no configuration beyond installing postfix. However, my home server lies behind my ISP and they block all outbound emails citing SPAM as the reason. Regardless of their reasoning I had to find a workaround to allow me to send email notifications from behind my ISP. Well, it turns out this is rather painless with postfix and a Gmail account.

Read More