Skip to content

Instantly share code, notes, and snippets.

@mdlawson
mdlawson / Code.gs
Last active September 15, 2015 14:21
Google script for slack invites, deploy on https://script.google.com
function doGet(e) {
var response = UrlFetchApp.fetch("https://" + SLACK_TEAM_NAME + ".slack.com/api/users.admin.invite", {
"method" : "post",
"payload": {
"token": SLACK_API_TOKEN,
"set_active": "true",
"email": Session.getActiveUser().getEmail(),
}
});
var result = JSON.parse(response.getContentText());
@mdlawson
mdlawson / keybase.md
Last active September 28, 2016 22:53
keybase.md

Keybase proof

I hereby claim:

  • I am mdlawson on github.
  • I am mdlawson (https://keybase.io/mdlawson) on keybase.
  • I have a public key whose fingerprint is 0DF6 B13E D6E7 CD09 285F 9EB8 8B90 A4DF E816 05A1

To claim this, I am signing this object: