Skip to content

Instantly share code, notes, and snippets.

module['exports'] = function kahootHighFive (hook) {
var request = require('request');
var params = hook.params;
console.log(params);
var store = hook.datastore;
if (params.token === hook.env.highfive_token) {
var originalChannelRequestParams = {
@kmoe
kmoe / gist:f67142fb5623ce6b30b7
Created December 20, 2014 15:46
pyenv --verbose 3.4.2
This file has been truncated, but you can view the full file.
/var/folders/dm/rs_77nws2vlbbw0y7tm_d7v80000gn/T/python-build.20141220154349.11478 ~/Development/python
Downloading Python-3.4.2.tgz...
HTTP/1.1 200 OK
Server: GitHub.com
Content-Type: application/octet-stream
Last-Modified: Tue, 04 Nov 2014 09:32:24 GMT
Expires: Sat, 20 Dec 2014 15:53:49 GMT
Cache-Control: max-age=600
Content-Length: 19257270
Accept-Ranges: bytes
@kmoe
kmoe / isTheWebsiteDown.js
Last active August 29, 2015 14:09 — forked from Marak/isTheWebsiteDown.js
Checks to see if a website is down
var http = require('http');
module['exports'] = function isTheWebSiteDown (hook) {
http.get(hook.params.url, function(res){
hook.debug(hook.params.url + " is up and running.")
hook.res.end('false');
}).on('error', function (){
hook.debug(hook.params.url + " is DOWN!")
hook.res.end('true');
});

Keybase proof

I hereby claim:

  • I am kmoe on github.
  • I am katy (https://keybase.io/katy) on keybase.
  • I have a public key whose fingerprint is 40F0 ECDC C07E 25D5 A880 7877 A122 3E8E B495 2312

To claim this, I am signing this object: