Skip to content

Instantly share code, notes, and snippets.


Darron Driver darronz

  • Freelancer
  • London, UK
View GitHub Profile
darronz /
Created Sep 2, 2019
Bash script to rebase your current branch on master
# store name of current branch
BRANCH=$(git branch | grep \* | cut -d ' ' -f2)
# checkout master
git checkout master
# pull the latest changes
git pull
darronz / ex.js
Created May 17, 2017 — forked from JeffreyWay/ex.js Episode: Algolia + JavaScript + Vue
View ex.js
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<title>Algolia with JS</title>
<link rel="stylesheet" href="app.css">

Keybase proof

I hereby claim:

  • I am darronz on github.
  • I am darronz ( on keybase.
  • I have a public key ASAyN3RO4QR7pKiJ9D-CpL1oaIvL_iyh_GeBJNqj0VZxAAo

To claim this, I am signing this object:

View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:


start new with session name:

tmux new -s myname
darronz / Setcom Error Code List PHP array
Last active Dec 19, 2015
Setcom Error Code List: 07 July 2013 as a PHP array
View Setcom Error Code List PHP array
$codes = array(
'10000' => array(
'type' => 'Setcom',
'description' => 'Processing error',
'solution' => 'Please contact customer services',
'10101' => array(
'type' => 'Setcom',
darronz / gist:3525070
Created Aug 30, 2012
Homebrew php53 installation fails
View gist:3525070
~ # brew update
Already up-to-date.
~ # brew doctor
Error: Failed to import: abstract-php-extension
Error: Failed to import: php54-apc
Error: Failed to import: php54-gearman
Error: Failed to import: php54-http
Error: Failed to import: php54-igbinary
Error: Failed to import: php54-imagick