Skip to content

Instantly share code, notes, and snippets.

View acouch's full-sized avatar

Aaron Couch acouch

  • Philadelphia, PA
View GitHub Profile
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'
[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
{
"_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": [
{
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
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
We can make this file beautiful and searchable if this error is corrected: It looks like row 4 should actually have 15 columns, instead of 6 in line 3.
id,year,start_date,end_date,division,results_type,election_type,party,special,offices,reporting_levels,vote_types,notes,source_url,updated_at
md-2012-04-03-primary-democratic,2012,4/3/2012,4/3/2012,ocd-division/country:us/state:md,Certified,Primary,Democratic,FALSE,President,Senate,House,"Early Voting,Early Voting, Absentee and Provisional vote counts are not reported at the precinct level; those counts are only included in the county level files.",http://www.elections.state.md.us/elections/2012/election_data/index.html,2013-05-24 00:00:00-05:00
md-2012-04-03-primary-republican,2012,4/3/2012,4/3/2012,ocd-division/country:us/state:md,Certified,Primary,Republican,FALSE,President,Senate,House,Absentee and Provisional vote counts are not reported at the precinct level; those counts are only included in the county level files.,http://www.elections.state.md.us/elections/2012/election_data/index.html,2013-05-24 00:00:00-05:00
md-2012-04-03-primary-republican,2012,4/3/2012,4/3/2012,ocd-division/country:us/state:md,Ce