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
console.log('Hello, world!') | |
// Common modules | |
var util = require('util'); | |
var events = require('events'); | |
var http = require('http'); | |
var url = require('url'); | |
var fs = require('fs'); | |
var zlib = require('zlib'); |
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
!!! 5 | |
//if lt IE 7 | |
<html class="ie ie6" lang="en"> | |
//if IE 7 | |
<html class="ie ie7" lang="en"> | |
//if IE 8 | |
<html class="ie ie8" lang="en"> | |
//if (gte IE 9)|!(IE) | |
<!--><html lang="en"> <!-- |
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 5 | |
html | |
head | |
title My OpenLayers Map | |
script(src='OpenLayers.js') | |
script | |
function init() { | |
map = new OpenLayers.Map('map_element', {}); | |
var wms = new OpenLayers.Layer.WMS( | |
'OpenLayers.WMS', |
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
Show hidden characters
{ | |
"cmd": ["make", "test"], | |
"working_dir": "${project_path}", | |
"path": "/usr/bin:/bin:/usr/local/bin:/usr/local/share/npm/bin" | |
} |
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
{ | |
"cmd": ["make", "test"], | |
"working_dir": "${project_path}", | |
"path": "/usr/bin:/bin:/usr/local/bin:/usr/local/share/npm/bin", | |
"file_regex": "\\((...*?):([0-9]*):([0-9]*)\\)" | |
} |
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
/* jQuery Tiny Pub/Sub - v0.7 - 10/27/2011 | |
* http://benalman.com/ | |
* Copyright (c) 2011 "Cowboy" Ben Alman; Licensed MIT, GPL */ | |
(function($) { | |
var o = $({}); | |
$.subscribe = function() { | |
o.on.apply(o, arguments); |
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
// Given numeric value, convert to string with enough leading zeros | |
// to make it two characters long | |
var zeroPad2 = function (val) { | |
result = val.toString(); | |
while (result.length < 2) { | |
result = "0" + result; | |
} | |
return result; | |
}; |
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
#!/bin/sh | |
# Every 5 seconds, clear screen and run 'make test' | |
while true; do | |
clear | |
make test | |
sleep 5 | |
done |
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
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>My Browser Tests</title> | |
<link rel="stylesheet" href="../../node_modules/mocha/mocha.css" /> | |
</head> | |
<body> | |
<!-- Div used by mocha to report results --> | |
<div id="mocha"></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
[ | |
{ "keys": ["super+alt+ctrl+up"], "command": "select_lines", "args": {"forward": false} }, | |
{ "keys": ["super+alt+ctrl+down"], "command": "select_lines", "args": {"forward": true} }, | |
] |