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
eisisig /
Created Nov 18, 2016
convert multiple repos to monorepo
# Merge multiple repositories into one big monorepo. Migrates every branch in
# every subrepo to the eponymous branch in the monorepo, with all files
# (including in the history) rewritten to live under a subdirectory.
# To use a separate temporary directory while migrating, set the GIT_TMPDIR
# envvar.
# To access the individual functions instead of executing main, source this
choppsv1 / emacs-24.5-24bit.diff
Created May 17, 2015
True color (24-bit) terminal support for Emacs 24.5
View emacs-24.5-24bit.diff
This diff is a modified version of a diff written by Rüdiger Sonderfeld.
The original diff can be found here:
To enable the feature one must set one of 2 environment variables either
ITERM_24BIT or KONSOLE_DBUS_SESSION. The former will enable ITU T.416 mode, the
latter will use semi-colon seperators used by other terminals (and also
supported by iterm development branch).
mmetince / gist:b0d44cc14e4c4c10cd64
Last active May 8, 2019
Kibana with Nginx Reverse Proxy + SSL + HTTP Auth
View gist:b0d44cc14e4c4c10cd64
# Nginx proxy for Elasticsearch + Kibana
# In this setup, we are password protecting the saving of dashboards. You may
# wish to extend the password protection to all paths.
# Even though these paths are being called as the result of an ajax request, the
# browser will prompt for a username/password on the first request
# If you use this, you'll want to point config.js at http://FQDN:443/ instead of
# http://FQDN:9200
thewellington /
Last active Oct 27, 2018
Prevent CrashPlan from de-duplicating data on a Mac. Improves transfer speed! #mac #blog #crashplan
# for Macintosh OS X 10.9 (and probably earlier versions)
# This script will prevent CrashPlan from de-duplicating data on files greater than 1k.
# Based on information from
# NOTE: Must be run with sudo! IE: $ sudo sh ./crashplanFixup
# v1.1 2014-03-13 by
arronmabrey / hidpi.txt
Created Aug 11, 2012 — forked from simX/hidpi.txt
Enable HiDPI mode in Mountain Lion w/o Quartz Debug
View hidpi.txt
sudo defaults write /Library/Preferences/ DisplayResolutionEnabled -bool YES;
sudo defaults delete /Library/Preferences/ DisplayResolutionDisabled;
// by the way, you need to logout and log back in for this to take effect. Or at least that's what
// Quartz Debug says. Who knows, maybe it's lying?
// P.S. Go to [Apple menu --> System Preferences --> Displays --> Display --> Scaled] after logging
// back in, and you'll see a bunch of "HiDPI" resolutions in the list to choose from.
futureshocked / Bash
Created Jun 12, 2010
This is an example on how to use MacRuby to read/write CoreData records. Tested with MacRuby 0.6 on Mac OS X 10.6.3.
View Bash
$ /Developer/usr/bin/momc simpleTextMessageModel.xcdatamodel
You can’t perform that action at this time.