Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View bw-matthew's full-sized avatar

Matthew Franglen bw-matthew

View GitHub Profile
@bw-matthew
bw-matthew / replace-labels.js
Last active February 7, 2017 15:54 — forked from qubyte/replace-labels.js
Replace labels for a repo with standard set.
var token = '<insert token>';
var owner = '<insert owner>';
var repo = '<insert repo>';
var newLabels = [
{color: 'e10c02', name: 'Don\'t merge'},
{color: '3ad5e0', name: 'Passed QA'},
{color: '207de5', name: 'Passed review'},
{color: '02e10c', name: 'Waiting for branch'},
{color: 'eb6420', name: 'Waiting for QA'},
" static-import.vim - Add static imports
" Maintainer: Matthew Franglen
" Version: 0.0.1
if exists('g:loaded_static_import') || &compatible
finish
endif
let g:loaded_static_import = 1
if ! exists('g:static_import_search_dir')
(defmacro ☺ [expression] (println expression))
(☺ "I'm OG!")
@bw-matthew
bw-matthew / gist:d52f17294f292135e93f
Last active August 29, 2015 14:22
Clojure vimrc
" Guard against loading this twice. This does mean you cannot do:
" source $MYVIMRC
" to pick up changes, but that isn't usually what you want anyway (it does not
" clear existing settings that are no longer being set).
if ( exists('g:loaded_vimrc') && g:loaded_vimrc )
finish
endif
let g:loaded_vimrc = 1
function s:Main()