Skip to content

Instantly share code, notes, and snippets.

View acouch's full-sized avatar

Aaron Couch acouch

  • Philadelphia, PA
View GitHub Profile
we all travel through the story of robert couch
we all travel through the sound of his voice
the sound of him saying "grits"
not just what he meant when he said grits
but his look of disgust when at a diner
[alias]
co = checkout
st = status
cm = commit -m
pu = !git push origin `git rev-parse --abbrev-ref HEAD`
po = push origin
lgq = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lg = log --color --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -50
pf = push -f origin
rsh = !git reset --hard origin/`git rev-parse --abbrev-ref HEAD` && git pull
language: php
dist: bionic
notifications:
email:
on_success: never
on_failure: never
before_install:
# turn off XDebug for speed up
@acouch
acouch / .bashrc
Last active April 23, 2020 10:25
# Shared and expanded history.
HISTCONTROL=ignoreboth
shopt -s histappend
HISTSIZE=100000
HISTFILESIZE=100000
export PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND"
bind '"\e[A":history-search-backward'
bind '"\e[B":history-search-forward'
{
"_links": {
"self": {
"href": "http:\/\/d8composer.docksal\/node\/1?_format=hal_json"
},
"type": {
"href": "http:\/\/drupal.org\/rest\/type\/node\/article"
},
"http:\/\/drupal.org\/rest\/relation\/node\/article\/revision_uid": [
{
this morning i shaved
because i had barely slept the night before
the outline of my chin in the mirror
stood as a fresh excuse for my eyes
which were still bloodshot
it was two and a half hours later
when my dad stopped breathing
a doctor in blue scrubs visited us
in the waiting room
leaned down to make eye contact
# java -jar /usr/share/jenkins/jenkins.war
Running from: /usr/share/jenkins/jenkins.war
webroot: $user.home/.jenkins
Oct 26, 2018 10:51:41 AM org.eclipse.jetty.util.log.Log initialized
INFO: Logging initialized @593ms to org.eclipse.jetty.util.log.JavaUtilLog
Oct 26, 2018 10:51:41 AM winstone.Logger logInternal
INFO: Beginning extraction from war file
Oct 26, 2018 10:51:41 AM org.eclipse.jetty.server.handler.ContextHandler setContextPath
WARNING: Empty contextPath
ahoyapi: v1
version: 0.0.0
commands:
setup:
usage: Setups sites settings
cmd: |
# Create an array with the arguments that were input.
ARGS=( {{args}} )
rm -f assets/sites/default/settings.docker.php
rm -f assets/sites/default/settings.local.php
@acouch
acouch / apelectionresultspec.md
Last active August 10, 2016 11:49
AP Election Result Specification
@acouch
acouch / president.csv
Last active August 10, 2016 10:28 — forked from dwillis/president.csv
OpenElections Results Spec Version 2
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 14 columns, instead of 7. in line 8.
election_id,division,office_name,office_district,given_name,additional_name,family_name,suffix_name,other_names,party,winner,write-in,votes,pct
md-2012-11-06-general,ocd-division/country:us/state:md,President,,Barack,,Obama,,Barack Obama,DEM,TRUE,,1218709,59.19
md-2012-11-06-general,ocd-division/country:us/state:md,President,,Mitt,,Romney,,Mitt Romney,REP,,,792564,38.49
md-2012-11-06-general,ocd-division/country:us/state:md,President,,Gary,,Johnson,,Gary Johnson,LIB,,,25303,1.23
md-2012-11-06-general,ocd-division/country:us/state:md,President,,Jill,,Stein,,Jill Stein,GRN,,,13817,0.67
md-2012-11-06-general,ocd-division/country:us/state:md,President,,Tiffany,Renee,Briscoe,,Tiffany Renee Briscoe,DEM,,TRUE,13,0
md-2012-11-06-general,ocd-division/country:us/state:md,President,,Dennis,,Knill,,Dennis Knill,DEM,,TRUE,2,0
md-2012-11-06-general,ocd-division/country:us/state:md,President,,Matthew,,Lydick,,Matthew Lydick,REP,,TRUE,17,0
md-2012-11-06-general,ocd-division/country:us/state:md,President,,Barbara,A.,Prokopich