Skip to content

Instantly share code, notes, and snippets.


Aubrey Taylor aubricus

View GitHub Profile
aubricus /
Last active Jan 29, 2019 — forked from excenter/rune.bash
Mojave pyenv update
export LDFLAGS="-L/usr/local/opt/sqlite/lib -L/usr/local/opt/zlib/lib"
export CPPFLAGS="-I/usr/local/opt/sqlite/include -I/usr/local/opt/zlib/include"
xcode-select --install
brew update
brew upgrade
brew install zlib
pyenv install 3.7.1
pyenv global 3.7.1
aubricus / put-inside-functions.php
Created Nov 20, 2018 — forked from gilzow/put-inside-functions.php
Removes user endpoints from WordPress REST API
View put-inside-functions.php
* Remove API Endpoints
* Clobber API routes to remove them from public access.
function remove_wp_json_api_endpoints($endpoints) {
$toRemove = array(
aubricus /
Last active Nov 29, 2016 — forked from Jaza/Private-pypi-howto
Guide for how to create a (minimal) private PyPI repo, just using Apache with directory autoindex, and pip with an extra index URL.
aubricus / perfect-pixel-custom-style.css
Last active Dec 4, 2015 — forked from anonymous/perfect-pixel-custom-style.css
Custom styles for PerfectPixel Chrome Extension
View perfect-pixel-custom-style.css
#chromeperfectpixel-panel button {
padding: 0.7em;
border-radius: 0 !important;
background: #dedede !important;
#chromeperfectpixel-panel #chromeperfectpixel-panel-header {
height: 33px !important;
background: #dedede !important;
View gist:6274321
cd /usr/local
sudo chown -R `whoami`:admin ./
git reset --hard
git clean -fd
cd ~
brew update
aubricus /
Last active Mar 4, 2020 — forked from yuvadm/
Using Fabric to connect to the remote server via an ssh config.
from fabric.api import env
env.use_ssh_config = True
env.forward_agent = True
env.roledefs = {
# key # hostname from config
'foo': ['foo.production'],
aubricus / core.test.js
Created Feb 16, 2013 — forked from drewwells/core.test.js
QUnit with Requirejs integration.
View core.test.js
//Wait for relevant code bits to load before starting any tests
define(['core.js'], function( core ) {
module("Core Tests");
test("Test core methods", function(){
equals( 1, 1, "A trivial test");
ok( true, "Another trivial test");
aubricus / gist:3252373
Created Aug 3, 2012 — forked from dinopetrone/gist:3252273
fizbuzz on crack
View gist:3252373
var fb = {
var index = this.count();
var total =;
console.log(total + ':' + this.fbArr[index])
if(typeof(arguments.callee.index) == 'undefined')arguments.callee.index =-1;
arguments.callee.index ++;