Setting Up CloudFlare SSL for Laravel on Heroku

CloudFlare. Laravel. Heroku. Despite being the keywordiest article title I’ve ever written, I really did have to solve this exact problem recently, and it took me longer than I’m proud to admit. Let’s face it: SSL is a pain in the ass. At least it is when…

What Exactly is Backend Web Development?

As a backend developer, I get this question a lot. I’m sure a lot of other backend developers get it more than they’d like as well. Because the web development process is such a mystery to the majority of people outside of the industry, it is a common…

How to Force Installation of Vagrant Plugins

Vagrant is an amazing tool for local development, especially in the case of distributed teams. It allows for complete parity between every team member’s development environment without forcing anyone to follow a complicated list of environment setup steps. Vagrant’s plugin support is also excellent, as it provides for…

PHP Queue and Stack Implementations

Continuing on my job interview study session binge, the next two data structures I have built using PHP are the traditional queue and stack. In computer science, stacks and queues typically go hand in hand, however they are opposite implementations of each other. A queue is a first-in-first-out data structure.…

Quickly Determine If Two Strings Are Anagrams in PHP

When interviewing with tech companies, there are a LOT of questions involving anagrams. While there are many different approaches to solving these questions, here is a simple one-line function that can determine whether or not two strings are anagrams in PHP. This approach utilizes the built-in PHP function, count_chars(…

A Linked List Implementation in PHP

For the past few weeks, I have been going through the process of applying and interviewing with some amazing companies, the most exciting of which has been Facebook. Interviewing with Facebook has been an incredible experience which has challenged my knowledge of software development and computer science in so many…

Running Django Automatically in Vagrant Using Puppet

Recently, I set up a Vagrant box that was running Django, the Python-based web framework. One thing I quickly learned is that Django cannot run as a daemon. After hours of Googling and stressing out, I remembered one of my favorite tools: GNU Screen. GNU Screen is a terminal-based window…