Skip to content

Instantly share code, notes, and snippets.

View sterpe's full-sized avatar

Steve Terpe sterpe

View GitHub Profile
@sterpe
sterpe / big.log
Created December 11, 2014 17:49
big.log
Last login: Thu Dec 11 09:46:12 on ttys000
09:49:16 [1002\0] <sterpe@macbook-pro:~> λ cat big.log
+ 1418319988.N /scripts/cli : __rvm_parse_args() 726 > [[ -z '' ]]
+ 1418319988.N /scripts/cli : __rvm_parse_args() 726 > [[ -n '' ]]
+ 1418319988.N /scripts/cli : __rvm_parse_args() 729 > [[ error == '' ]]
+ 1418319988.N /scripts/cli : __rvm_parse_args() 729 > [[ 0 -eq 1 ]]
+ 1418319988.N /scripts/cli : __rvm_parse_args() 729 > [[ -n '' ]]
+ 1418319988.N /scripts/cli : __rvm_parse_args() 15 > [[ -n use ]]
+ 1418319988.N /scripts/cli : __rvm_parse_args() 17 > rvm_token=use
+ 1418319988.N /scripts/cli : __rvm_parse_args() 19 > (( 2 > 0 ))
@sterpe
sterpe / talents.md
Created September 6, 2015 21:51
Proposed talent point expenditures for Mass Effect PS3 play through
Talent Points
Pistol 12
Shotgun 12
Assault Rifle 12
Sniper Rifle 12
Armor 7
Assault Training 12
Fitness 12
Soldier/Commando 12
@sterpe
sterpe / gist:48b4f63ea203fd76c595
Last active July 7, 2016 04:29
compile irssi from source OS X 10.11 El Capitan
# WARNING - this is quite old....updated instructions in comments below.
#!/bin/sh -ex
# See http://fink.cvs.sourceforge.net/fink/dists/10.9-libcxx/stable/main/finkinfo/net/irssi-10.10.info?view=markup
export ARCHFLAGS=""
./configure \
--prefix=/usr/local \
--disable-dependency-tracking \
--with-modules \
--with-ncurses=/usr/local \
"devDependencies": {
"babel-core": "^5.8.25",
"babel-jest": "sterpe/babel-jest",
"browserify-incremental": "^3.0.1",
"bunyan": "^1.5.1",
"jasmine-reporters": "^1.0.2",
"jest-cli": "^0.4.19",
"node-sass": "^3.3.3",
"shelljs": "^0.5.3",
"standard": "^5.3.1",
application-the-grid@0.0.0 /Users/sterpe/git/rp-core/sterpe/buyerui
├─┬ babel-core@5.8.25
│ ├── babel-plugin-constant-folding@1.0.1
│ ├── babel-plugin-dead-code-elimination@1.0.2
│ ├── babel-plugin-eval@1.0.1
│ ├── babel-plugin-inline-environment-variables@1.0.1
│ ├── babel-plugin-jscript@1.0.4
│ ├── babel-plugin-member-expression-literals@1.0.1
│ ├── babel-plugin-property-literals@1.0.1
│ ├── babel-plugin-proto-to-assign@1.0.4
#!/bin/sh
# This is a utility command to clean up the various constants files.
#
# Usage is : ./scripts/constants.sh <file>
# It will alphabetize keys, and if any key is an array, it will
# alphabetize or order that array.
# It does not support multi-level nested objects but objects that
@sterpe
sterpe / irssi.md
Last active October 10, 2016 21:15
Compiling `irssi@` on OS X 10.11 El Capitan

Compile irssi-0.8.19 on OS X 10.11 w/Perl Support

Annotating this because it is such a pain.

My System:

  • OS X El Capitan (10.11.5)
  • Macbook Pro (15-inch, Early 2011)
  • 2 GHz Intel Core i7
  • 16 GB 1333 MHz DDR3
//Get even more oldSKool
L10: var x
L20: var y
L30: var z
L40: x = 1
L50: y = 2
L60: z = 3
L70: console.log(x + y + z)
@sterpe
sterpe / line_length.rb
Last active December 27, 2020 17:34
Overcommit LineLength pre-commit hook
# ./.git-hooks/pre_commit/line_length.rb
#
# E.g.:
# Precommit:
# LineLength:
# enabled: true
# description: Verify source line lengths do not exceed 72 columns
# max: 72
# include: ["src/**/*.*"]
#