Clone and build Node for analysis:
$ git clone https://github.com/joyent/node.git
$ cd node
$ export GYP_DEFINES="v8_enable_disassembler=1"
$ ./configure
$ make -j4
| docker: | |
| registry: myregistry.com | |
| servers: | |
| - http://mynode01.com:4243 | |
| - http://mynode02.com:4243 | |
| collection: docker | |
| repository-namespace: tsuru | |
| router: hipache | |
| deploy-cmd: /var/lib/tsuru/deploy | |
| run-cmd: |
| #!/usr/bin/python | |
| import json | |
| import os | |
| import shutil | |
| import subprocess | |
| import re | |
| dockerdir = '/var/lib/docker' | |
| volumesdir = os.path.join(dockerdir, 'volumes') |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using Awesomium.Core; | |
| namespace AwesomiumNewTest | |
| { |
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
| # Basically the nginx configuration I use at konklone.com. | |
| # I check it using https://www.ssllabs.com/ssltest/analyze.html?d=konklone.com | |
| # | |
| # To provide feedback, please tweet at @konklone or email eric@konklone.com. | |
| # Comments on gists don't notify the author. | |
| # | |
| # Thanks to WubTheCaptain (https://wubthecaptain.eu) for his help and ciphersuites. | |
| # Thanks to Ilya Grigorik (https://www.igvita.com) for constant inspiration. | |
| server { |
| var balance_check = function(n) { | |
| if ( n ) { | |
| var output = db.chunks.aggregate([ | |
| { $group : { _id : { "_id":"$ns", "shard":"$shard" }, chunks : { $sum : 1 } }}, | |
| { $match : { "_id._id" : n } }, | |
| { $sort : { "chunks" : 1 } } | |
| ]); |
| sudo apt-get update | |
| sudo apt-get install libfreetype6 libfreetype6-dev libfontconfig | |
| # /etc/apt/sources.list should contain these: | |
| # deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse | |
| # deb-src http://us.archive.ubuntu.com/ubuntu/ lucid multiverse | |
| # deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse | |
| # deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse | |
| sudo echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections |
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: