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
/// Push all necessary commits one at a time. | |
/// | |
/// This is particularly useful when pushing a large number of commits on a flaky connection. | |
/// | |
/// Usage: node git_push_slow.js [how_many_commits [branch_to_push]] | |
/// NOTE: By leaving off both params or setting the first to -1, it will try to determine how many commits behind the origin is. | |
/// TODO: Show upload progress. | |
/// | |
/// License: MIT | |
/// |
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
#background1 { | |
background-image: url(http://i52.tinypic.com/293kp50.gif); | |
left:0px; | |
width: 512px; | |
height: 317px; | |
position:absolute; | |
} | |
#background2 { |
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
/*jslint onevar: true, undef: true, newcap: true, nomen: true, regexp: true, plusplus: true, bitwise: true, node: true, indent: 4, white: false */ | |
/// Usage: node dynamic_server.js PORT | |
var fs = require("fs"), | |
http = require("http"), | |
path = require("path"), | |
spawn = require('child_process').spawn, | |
url = require("url"), | |
qs = require('querystring'), |
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
/*jslint onevar: true, undef: true, newcap: true, nomen: true, regexp: true, plusplus: true, bitwise: true, node: true, indent: 4, white: false */ | |
/// Usage: node static_server.js PORT | |
var http = require("http"), | |
url = require("url"), | |
path = require("path"), | |
fs = require("fs"), | |
qs = require("querystring"), | |
port = process.argv[2] || 80, /// Defaults to port 80 |