$ git clone git://github.com/v8/v8.git v8 && cd v8
$ make dependencies # or mkdir build/gyp && git clone git://github.com/svn2github/gyp.git build/gyp
$ make native # (or the like: `$ make ia32`, etc)
$ out/native/d8 --prof 'test.js' # generates 'v8.log'
$ tools/mac-tick-processor # processes the generated 'v8.log'
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
rsync -e "ssh -i {pemfile}" {sourcepath} ec2-user@{server}:{destpath} |
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
exec ssh-agent /bin/sh --login -i | |
ssh-add |
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
npm config set "git" "C:\\path\to.exe" |
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 util = require('util') | |
function hook_stdout(callback) { | |
var old_write = process.stdout.write | |
process.stdout.write = (function(write) { | |
return function(string, encoding, fd) { | |
process.nextTick(function() { | |
callback(string, encoding, fd) | |
}); |
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
'use strict'; | |
var util = require('util'); | |
/** | |
* Combines objects in reverse order of provided arguments. The right-most | |
* object's properties are copied to the left, and so on. | |
* @param {Object} dest the destination object | |
* @return {Object} the destination object | |
*/ |
These are the emoji supported by GitHub as of today (20130313).
See comments.
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
'use strict'; | |
var kraken = require('kraken-js'), | |
otherapp = require('./lib/otherapp'); | |
var delegate, myapp; | |
delegate = { /* delegate ... */ }; | |
/** |
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 express = require('express'), | |
engine = require('view-engine'); | |
var renderer, app; | |
renderer = engine.create('dust', require('dustjs-linkedin')); | |
app = express(); | |
app.set('view-engine', renderer); |
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
#!/usr/bin/env node | |
var chunks = []; | |
process.stdin.on('data', chunks.push.bind(chunks)); | |
process.stdin.on('end', function () { | |
var json; | |
json = Buffer.concat(chunks).toString('utf8'); | |
json = JSON.parse(json); | |
json = JSON.stringify(json, null, 2); | |
process.stdout.write(json); |
OlderNewer