Skip to content

Instantly share code, notes, and snippets.

View mtibben's full-sized avatar

Michael Tibben mtibben

View GitHub Profile
@mtibben
mtibben / gist:7078931
Last active August 22, 2017 15:19
sublime-phpcs cheatsheet

sublime-phpcs cheatsheet

Install dependencies

brew tap homebrew/dupes
brew tap josegonzalez/homebrew-php
brew install php53 php-cs-fixer php-md php-code-sniffer
php-cs-fixer self-update
@mtibben
mtibben / dev_job_ad.md
Last active December 16, 2015 00:59 — forked from lox/dev_job_ad.md

Wanted: Talented Web Application Developers with a keen interest in product development and a solid background in PHP, Ruby, Python or Go.

For this position, you'll need:

  • 3+ years industry experience
  • lots of experience with object-oriented techniques
  • experience with git, or equivelent dvcs
  • passion for writing code the right way

Working for 99designs, you'll get

@mtibben
mtibben / gist:4949919
Created February 14, 2013 01:20
Hook to tell you when to run a composer install. Put this in your .git/hooks/post-checkout
#!/usr/bin/env bash
file="composer.lock"
if [[ $(git diff HEAD@{1}..HEAD@{0} -- "${file}" | wc -l) -gt 0 ]]; then
echo
echo -e "======> \033[33m${file}\033[0m has changed! Execute \033[32mcomposer install --dev\033[0m"
echo
fi