Skip to content

Instantly share code, notes, and snippets.

View zjr's full-sized avatar
🐿️

Zachary J. Rollyson zjr

🐿️
  • Aardonyx Software
  • Asheville, North Carolina, USA
View GitHub Profile
@zjr
zjr / autoPatchMoved.sh
Last active April 10, 2019 15:51
Shell script to automatically path moved files.
#!/usr/bin/env bash
set -e
# Establish the base comparison revision, update your branch for comparing to HEAD.
branch=chartreux
base=$(git merge-base head ${branch})
# Conflicts listed line by line in format of `<old path> <new path>`, careful to note the space between.
conflicts="oldFilePath1.js newFilePath1.js
@zjr
zjr / killPort.sh
Created March 1, 2017 19:31
command chain for killing node on a port
lsof -i :5093 | awk '$1 == "node" {print $2}' | xargs kill -9
@zjr
zjr / killPort.sh
Created March 1, 2017 19:31
command chain for killing node on a port
lsof -i :5093 | awk '$1 == "node" {print $2}' | xargs kill -9
@zjr
zjr / html5boilerplate.jade
Last active December 15, 2015 03:09 — forked from xtian/html5boilerplate.jade
Fork geared towards using RequireJS.
!!! 5
//if lt IE 7
<html class="no-js lt-ie9 lt-ie8 lt-ie7">
//if IE 7
<html class="no-js lt-ie9 lt-ie8">
//if IE 8
<html class="no-js lt-ie9">
//[if gt IE 8]><!
html(class='no-js')
//<![endif]