Skip to content

Instantly share code, notes, and snippets.

View ChALkeR's full-sized avatar
๐Ÿ™ƒ

Nikita Skovoroda ChALkeR

๐Ÿ™ƒ
View GitHub Profile
@ChALkeR
ChALkeR / mxn.yandex2.core.js
Created December 19, 2012 19:20
Partly working Mapstraction yandex2 core backend draft.
/*
MAPSTRACTION v2.0.18 http://www.mapstraction.com
Copyright (c) 2012 Tom Carden, Steve Coast, Mikel Maron, Andrew Turner, Henri Bergius, Rob Moran, Derek Fowler, Gary Gale
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
@ChALkeR
ChALkeR / npmjunk.tmp.txt
Created June 1, 2015 16:39
`tmp` dirs in npm packages at the top level (partial)
# This is a partial list, including only relatively recent packages
12K academia-0.2.0.tgz/tmp
8,0K adaptivejs-1.4.0.tgz/tmp
24M afm-0.2.1.tgz/tmp
28K americano-0.4.1.tgz/tmp
36K angular-openlayers-directive-0.0.3.tgz/tmp
15M arkivo-0.0.4.tgz/tmp
8,0K audio-vs1053b-textspeech-0.0.3.tgz/tmp
20K aws-existence-0.1.0.tgz/tmp
@ChALkeR
ChALkeR / usage.res._headers
Last active August 29, 2015 14:22
usage: (req|res|request|response)\._head[a-zA-Z]+
a/arrow-0.4.0.tgz/lib/api.js: response.headers = response._headers = {};
a/algoliasearch-3.4.0.tgz/src/server/builds/node.js: var remaining = Buffer.byteLength(body) + Buffer.byteLength(req._header);
a/anyfetch-provider-3.1.2.tgz/lib/index.js: if(!res._headerSent) {
a/apis-0.0.3.tgz/lib/mechanics/web/cors.js: for (var k in this.ctx.res._headers) {
a/autohost-0.4.2.tgz/src/http/adapter.js: if ( !res._headerSent ) {
a/atool-0.0.1.tgz/template/server.js: if (!res._header) {
a/aliyun-oss-0.6.0.tgz/index.js: var keys = Object.keys(req._headers).sort();
a/aliyun-oss-0.6.0.tgz/index.js: params.push(keys[i].toLowerCase() + ':' + req._headers[keys[i]]);
a/apache-like-accesslog-0.0.5.tgz/accesslog.js: var head = response._headers || response.headers;
b/bolyan-0.2.3.tgz/bolyan.js: header: res._header
@ChALkeR
ChALkeR / slim.2.grep.GLOBAL.txt
Last active August 29, 2015 14:23
GLOBAL usage (partial)
0/6px-0.1.6.tgz/lib/px.js:274:GLOBAL.px = function(input) {
a/alinex-monitor-0.0.2.tgz/lib/index.js:28: GLOBAL.argv = yargs.usage("Server monitoring toolkit.\n\nUsage: $0 [-vC]").example('$0', 'to simply check all controllers once').example('$0 -v', 'to get more information of each check').boolean('C').alias('C', 'nocolors').describe('C', 'turn of color output').boolean('v').alias('v', 'verbose').describe('v', 'run in verbose mode').help('h').alias('h', 'help').showHelpOnFail(false, "Specify --help for available options").argv;
a/angular-inspector-0.3.6.tgz/inspector-server.js:2:GLOBAL.$ = GLOBAL.jQuery = require('jquery-deferred');
a/angular-inspector-0.3.6.tgz/inspector-server.js:228: GLOBAL.fiddler = false;
a/angular-inspector-0.3.6.tgz/inspector-server.js:229: if (GLOBAL.fiddler) {
a/asimov-deploy-ui-0.7.1.tgz/app/start-server.js:48: GLOBAL.clientSockets = io;
a/alinex-make-0.4.6.tgz/lib/docTask.js:35: file = path.join(GLOBAL.ROOT_DIR, 'var/local/docstyle', (pack.name.split(/-/))[0] + '.css');
a/
@ChALkeR
ChALkeR / IPv4.IPv6.txt
Created June 23, 2015 18:18
IPv4/IPv6 usage (partial)
0/3ds-0.2.0.tgz/index.js:77: if(info.family == 'IPv4' && info.internal == false) {
a/actionhero-11.2.2.tgz/initializers/utils.js:236: if(details.family === 'IPv4' && details.address !== '127.0.0.1'){
a/air-compiler-1.0.4.tgz/lib/compiler.js:479: if (details.family == 'IPv4' && details.address != "127.0.0.1")
a/acs-1.0.24.tgz/lib/util.js:394: if (details.family === 'IPv4' && dev.substring(0, 2) !== 'lo') {
a/attester-2.2.2.tgz/lib/test-server/test-server.js:212: if (address.family == 'IPv6' && hostname == '::') {
a/attester-2.2.2.tgz/lib/test-server/test-server.js:214: } else if (address.family == 'IPv4' && hostname == '0.0.0.0') {
a/appium-support-1.1.0.tgz/lib/util.js:74: return (val.family === 'IPv4' && val.internal === false);
a/ahoy-1.0.1.tgz/lib/index.js:51: if (details.family === 'IPv4' && details.internal === false) {
a/atool-0.0.1.tgz/template/server.js:230: if (ip === '' && details.family === 'IPv4' && !details.internal) {
a/azk-core-0.1.25.tgz/lib/src/u
@ChALkeR
ChALkeR / require.sys.txt
Created August 17, 2015 20:44
Partial (and outdated) list of modules that require('sys').
amfnode-1.0.0
android-0.0.8
app-bundle-info-0.0.8
automato-0.1.25
awo-client-0.0.6
basetis-styles-css-1.0.1
beeminder-1.0.2
bitcore-multicoin-0.1.13
bluestorm-0.1.3
build-static-0.1.6
@ChALkeR
ChALkeR / headers-splitting.js
Last active November 5, 2016 21:03
http response splitting in node.js 4.0.0
var http = require('http');
var x = 'fooเดŠSet-Cookie: foo=bar';
http.createServer(function(req, res) {
res.writeHead(302, {test:'?text=' + x});
res.end();
}).listen(7777);
โ˜•
๐Ÿบ๐Ÿป๐Ÿธ๐Ÿน๐Ÿท๐Ÿฉ๐Ÿฎ๐Ÿฆ๐Ÿจ๐Ÿง๐ŸŽ‚๐Ÿฐ๐Ÿช๐Ÿซ๐Ÿฌ๐Ÿญ๐Ÿต
โ™ฉโ™ชโ™ซโ™ฌ
๐ŸŽค๐ŸŽผ๐ŸŽต๐ŸŽถ๐ŸŽน๐ŸŽป๐ŸŽบ๐ŸŽท๐ŸŽธ
๐Ÿ‘Ž๐Ÿ‘โœŒ
๐Ÿ‘
โ˜นโ˜บโ˜ป
๐Ÿ˜„๐Ÿ˜ƒ๐Ÿ˜๐Ÿ˜†๐Ÿ˜Š๐Ÿ˜Ž๐Ÿ˜‡๐Ÿ˜‰๐Ÿ˜ณ๐Ÿ˜๐Ÿ˜œ๐Ÿ˜๐Ÿ˜›๐Ÿ˜‚๐Ÿ˜…๐Ÿ˜ข๐Ÿ˜ญ๐Ÿ˜ก๐Ÿ˜•๐Ÿ˜ ๐Ÿ˜Ÿ๐Ÿ˜ฆ๐Ÿ˜ง๐Ÿ˜ฐ๐Ÿ˜ฅ๐Ÿ˜๐Ÿ˜˜๐Ÿ˜š๐Ÿ˜™๐Ÿ˜—๐Ÿ˜‹
โ™กโ™ฅโค
๐Ÿ—ข๐Ÿ’‹๐Ÿ’Œ๐ŸŽ”
@ChALkeR
ChALkeR / npm.garbage.testtemp.txt
Created September 22, 2015 07:58
test/temp garbage in npm packages
arch-stream-0.0.3.tgz/test/temp/
baidu-ocr-idcard-1.0.5.tgz/test/temp/
buildy-0.0.8.tgz/test/temp/
bumpitup-0.1.4.tgz/test/temp/
captureweb-0.0.8.tgz/test/temp/
derby-passport-0.0.29.tgz/example/node_modules/derby/node_modules/racer/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/temp/
generator-ag-library-0.1.26.tgz/test/temp/
generator-android-0.1.0.tgz/test/temp/
generator-angular-components-0.0.7.tgz/test/temp/
generator-angular-gulp-coffee-0.0.3.tgz/test/temp/
@ChALkeR
ChALkeR / other versions garbage in npm packages
Created September 23, 2015 19:24
npm.garbage.otherversions.txt
904K ./360class.jansenhm-0.1.1.tgz/360class.jansenhm-0.1.1.tgz
116K ./360class.jansenhm-0.1.1.tgz/CS360Stuff-0.1.1.tgz
452K ./360class.jansenhm-0.1.1.tgz/jansenstuffpleasework-0.1.1.tgz
228K ./360class.jansenhm-0.1.1.tgz/stuff-0.1.1.tgz
8,0K ./abo-0.1.2.tgz/abo-0.1.2.tgz
4,0K ./abo-demo-0.0.1.tgz/abo-demo-0.0.1.tgz
4,0K ./address-parser-0.2.2.tgz/address-parser-0.2.1.tgz
8,0K ./address-parser-0.2.2.tgz/address-parser-0.2.2.tgz
120K ./aerospike-1.0.50.tgz/aerospike-1.0.50.tgz
40K ./agile-proxy-client-0.0.7.tgz/agile-proxy-client-0.0.4.tgz