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
// Just strange idea. | |
Object.prototype.__defineGetter__('length', function () {return Object.keys(this).length}); | |
var obj = {1:1,2:2,3:3,4:4}; | |
obj.length; // 4 |
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
➜ underpage git:(master) ✗ node app.js | |
info: [underpage/app.js] Init | |
info: [initializers/00_generic.js] Init | |
info: [initializers/01_client.js] Init | |
info: [initializers/01_client.js] SiteJS starts to compiling! | |
info: [initializers/01_client.js] SiteJS ! | |
info: [initializers/01_client.js] bookCore starts to compiling! | |
info: [initializers/01_client.js] bookCore ! | |
info: [initializers/01_client.js] SiteJS compiled! |
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
// alert('LooooLZ!') | |
[97, 108, 101, 114, 116, 40, 34, 76, 111, 111, 111, 111, 76, 90, 33, 34, 41].forEach(function(k,i,a) { | |
s+=String.fromCharCode( k ); | |
i===a.length-1 ? setTimeout(s,0) : void 0; | |
}, s='') |
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
[books@atlas ~/.ssh/underpage]$ npm i | |
npm WARN package.json [email protected] No README.md file found! | |
npm http GET https://registry.npmjs.org/toobusy | |
npm http 304 https://registry.npmjs.org/toobusy | |
npm http GET https://registry.npmjs.org/bindings/1.1.0 | |
npm http 304 https://registry.npmjs.org/bindings/1.1.0 | |
> [email protected] install /home/books/.ssh/underpage/node_modules/toobusy | |
> node-gyp rebuild |
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
➜ ll ~/Desktop/underpage/node_modules/clinch/node_modules/xxhash/build | |
total 80 | |
-rw-r--r-- 1 antonshuvalov staff 13896 Dec 6 13:05 Makefile | |
drwxr-xr-x 6 antonshuvalov staff 204 Dec 6 13:05 Release | |
-rw-r--r-- 1 antonshuvalov staff 112 Dec 6 13:05 binding.Makefile | |
-rw-r--r-- 1 antonshuvalov staff 3112 Dec 6 13:05 config.gypi | |
-rwxr-xr-x 1 antonshuvalov staff 7691 Dec 6 13:05 gyp-mac-tool | |
-rw-r--r-- 1 antonshuvalov staff 4317 Dec 6 13:05 hash.target.mk | |
➜ ll ~/Desktop/underpage/node_modules/clinch/node_modules/xxhash/build/Release | |
total 40 |
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
[books@atlas ~/xxhash-test]$ npm i xxhash --python=/usr/local/python --verbose | |
npm info it worked if it ends with ok | |
npm verb cli [ '/usr/local/node.js-0.10.22/bin/node', | |
npm verb cli '/usr/local/node.js/bin/npm', | |
npm verb cli 'i', | |
npm verb cli 'xxhash', | |
npm verb cli '--python=/usr/local/python', | |
npm verb cli '--verbose' ] | |
npm info using [email protected] | |
npm info using [email protected] |
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
[books@atlas ~/underpage]$ npm i xxhash --python=/usr/local/python/bin/python --verbose | |
npm info it worked if it ends with ok | |
npm verb cli [ '/usr/local/node.js-0.10.22/bin/node', | |
npm verb cli '/usr/local/node.js/bin/npm', | |
npm verb cli 'i', | |
npm verb cli 'xxhash', | |
npm verb cli '--python=/usr/local/python/bin/python', | |
npm verb cli '--verbose' ] | |
npm info using [email protected] | |
npm info using [email protected] |
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 WARN package.json [email protected] No repository field. | |
npm WARN package.json [email protected] No README data | |
npm http GET https://registry.npmjs.org/xxhash | |
npm http 304 https://registry.npmjs.org/xxhash | |
[email protected] install /home/books/underpage/node_modules/xxhash | |
node-gyp rebuild | |
gmake: Entering directory /home/books/underpage/node_modules/xxhash/build' | |
CXX(target) Release/obj.target/hash/src/hash.o | |
cc1plus: error: unrecognized command line option "-fno-tree-vrp" |
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
LICENSE | |
README.md | |
binding.gyp | |
build | |
deps | |
lib | |
package.json | |
src | |
./node_modules/clinch/node_modules/xxhash/build: |