Skip to content

Instantly share code, notes, and snippets.

@ruudud
ruudud / demo.htm
Created May 30, 2012 09:27 — forked from bennadel/demo.htm
Cross-Origin Resource Sharing (CORS) AJAX Requests Between jQuery And Node.js
<!DOCTYPE html>
<html>
<head>
<title>Cross-Origin Resource Sharing (CORS) With jQuery And Node.js</title>
</head>
<body>
<h1>
Cross-Origin Resource Sharing (CORS) With jQuery And Node.js
</h1>
@ruudud
ruudud / gist:1922646
Created February 27, 2012 09:08
Underscore templates with Django syntax
// Ovveride Underscore.js' template format
_.templateSettings = {
evaluate: /\{%([\s\S]+?)%\}/g,
interpolate: /\{\{(.+?)\}\}/g
};
@ruudud
ruudud / gitintrotopics.rst
Created January 2, 2012 15:15
Git introduction course topics
  1. Get to know the environment, and VCS lingo
  2. Basic functionality: add, commit, diff, log
  3. Basic cooperative actions: fetch, push, pull
  4. Getting out of trouble: reset, checkout
  5. Branching: branch, merge, checkout
  6. Best practices: Branching models, infrastructure/GitHub, tools