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
| // Get a Wordnik API key: http://developer.wordnik.com/ | |
| var WORDNIK_API_KEY = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXX"; | |
| // Get a Twitter app key: https://apps.twitter.com/ | |
| var TWITTER_CONSUMER_KEY = "YYYYYYYYYYYYYYYYYYYYYYYYYYYYY"; | |
| var TWITTER_CONSUMER_SECRET = "ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ"; | |
| // Email to send errors to | |
| var ERROR_EMAIL_ADDR = "[email protected]" | |
| function Start() { | |
| // Delete exiting triggers, if any |
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/python | |
| import os | |
| import random | |
| import shutil | |
| import subprocess | |
| import sys | |
| import tempfile | |
| perl_binary = '/usr/bin/perl' |
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/python | |
| import datetime | |
| import json | |
| import re | |
| import requests | |
| import time | |
| USER_AGENT_HEADER = {'User-Agent': 'nfl-fast-tweets/1.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
| # Staylias makes your aliases persist across bash sessions. | |
| # To install, save this as .bash_staylias in your home dir add this line to your bashrc: | |
| # source "$HOME/.bash_staylias" | |
| # | |
| # How to use: | |
| # $ alias foo=bar | |
| # $ alias foo | |
| # alias foo=bar | |
| # | |
| # $ alias foo=baz |
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
| require "discordrb" | |
| require "httparty" | |
| def notify_slack(message) | |
| HTTParty.post( | |
| # people_who_play_games | |
| "https://hooks.slack.com/services/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", | |
| body: JSON.dump({ | |
| text: message, | |
| username: "Discord announcement", |
OlderNewer