- RT @BetaList: Meat!: Git for web developers http://t.co/imbouGD2bq http://t.co/JcHL1VU2F4 10:41:43, 2015-05-25
- My Twitter Digest for 05/24/2015 http://t.co/SI8EyGPXXC 15:30:12, 2015-05-25
- scripting / sendToSlack.js – a small node.js app that posts to Slack. http://t.co/LLN1JWNxx8 21:54:23, 2015-05-25
18F — Tocking time
18F — Tocking time https://18f.gsa.gov/2015/05/21/TockingTime/
Pushing links to Slack with Radio3
Pushing links to Slack with Radio3 http://radio3.smallpict.com/2015/05/25/pushLinksToSlack.html
Open hardware guru answers: Arduino or Raspberry Pi? | Opensource.com
Open hardware guru answers: Arduino or Raspberry Pi? | Opensource.com http://opensource.com/life/15/5/should-i-get-arduino-or-raspberry-pi
scripting / sendToSlack.js – a small node.js app that posts to Slack.
A tiny JavaScript app that sends a message to your default Slack channel. Can be customized with a name, icon, emoji or sent to a different channel. Runs in Node.js.
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
var request = require ("request"); | |
var urlWebHook = "https://hooks.slack.com/services/abcdef"; //the URL you get on your "incoming web hooks" page. | |
function sendToSlack (s, theUsername, theIconUrl, theIconEmoji, theChannel) { | |
var payload = { | |
text: s | |
}; | |
if (theUsername !== undefined) { | |
payload.username = theUsername; | |
} | |
if (theIconUrl !== undefined) { | |
payload.icon_url = theIconUrl; | |
} | |
if (theIconEmoji !== undefined) { | |
payload.icon_emoji = theIconEmoji; | |
} | |
if (theChannel !== undefined) { | |
payload.channel = theChannel; | |
} | |
var theRequest = { | |
url: urlWebHook, | |
method: "POST", | |
json: payload | |
}; | |
request (theRequest, function (error, response, body) { | |
if (!error && (response.statusCode == 200)) { | |
console.log ("sendToSlack: " + s); | |
} | |
else { | |
console.log ("sendToSlack: error, code == " + response.statusCode + ", " + response.body + ".\n"); | |
} | |
}); | |
} | |
sendToSlack ("Hello World"); |
My Twitter Digest for 05/24/2015
- My Twitter Digest for 05/23/2015 http://t.co/Celn0XGqT1 15:30:12, 2015-05-24
- RT @jimgroom: New blog post: "Resignation" "It’s official, I've resigned my position at University of Mary Washington, and will…" http://… 17:49:20, 2015-05-24
- RT @HypothesisEng: v0.4.1 of the Hypothes.is code (aka `h`) has been released! https://t.co/3P6KYP7ZGE Also see v0.4.0 changelog https://t.… 17:49:45, 2015-05-24
My Twitter Digest for 05/23/2015
- RT @thepastrybox: Sit on your hands. @katekiefer on @thepastrybox. https://t.co/LKYw0IUgIq 08:53:29, 2015-05-23
- Swagger | The World’s Most Popular Framework for APIs. http://t.co/rPNiHyILiH 08:58:20, 2015-05-23
- My Twitter Digest for 05/22/2015 http://t.co/8GyzXWFUpw 15:30:12, 2015-05-23
My Twitter Digest for 05/22/2015
- classkick – learn together http://t.co/JyYmSSNwKA 08:04:43, 2015-05-22
- MySQL Performance Analyzer is an open source project for MySQL performance monitoring and analysis. http://t.co/xKVy3vRJaR 08:42:38, 2015-05-22
- My Twitter Digest for 05/21/2015 http://t.co/nHi5WmjByI 15:30:49, 2015-05-22
- Secure SSH with Google Authenticator Two-Factor Authentication on CentOS 7 http://t.co/Vt1bACmlfZ 19:26:54, 2015-05-22
- The U of Hawaii William S. Richardson School of Law will host the 2015 Hawaii Access to Justice Conference – 6/19/15. http://t.co/mvRfKuw5Hh 19:29:57, 2015-05-22
Swagger | The World’s Most Popular Framework for APIs.
Swagger | The World’s Most Popular Framework for APIs. http://swagger.io/
Secure SSH with Google Authenticator Two-Factor Authentication on CentOS 7
Secure SSH with Google Authenticator Two-Factor Authentication on CentOS 7 https://www.howtoforge.com/tutorial/secure-ssh-with-google-authenticator-on-centos-7/