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/bash | |
# Note your /usr/local will need to be writable by the user running it, | |
# alternatively run it with `sudo` | |
hasxz=$(which xzcat) | |
os=$(uname | tr '[A-Z]' '[a-z]') | |
arch=$(uname -m) | |
targetdir="/usr/local/" | |
domain=nodejs.org |
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
rvagg@fletcher ~$ git clone git://github.com/iojs/io.js.git | |
Cloning into 'io.js'... | |
remote: Counting objects: 149486, done. | |
remote: Compressing objects: 100% (5/5), done. | |
remote: Total 149486 (delta 0), reused 0 (delta 0), pack-reused 149481 | |
Receiving objects: 100% (149486/149486), 122.22 MiB | 1.04 MiB/s, done. | |
Resolving deltas: 100% (112753/112753), done. | |
Checking connectivity... done. | |
rvagg@fletcher ~$ cd io.js/ | |
rvagg@fletcher (v1.x) ~/io.js$ changelog-maker --group |
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
### Generated automatically from Makefile.org by Configure. | |
## | |
## Makefile for OpenSSL | |
## | |
VERSION=1.0.2 | |
MAJOR=1 | |
MINOR=0.2 | |
SHLIB_VERSION_NUMBER=1.0.0 |
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
// check if a Nexus 64GB is available | |
const urls = { | |
'White 64GB' : 'https://play.google.com/store/devices/details/Nexus_6_64_GB_Cloud_White?id=nexus_6_white_64gb&psid=3&iphc=true' | |
//, 'White 32GB' : 'https://play.google.com/store/devices/details/Nexus_6_32_GB_Cloud_White?id=nexus_6_white_32gb&psid=3&iphc=true' | |
, 'Blue 64GB' : 'https://play.google.com/store/devices/details/Nexus_6_64_GB_Midnight_Blue?id=nexus_6_blue_64gb&psid=3&iphc=true' | |
//, 'Blue 32GB' : 'https://play.google.com/store/devices/details/Nexus_6_32_GB_Midnight_Blue?id=nexus_6_blue_32gb&psid=3&iphc=true' | |
} | |
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
In file included from ../src/cares_wrap.cc:24:0: | |
../src/async-wrap.h:64:29: error: expected ‘;’ at end of member declaration | |
../src/async-wrap.h:64:31: error: ‘override’ does not name a type | |
In file included from ../src/cares_wrap.cc:29:0: | |
../src/req_wrap.h:48:12: error: expected ‘;’ at end of member declaration | |
../src/req_wrap.h:48:14: error: ‘override’ does not name a type | |
In file included from ../src/fs_event_wrap.cc:22:0: | |
../src/async-wrap.h:64:29: error: expected ‘;’ at end of member declaration | |
../src/async-wrap.h:64:31: error: ‘override’ does not name a type | |
../src/cares_wrap.cc:234:22: error: expected ‘;’ at end of member declaration |
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
{ | |
"predef": [ ] | |
, "bitwise": false | |
, "camelcase": false | |
, "curly": false | |
, "eqeqeq": false | |
, "forin": false | |
, "immed": false | |
, "latedef": false | |
, "noarg": true |
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
1: async (5,306,139) | |
2: mkdirp (3,989,808) | |
3: request (3,822,748) | |
4: glob (3,750,793) | |
5: minimatch (3,476,898) | |
6: commander (3,475,471) | |
7: debug (3,454,917) | |
8: qs (3,372,442) | |
9: inherits (3,105,353) | |
10: graceful-fs (3,005,257) |
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
<h1>Testing code against many Node versions with Docker</h1> | |
<h2 id="the-problem-testing">The problem: testing</h2> | |
<p><strong><a href="https://github.com/rvagg/nan">NAN</a></strong> is a project designed to assist in building native (C++) Node.js add-ons while maintaining compatibility with Node and V8 from Node versions 0.8 onwards. V8 is undergoing <em>major</em> internal changes which is making add-on development very difficult; NAN's purpose is to abstract that pain. Instead of having to keep your code compatible across Node/V8 versions, NAN does it for you, and this is no simple task. But this means that we have to be sure to keep NAN tested and compatible with <em>all</em> of the versions it claims to support. This is no trivial exercise!</p> | |
<p><strong><a href="https://travis-ci.org/">Travis CI</a></strong> can help a little with this. It's possible to use <a href="https://github.com/creationix/nvm">nvm</a> to test across different versions of Node.js even beyond the officialy supported versions, we'v |
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 EventEmitter = require('events').EventEmitter; | |
var emitter = new EventEmitter; | |
var tick = true; | |
var count = 0; | |
setInterval(function() { | |
count ++; | |
if (tick) emitter.emit('tic', count); |
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
start on runlevel [2345] | |
stop on runlevel [!2345] | |
respawn | |
respawn limit 4 240 | |
setuid kappa | |
exec /usr/bin/kappa -c /etc/kappa/kappa-wrapper.json 2>&1 |