-
History of Realtime - @metajack
-
IO Insights - @guille
https://speakerdeck.com/rauchg/io-insights -
Making DISQUS Realtime - @NorthIsUp
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 lang="en"> | |
<head> | |
<title>WebSocket Client</title> | |
<style> | |
#output { | |
border: solid 1px #000; | |
} | |
</style> | |
</head> |
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
<!-- Add the following lines to theme's html code right before </head> --> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script> | |
<script src="http://static.tumblr.com/fpifyru/VCxlv9xwi/writecapture.js"></script> | |
<script src="http://static.tumblr.com/fpifyru/AKFlv9zdu/embedgist.js"></script> | |
<!-- | |
Usage: just add <div class="gist">[gist URL]</div> | |
Example: <div class="gist">https://gist.github.com/1395926</div> | |
--> |
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
$("h3.list_header").each(function(sectionIndex){ | |
var sectionName = $(this).text().replace(/Chapter .+ - /,"").replace(/\:/,'-').replace(/^(V|I|X)+\. /,''); | |
$(this).parent().next().find("a.lecture-link").each(function(videoIndex){ | |
var $lectureLink = $(this); | |
var videoName = $.trim($lectureLink.text()); | |
var downloadLink = $lectureLink.attr('href').replace('view','download.mp4'); | |
var cookieHeader = ' --header \"Cookie:'+ document.cookie + '\" '; | |
var directory = (sectionIndex+1) + '. ' + sectionName + '/'; | |
var filename = directory + (videoIndex+1) + '. ' + videoName + '.mp4'; |
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
<?php | |
/** | |
* A controller plugin for protecting forms from CSRF | |
* | |
* Works by looking at the response and adding a hidden element to every | |
* form, which contains an automatically generated key that is checked | |
* on the next request against a key stored in the session | |
* | |
* @author Jani Hartikainen <firstname at codeutopia net> | |
*/ |
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 mailer = require('nodemailer') | |
var Hapi = require('hapi') | |
var util = require('util') | |
var template = require('swig') | |
var path = require('path') | |
var PORT = process.env.PORT || 8080 | |
var server = new Hapi.Server(PORT) | |
template.init({ |
Each workshop is ~45 minutes over lunch on Wednesdays. There will be a repo with sample code and additional resources so you can continue learning outside the workshop if you want to.
We'll be using Michael Fogus' Functional Programming in JavaScript as a loose guide. I'll provide you with an electronic copy (EPUB, MOBI, or PDF).
Each workshop is ~45 minutes over lunch on Wednesdays. There will be a repo with sample code and additional resources so you can continue learning outside the workshop if you want to.
We'll be covering topics in the ES 2015 specification, loosely following this ebook by Alex Rauschmayer. We'll also cover new JavaScript topics and tooling, including Flow, React Native, Electron, and more.