- needed for faster Node.js builds
brew install ninja
git clone [email protected]:v8/v8.git
'use strict'; | |
const spawn = require('child_process').spawn; | |
const fs = require('fs'); | |
const util = require('util'); | |
const debug = util.debuglog('platform_tools'); | |
exports.configure = function configure(cb) { | |
if (!cb) { |
method | done | tested |
---|---|---|
createMat | ☑ | ☑ |
empty | ☑ | ☑ |
This is my basic starting point for any koa server. Mostly for module development with frontend components |
This is my approach to convert node-lists in order to apply Array.prototype methods like .forEach |
What are we trying to observe? Raw object data.
// Objects
var obj = { id: 2 };
obj.id = 3; // obj == { id: 3 }
// Arrays
var arr = ['foo', 'bar'];
arr.splice(1, 1, 'baz'); // arr == ['foo', 'baz'];
This is a little hack to get 'fixed' headers and footers while maintaining a body with variable height but 100/ filled. | |
SO: It's taking from the below stackoverflow comment. | |
http://stackoverflow.com/a/15388247/3580261 | |
JSbin | |
http://jsbin.com/cifone/6/edit |
This was the only working example I could find for a decent CORS REST call. | |
The original is from [CORSinAction](https://github.com/monsur/CORSinAction). Thanks for your nice books guys. | |
When you provide it with a valid API-key, the programm will fill your <body> with tiles of the numerous images | |
grabbed via the API. It's indeed a very nice example. | |
[link to working JS.bin](http://jsbin.com/yetudidiwo) |