Cameron Spear
  • Blog
  • Contact
Cameron Spear

Cameron Spear

43 posts •
Docker

Developing with Docker: Getting Started

This is the first article in a series about Docker and Docker tooling with the aim to give a foundation of developing with Docker. This is a quick guide on how to get

  • Cameron Spear
    Cameron Spear
2 min read
Docker

Adventures in Dockerland

I've been using Docker a lot lately. And I absolutely love it. I have tons to share, and I want to start blogging again (he says every week for a year without doing

  • Cameron Spear
    Cameron Spear
1 min read
amazon

Amazon's Gimmicky Guarantee

I'm actually quite happy with Amazon, but there's one thing that really bothers me: They say they guarantee their Prime shipments[1] to be delivered by a particular date, but what do they

  • Cameron Spear
    Cameron Spear
4 min read

Embracing the npm in All of Us

The site may only look slightly different, but I've completely refactored the backend for the blog to use Ghost as npm module. As part of this, I wrapped the site in a custom

  • Cameron Spear
    Cameron Spear
1 min read

HTTPS 100% of the Time

In a long and (hopefully) interesting series of changes coming to my site (a lot technical, but many things will be visual, too), I have made the switch to use https everywhere and

  • Cameron Spear
    Cameron Spear
1 min read

A DIFFerent, Better Approach to Database Migrations in PHP

I've been giving a lot of thought lately to how I don't particularly like how most PHP frameworks/tools/ORMs handle migrations and how I think we, as a community, can do better.

  • Cameron Spear
    Cameron Spear
7 min read
family

Year in Review

I set out with a goal of writing at least twice per month for a full year (and hopefully to continue that pace beyond that year, but at least for one year!). I

  • Cameron Spear
    Cameron Spear
4 min read

How I Feel About Semicolons in JavaScript

"Hey, what's your policy on using semicolons in JavaScript?" "Never. You don't need'em. Well, for loops. They're required there. "And null loops such as: while (something);. But you probably

  • Cameron Spear
    Cameron Spear
1 min read
zsh

Vagrant SSH Command Shortcut

Vagrant is a tool that is all about distributing a development Virtual Machine (VM) that all the devs on a project can easily set up and so all devs can be working in

  • Cameron Spear
    Cameron Spear
1 min read
angular

Server Grab Pattern

Terrible name, I know. But I've been digging this pattern for succinctly and simultaneously getting data from the server and putting it on the $scope. I present the Server Grab Pattern: // inside a

  • Cameron Spear
    Cameron Spear
1 min read
angular

How cool are $formatters and $parsers?

Angular has this concept in directives called $parsers and $formatters. It's mechanism to be able to format data from model to view so that it's presented in a more human-friendly way to the

  • Cameron Spear
    Cameron Spear
1 min read

Handle AngularJS Form Errors with Ease

Angular 1.3 is just around the corner and with it comes ngMessages. In a lot of ways, it is good and brings a lot to the table in bringing an alternative way

  • Cameron Spear
    Cameron Spear
2 min read

Two New Site Launches

It's been a busy, busy week. Mavrx launched not one, but two ecommerce websites this week. It wasn't planned that way, but just sorta happened. Launching sites—especially ones like ecommerce sites—is

  • Cameron Spear
    Cameron Spear
1 min read

Craft CMS Twig Filter Extension

Craft is an awesome CMS that if you haven't heard of, you should. It's built on the Yii framework (which I haven't really used beyond dabbling with Craft, but I've heard good things)

  • Cameron Spear
    Cameron Spear
2 min read
gulpjs

Streams in Wiredep

wiredep is a neat little Node package that does one pretty awesome thing: it automatically wires up your Bower components to your HTML/(S)CSS based on dependencies (i.e. it automatically includes

  • Cameron Spear
    Cameron Spear
2 min read
config

Homebrew and MySQL Strict Mode

I'm a big fan of the Mac package management tool called Homebrew. But I noticed one little quirk about how it installs MySQL, and I thought I'd blog about to so I can

  • Cameron Spear
    Cameron Spear
2 min read
gulpjs

How to Handle Gulp Watch Errors with Plumber

I've been using Gulp a lot lately and loving it's approach (streams (which I'm stilling wrapping my head around) and the fact that it's "just code," as compared to Grunt's big

  • Cameron Spear
    Cameron Spear
2 min read
ajax

Exactly What IS JSONP?

JSONP, which stands for "JSON with Padding" (and JSON stands for JavaScript Object Notation), is a way to get data from another domain that bypasses CORS (Cross Origin Resource Sharing) rules.

  • Cameron Spear
    Cameron Spear
3 min read
gulpjs

Handling Sync Tasks with Gulp JS

Gulp JS is a build system/task runner geared towards front end web development, and is an up and coming alternative to the popular Grunt JS system. One of the several things that

  • Cameron Spear
    Cameron Spear
2 min read
responsive

How I Approach Responsive Breakpoints

I wanted to quickly outline how I approach actually coding a responsive design, specifically how I handle breakpoints. You may want to also check out my post on how I visually approach/think

  • Cameron Spear
    Cameron Spear
2 min read
javascript

Hash Sync (Angular Directive)

I may have cheated a bit this week. The contents of this article just about mirror the README from this plugin's repo. I wanted to share it nonetheless, and I can't think of

  • Cameron Spear
    Cameron Spear
2 min read
responsive

Mobile: 1st in Design; 2nd in Dev

I've been noticing a trend lately involving Mobile First Design—which is a way to approach Responsive Web Design in a way that focuses more on Mobile (as compared to Desktop), or at

  • Cameron Spear
    Cameron Spear
3 min read
responsive

Responsive Navigation

This article has nothing groundbreaking. It is geared towards developers just getting into HTML/CSS and need help getting started with responsive design implementation. You've seen this cool, "Responsive Web Design"

  • Cameron Spear
    Cameron Spear
4 min read
blog

New (Ghostly) Blog

In an effort to be hip and trendy and to add to a long line of things I've done to try and get me to blog more, I have converted my site to

  • Cameron Spear
    Cameron Spear
1 min read
email

Inbox Zero: Increase your follow-up-ness

I recently switched to Airmail for a better overall mail experience (this is a story for another day, but in summation: still a bit young, but I've found better Gmail integration, and nice

  • Cameron Spear
    Cameron Spear
1 min read
Cameron Spear © 2025
Latest Posts Ghost