This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e # error early | |
REPO_LOCATION=/Users/desmondbrand/github/flexport | |
prettierify_branch() { | |
branch=$1 | |
echo '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// converts commonJS requires to es6 imports | |
// var foo = require('foo'); | |
// -> | |
// import foo from 'foo'; | |
// | |
// jscodeshift -t requiresToImports.js src/**/*.js* | |
'use strict'; | |
module.exports = function(fileInfo, api) { | |
var j = api.jscodeshift; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Delivered-To: michael.s.burdick@gmail.com | |
Received: by 10.96.136.195 with SMTP id qc3csp48178qdb; | |
Fri, 21 Mar 2014 15:06:20 -0700 (PDT) | |
Return-Path: <33LcsUwwJEZ0HE7K-797ABJVDJ7FI.9LJJF9E7BI.P.8ROAF9HDJ7FI.9LJ@7SJ3MYH53AKEO4JRJXH7WZWH.apphosting.bounces.google.com> | |
Received-SPF: pass (google.com: domain of 33LcsUwwJEZ0HE7K-797ABJVDJ7FI.9LJJF9E7BI.P.8ROAF9HDJ7FI.9LJ@7SJ3MYH53AKEO4JRJXH7WZWH.apphosting.bounces.google.com designates 10.67.21.145 as permitted sender) client-ip=10.67.21.145 | |
Authentication-Results: mr.google.com; | |
spf=pass (google.com: domain of 33LcsUwwJEZ0HE7K-797ABJVDJ7FI.9LJJF9E7BI.P.8ROAF9HDJ7FI.9LJ@7SJ3MYH53AKEO4JRJXH7WZWH.apphosting.bounces.google.com designates 10.67.21.145 as permitted sender) smtp.mail=33LcsUwwJEZ0HE7K-797A |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Delivered-To: michael.s.burdick@gmail.com | |
Received: by 10.96.136.195 with SMTP id qc3csp47195qdb; | |
Fri, 21 Mar 2014 14:38:21 -0700 (PDT) | |
Return-Path: <3TLEsUwwJEQElibo-bdbefnzhnbjm.dpnnjdibfm.t.cvsejdlhnbjm.dpn@7SJ3MYH53AKEO4JRJXH7WZWH.apphosting.bounces.google.com> | |
Received-SPF: pass (google.com: domain of 3TLEsUwwJEQElibo-bdbefnzhnbjm.dpnnjdibfm.t.cvsejdlhnbjm.dpn@7SJ3MYH53AKEO4JRJXH7WZWH.apphosting.bounces.google.com designates 10.66.219.69 as permitted sender) client-ip=10.66.219.69 | |
Authentication-Results: mr.google.com; | |
spf=pass (google.com: domain of 3TLEsUwwJEQElibo-bdbefnzhnbjm.dpnnjdibfm.t.cvsejdlhnbjm.dpn@7SJ3MYH53AKEO4JRJXH7WZWH.apphosting.bounces.google.com designates 10.66.219.69 as permitted sender) smtp.mail=3TLEsUwwJEQElibo-bdbe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am dmnd on github. | |
* I am dmnd (https://keybase.io/dmnd) on keybase. | |
* I have a public key whose fingerprint is 1AF0 D825 8E39 6902 9521 F2BD 4027 B10C 50F1 9FA5 | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Makes it easy to pick a reviewer by showing who authored lines you changed | |
in a commit. You better have `git findreviewers` installed. | |
This is a Python script because every single time I try to write a shell | |
script, I regret it and have to rewrite. | |
""" |