Skip to content

Instantly share code, notes, and snippets.

Arron Mabrey arronmabrey

Block or report user

Report or block arronmabrey

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
arronmabrey /
Created Apr 18, 2017 — forked from endersonmaia/
rbenv install and system wide install on Ubuntu 12.04
# Update, upgrade and install development tools:
apt-get update
apt-get -y upgrade
apt-get -y install build-essential
apt-get -y install git-core
# Install rbenv
git clone git:// /usr/local/rbenv
# Add rbenv to the path:
View ios-type2phone-cli.swift
#!/usr/bin/env swift
import Foundation
print("Enter keycode to send: ", terminator: "")
if let keycode = readLine() {
print("set keycode = \(keycode)")
arronmabrey / spacemacs-git-gutter-with-linum.el
Last active May 10, 2019
Config git-gutter with linum in Spacemacs
View spacemacs-git-gutter-with-linum.el
(defun dotspacemacs/layers ()
'((version-control :variables
version-control-global-margin t
version-control-diff-tool 'git-gutter
(defun dotspacemacs/init ()
arronmabrey /
Last active Jul 17, 2016
graphviz hello world
digraph {
hello [color=red]
world [shape=box color=green]
hello -> gist1
a [color=purple]
b [shape=box color=pink]
c [color=blue]
arronmabrey / gist:95f1b59c8d0d60d68cb9
Created Feb 29, 2016
amazon order/item csv merge
View gist:95f1b59c8d0d60d68cb9
mlr --icsv --ocsv cut -o -f "Order ID","Title","Item Total" then put '$Title=gsub($Title, "\"", "")' items.csv > tmp-items.csv && mlr --icsv --ocsv cut -o -f "Order Date","Order ID","Total Charged","Payment Instrument Type" then nest --implode --values --across-records -f "Total Charged" orders.csv > tmp-orders.csv && mlr --icsv --ocsv join -u -j "Order ID" --lp order_ --rp item_ -f tmp-orders.csv tmp-items.csv > merged.csv && rm tmp-orders.csv tmp-items.csv
View shasum-snippet.txt
find . -type f -print0 | xargs -0 shasum -a 256 | tee shasum256-check.txt
shasum -a 256 -c shasum256-check.txt | tee shasum256-scan.txt
View livereload-hotjsloader.js
"use strict";
(function() {
window.LiveReloadPluginHotJSLoader = (function() {
LiveReloadPluginHotJSLoader.identifier = 'livereload-hotjsloader';
LiveReloadPluginHotJSLoader.version = '1.0';
function LiveReloadPluginHotJSLoader(window, host) {
this.window = window; = host;
arronmabrey / explode_paths.rb
Last active Feb 19, 2016
View explode_paths.rb
# Inspiration:
def explode_paths(input, klass: Hash, key_delimiter: '__', key_transform: ->(key) { key.to_sym })
recursive_hash = { |hash, key| hash[key] = }
result = input.to_h.reduce(recursive_hash) do |recursive_acc, (input_key_path, input_value)|
keys = input_key_path.to_s.split(key_delimiter).map(&key_transform)
tree = {|key| [:[], key] }
tree.push([:[]=, tree.pop[1], input_value])
tree.reduce(recursive_acc) do |acc, tree_node|
arronmabrey / index.html
Created Aug 16, 2014
A Pen by Arron Mabrey.
View index.html
<div id="menu-icon">#menu-icon (click me)</div>
<div id="mobile-menu">
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-16">
<a href="">About Us</a>
<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-79">
<a href="#">Services</a>
<ul class="sub-menu">
<li class="menu-item menu-item-type-post_type menu-item-object-service-locations menu-item-195">

Keybase proof

I hereby claim:

  • I am arronmabrey on github.
  • I am arronmabrey ( on keybase.
  • I have a public key whose fingerprint is C62B 9CD3 263A CC9A 5BCF 3301 B39C 72CF 3B43 0F0B

To claim this, I am signing this object:

You can’t perform that action at this time.