- node-inspector
- node-webkit-agent
- node-codein
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
events { | |
worker_connections 1024; | |
} | |
http { | |
upstream appname { | |
server 127.0.0.1:3000; | |
server 127.0.0.1:3001; | |
} |
#Title TBD
###Abstract How many languages and APIs can we squeeze into an hour? Let's take a tour through as many popular REST APIs as we can by writing 5 minute applications in a variety of languages (JavaScript, Ruby, Python, C#, etc). We'll discuss some of the finer points of REST API design and why some languages are naturally better for consuming web services than others.
Talk Type: Survey
Track: /etc
Video Approval: Yes
Talk Duration: 50 minutes
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
// background transparency | |
background-transparency(color, alpha = 1) | |
ms-color = argb(color, alpha) | |
background rgb(color) | |
background rgba(color, alpha) | |
.lt-ie8 & | |
zoom 1 | |
.lt-ie9 & | |
background transparent | |
filter s('progid:DXImageTransform.Microsoft.gradient(startColorstr=%s,endColorstr=%s)', ms-color, ms-color) |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="/socket.io/socket.io.js"></script> | |
<script> | |
(function () { | |
var onMessage = function (data) { | |
// Do something with the message data | |
}; |
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
module Jekyll | |
class LessCssFile < StaticFile | |
def write(dest) | |
# do nothing | |
end | |
end | |
class LessJsGenerator < Generator | |
safe true |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore.js"></script> | |
<script> | |
(function () { | |
var key = "1HwGVE-MqVmeLwcfljmBmuTD55arVxsElG3C2urJadAw"; | |
var url = "https://spreadsheets.google.com/feeds/list/" + key + "/od6/public/values?alt=json"; |
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 app = require("express")(); | |
// JSON parse the body of requests with `application/csp-report` content type. | |
app.use(require("body-parser").json({ | |
type: "application/csp-report" | |
})); | |
// Page with CSP header (in report-only mode). | |
app.get("/", function (req, res) { | |
res.setHeader("Content-Security-Policy-Report-Only", [ |
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
(function () { | |
var github = function () { | |
var parts; | |
if (parts = window.location.pathname.match(/^\/([^\/]+\/[^\/]+)\/(?:issues|pull)\/(\d+)/)) { | |
var repo = parts[1]; | |
var issue = parts[2]; | |
var url = window.location.href; | |
var name = document.querySelector(".js-issue-title").innerText; | |
window.open([ |
A proof-of-concept of a more different way of using the Harvest Platform.