Skip to content

Instantly share code, notes, and snippets.

View johnblackmore's full-sized avatar
🤓
Always working from home

John Blackmore johnblackmore

🤓
Always working from home
View GitHub Profile
@johnblackmore
johnblackmore / Contract Killer 3.md
Created August 16, 2018 12:24 — forked from malarkey/Contract Killer 3.md
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post

@johnblackmore
johnblackmore / gist:293bff7b072221b634e3e3b6233e347f
Created November 5, 2016 16:07
Faulty Fitbit Aria Serial Dump
AppSm_ProvStateProcess 0x1
provis_interact: pAppSm->state = 1
AppSm_ProvStateProcess 0x1
backlight: 80
backlight: 80
Batt:
@johnblackmore
johnblackmore / rabbit-on-scotchbox.md
Last active October 5, 2016 07:13
Installing RabbitMQ on Scotchbox

RabbitMQ PHP Examples

Prerequisites

  • VirtualBox
  • Git
  • Composer

VM Setup

In a new directory clone the Scotchbox repo and build the VM.

RasPi Local Information Board

Turning the HDMI output off

sudo tvservice -o

Turning the HDMI output on

@johnblackmore
johnblackmore / jobspec.md
Last active August 20, 2017 11:03
PHP Developer Job at Upad

Talented PHP Developers with Laravel Experience (x3)

Upad are Hiring! We are looking for talented PHP Developers to help grow our tech team. You will be working to help migrate our legacy Zend components application over to Laravel using Modern PHP best practises. Led by someone who's "done it all before" we have the plan, we know what we want to achieve and how we are going to get there.

We are looking for experienced PHP developers in particularly mid-level or senior, although we also have roles for emerging talent so if you're looking to move into your second or third PHP job, we have roles for you too.

We are primarily looking for candidates based in the UK and are especially interested in hearing from people in the South-West. This is a full time permanent position and you must be eligible to work in the UK to apply.

The Platform

@johnblackmore
johnblackmore / 0_reuse_code.js
Created March 12, 2016 20:10
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@johnblackmore
johnblackmore / arduino_gps.md
Last active August 29, 2015 14:21
Arduino Ublox GPS
@johnblackmore
johnblackmore / elm327.md
Last active May 24, 2018 22:42
ELM323/327 OBD2 Playground

ELM323/327 OBD2 Playground

This document is designed around connecting to a 2005 Volkswagen Passat TDi (B5.5) but with slight modification should work for most OBD2 compliant cars.

The EML chipsets can be controlled using AT commands. These set configuration options on the OBD2 connector, such as which protocol to use communicating with the vehicle.

I will be using a generic bluetooth module with an ELM327 v2.1 chipset, and an ELM323 v2.0 USB cable.

Bluetooth Connection

@johnblackmore
johnblackmore / mood light.md
Last active August 29, 2015 14:17
Arduino IR Mood Light
@johnblackmore
johnblackmore / pre-commit
Created March 3, 2015 21:41
PHP linting pre-commit hook (save to .git/hooks/pre-commit)
#!/bin/bash
git diff --cached --name-status --diff-filter=ACMR | while read STATUS FILE; do
if [[ "$FILE" =~ ^.+(php|inc)$ ]]; then
php -l "$FILE" 1> /dev/null
if [ $? -ne 0 ]; then
echo "Abort! Files failed syntax check" >&2
exit 1
fi
fi