This file contains hidden or 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
import csv | |
import os | |
import requests | |
import sys | |
# Verify the org name variable has been passed | |
sys_args = sys.argv | |
if len(sys_args)==1: | |
print("Please provide the GitHub org name") | |
print("{} <github-org>".format(sys_args[0])) |
This file contains hidden or 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
s |
This file contains hidden or 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
import json | |
from twitter import * | |
# Twitter app credentials | |
token = "..." | |
token_secret = "..." | |
consumer_key = "..." | |
consumer_secret = "..." | |
# Twitter client |
This file contains hidden or 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
/** | |
* | |
* Sends a message to a channel. | |
* @param username Set your bot's user name. Must be used in conjunction with `as_user` set to false, otherwise ignored. See [authorship](#authorship) below. | |
* @param threadTs Provide another message's `ts` value to make this message a reply. Avoid using a reply's `ts` value; use its parent instead. | |
* @param attachments Structured message attachments. | |
* @param unfurlLinks Pass true to enable unfurling of primarily text-based content. | |
* @param text Text of the message to send. See below for an explanation of [formatting](#formatting). This field is usually required, unless you're providing only `attachments` instead. | |
* @param unfurlMedia Pass false to disable unfurling of media content. | |
* @param parse Change how messages are treated. Defaults to `none`. See [below](#formatting). |
This file contains hidden or 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
{ | |
"token": "{{verification_token}}", | |
"team_id": "{{team_id}}", | |
"api_app_id": "{{app_id}}", | |
"event": { | |
"type": "team_join", | |
"user": { | |
"id": "{{user_id}}", | |
"team_id": "{{team_id}}", | |
"name": "{{user_name}}", |
This file contains hidden or 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
Hi <recruiter>, | |
I'll definitely pass this along to a few engineers I know who might be interested. | |
Would there be anyone in your group who might be able to assist some of the non-engineer folks? There's a lot of great talent available in a variety of roles from support to policy and operations. I feel like these folks are often overlooked in the search for great engineers. | |
Looking forward to hearing from you, | |
<name> | |
============================= |
This file contains hidden or 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 ruby | |
require 'json' | |
require 'htmlentities' | |
require 'twitter' | |
sets = %w( | |
Base | |
CAHe1 | |
CAHe2 |
This file contains hidden or 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
response.on('data', function(chunk) { | |
data += chunk.toString('utf8'); | |
//is heartbeat? | |
if (data == '\r\n') { | |
stream.emit('heartbeat'); | |
return; | |
} |
NewerOlder