Skip to content

Instantly share code, notes, and snippets.

View alexbbt's full-sized avatar

Alexander Bell-Towne alexbbt

View GitHub Profile
@alexbbt
alexbbt / requirements.txt
Last active June 1, 2018 23:49
Export slack messages in the same format as the standard slack export
Slacker
argparse

Keybase proof

I hereby claim:

  • I am alexbbt on github.
  • I am alexbbt (https://keybase.io/alexbbt) on keybase.
  • I have a public key ASBoeYS2vL0Bifhxcxtw_oFueJmnT5fI4Y0LNZo2pgDFpwo

To claim this, I am signing this object:

@alexbbt
alexbbt / gbi
Created August 11, 2016 01:43
Interactive Git Branch Selector
#!/bin/bash
TITLE="Branch Selector"
MENU="Select a branch to checkout:"
OPTIONS=()
tempBranches=()
BRANCHES=()
eval "$(git for-each-ref --shell --format='tempBranches+=(%(refname))' refs/heads/)"
@alexbbt
alexbbt / gbd
Last active August 11, 2016 01:38
Interactive way to delete Git branches
#!/bin/bash
interactive=0
manual=0
list=0
branches=()
response=""
shouldDelete=0
function usage() {