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
// Usage: | |
// | |
// slate.bind("1:cmd;alt", Cycler(["Safari", "Google Chrome", "Firefox"])); | |
// | |
var Cycler = (function() { | |
function Cycler(appNames, cycleWindows) { | |
this.appNames = appNames; | |
this.cycleWindows = cycleWindows; | |
this.lastIndex = -1; |
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 | |
# dependencies: | |
# curl | |
# culicue - curl wrapper to make oauthv1 requests (https://github.com/decklin/curlicue/blob/master/curlicue) | |
# jq - filter json from twitter api and transform to a structure mattermost is expecting | |
# credentials file can be created with the curlicue-setup script | |
credentials=/home/me/credentials.conf | |
webhook='https://yourmattermost.server/hooks/1mjxx6amd52q8doxzy16o75adh' |