Skip to content

Instantly share code, notes, and snippets.

View ChALkeR's full-sized avatar
🙂

Nikita Skovoroda ChALkeR

🙂
View GitHub Profile
@ChALkeR
ChALkeR / grep.2017-02-23._headerNames.sort.txt
Created February 26, 2017 12:25
\._headerNames in npm modules, as of 2017-02-23
12680931 send-0.14.2.tgz/index.js:846: res._headerNames = {}
624087 nock-9.0.6.tgz/lib/request_overrider.js:34: request._headerNames = request._headerNames || {};
624087 nock-9.0.6.tgz/lib/request_overrider.js:38: request._headerNames[key] = name;
358767 union-0.4.6.tgz/lib/response-stream.js:53: this.response._headerNames = this.response._headerNames || {};
144867 node-inspector-0.12.8.tgz/lib/Injections/NetworkAgent.js:100: var headerName = request._headerNames[key];
9068 getstream-3.5.0.tgz/test/browser/browser.js:28027: request._headerNames = request._headerNames || {};
9068 getstream-3.5.0.tgz/test/browser/browser.js:28031: request._headerNames[key] = name;
4727 hammock-2.0.1.tgz/lib/request.js:26: this._headerNames = {};
4727 hammock-2.0.1.tgz/lib/response.js:44: this._headerNames = {};
4409 nuclide-0.207.0.tgz/pkg/nuclide-debugger-node-rpc/VendorLib/node-inspector/lib/Injections/NetworkAgent.js:100: var headerName = request._headerNames[key];
@ChALkeR
ChALkeR / grep.2017-02-23._writeHeader.sort.txt
Created February 26, 2017 11:46
\.writeHeader\( in npm modules, as of 2017-02-23
13467968 http-signature-1.1.1.tgz/lib/signer.js:148: return (this.writeHeader('date', jsprim.rfc1123(new Date())));
13467968 http-signature-1.1.1.tgz/lib/signer.js:161: this.writeHeader('(request-target)', method + ' ' + path);
3417039 npm-4.2.0.tgz/test/broken-under-nyc-and-travis/whoami.js:51: res.writeHeader(200)
339284 needle-1.4.5.tgz/test/parsing_spec.js:312: res.writeHeader(200, {'Content-Type': 'application/xml'})
128029 save-pixels-2.3.4.tgz/save-pixels.js:107: gif.writeHeader()
111831 gif-encoder-0.6.0.tgz/test/gif-encoder_benchmark.js:10: this.gif.writeHeader();
111831 gif-encoder-0.6.0.tgz/test/gif-encoder_test.js:20: this.gif.writeHeader();
111831 gif-encoder-0.6.0.tgz/test/gif-encoder_test.js:48: this.gif.writeHeader();
111831 gif-encoder-0.6.0.tgz/test/gif-encoder_test.js:74: this.gif.writeHeader();
111831 gif-encoder-0.6.0.tgz/test/gif-encoder_test.js:99: this.gif.writeHeader();
@ChALkeR
ChALkeR / npm.stats.2016-10-22.top5000.txt
Created October 23, 2016 22:21
Top 5000 downloaded/month npm packages, as of 2016-10-22
40779306 glob
40733149 readable-stream
38144087 async
36118243 lodash
31986026 minimist
31833870 minimatch
30724662 inherits
29455747 isarray
28871883 qs
28593413 source-map
@ChALkeR
ChALkeR / grep.2016-08-04.requireRepl.txt
Created September 23, 2016 12:05
requireRepl[^a-zA-Z] in npm modules, as of 2016-08-04
ark-0.5.2.tgz/src/module.coffee:520:Module.requireRepl = function() {
web-js-0.3.1.tgz/src/module.coffee:396: @requireRepl = -> Module._load 'repl', '.'
axy-define-0.0.2.tgz/ts/engine.ts:296: public static requireRepl(): void {
ali.gnode-0.1.1.tgz/fallback.js:47: var repl = require('module').requireRepl().start(opts);
ark-0.5.2.tgz/src/api/module.js:507:Module.requireRepl = function() {
axy-define-0.0.2.tgz/axy-define.js:1721: Module.requireRepl = function () {
biojs-vis-blast-0.1.5.tgz/node/lib/module.js:534:Module.requireRepl = function() {
biojs-vis-blast-0.1.5.tgz/node/src/node.js:148: var repl = Module.requireRepl().start(opts);
browserfs-module-0.3.1.tgz/browserfs-module.js:669: Module.requireRepl = internalUtil.deprecate(function () {
browserfs-module-0.3.1.tgz/browserfs-module.js:671: }, 'Module.requireRepl is deprecated.');
var express = require('express');
var session = require('express-session');
var FileStore = require('session-file-store')(session);
var store = new FileStore();
var fake = {
set: (...args) => setTimeout(() => store.set(...args), 1000),
get: (...args) => store.get(...args),
createSession: (...args) => store.createSession(...args),
touch: (...args) => store.touch(...args),
@ChALkeR
ChALkeR / scalapack.h
Created September 7, 2016 08:24
Example header file for some ScaLAPACK functions
#ifndef SCALAPACK_H
#define SCALAPACK_H
#include <complex>
typedef complex<float> complex_s;
typedef complex<double> complex_d;
extern "C" {
void Cblacs_pinfo( int* mypnum, int* nprocs);
void Cblacs_get(int context, int request, int* value);
@ChALkeR
ChALkeR / libp2p-ipfs.0.12.1.deps.txt
Created September 3, 2016 21:51
libp2p-ipfs@0.12.1 deps, as of 2016-09-04
└─┬ libp2p-ipfs@0.12.1
├─┬ libp2p-spdy@0.8.1
│ ├─┬ browserify-zlib@0.1.4 (git://github.com/ipfs/browserify-zlib.git#01f41c690b920b4620f3d54f694dedcfa0eb9912)
│ │ └── pako@1.0.3
│ ├─┬ interface-connection@0.1.8
│ │ └── timed-tape@0.1.1
│ └─┬ spdy-transport@2.0.14
│ ├── hpack.js@2.1.4
│ ├── obuf@1.1.1
│ ├─┬ readable-stream@2.1.5
@ChALkeR
ChALkeR / libp2p-example.deps.txt
Created September 2, 2016 15:00
libp2p example dependencies tree
├── libp2p@0.1.1
├─┬ libp2p-spdy@0.8.1
│ ├─┬ browserify-zlib@0.1.4 (git://github.com/ipfs/browserify-zlib.git#01f41c690b920b4620f3d54f694dedcfa0eb9912)
│ │ └── pako@1.0.3
│ ├─┬ interface-connection@0.1.8
│ │ └── timed-tape@0.1.1
│ └─┬ spdy-transport@2.0.14
│ ├── hpack.js@2.1.4
│ ├── obuf@1.1.1
│ ├─┬ readable-stream@2.1.5
@ChALkeR
ChALkeR / grep.2016-08-04.http_createClient.txt
Last active August 26, 2016 17:36
http\.createClient in npm modules, as of 2016-08-04
active-client-0.1.1.tgz/lib/active-client.js:27: client = http.createClient(proxyPort || port, proxyHost || host, isTls, creds)
active-client-0.1.1.tgz/lib/active-client.js:30: client = http.createClient(proxyPort || port, proxyHost || host)
altshift-0.3.11-1.tgz/lib/altshift/http/client.js:147: httpClient = http.createClient(request.port, request.hostname, isSecure);
apac-czbaker-1.0.0.tgz/test/OperationHelper_test.js:25:http.createClient = function(port, host) {
apac-g-0.0.12.tgz/test/OperationHelper_test.js:25:http.createClient = function(port, host) {
apricot-0.0.6.tgz/lib/apricot.js:322: host = http.createClient(((urlInfo.protocol === 'http:') ? urlInfo.port || 80 : 443), urlInfo.hostname),
auto-share-0.0.7.tgz/lib/clients/transmission/transmission.js:148: var httpClient = http.createClient(this.port, this.host);
aws-0.0.3-2.tgz/lib/aws.js:187: var client = http.createClient(80, ip_address);
backplane-0.0.4.tgz/lib/BackplanePoller.js:65: if(config.ssl) newPoller.client = http.create
@ChALkeR
ChALkeR / grep.2016-08-04.process_binding.txt
Created August 25, 2016 19:52
process.binding('natives') in npm modules, as of 2016-08-04
gulp-loader-1.1.2.tgz/Module.coffee:5:NativeModule = do (natives = Object.keys process.binding 'natives') ->
nodeBase-0.8.5.tgz/nodeBase-coffee.coffee:2:util = require(if process.binding('natives').util then 'util' else 'sys')
nodeBase-0.8.5.tgz/test/test-coffee.coffee:3:util = require(if process.binding('natives').util then 'util' else 'sys')
11zwheat-0.2.6.tgz/lib/wheat/data.js:4: util = require(process.binding('natives').util ? 'util' : 'sys'),
11zwheat-0.2.6.tgz/lib/wheat/tools.js:10: inspect: require(process.binding('natives').util ? 'util' : 'sys').inspect,
acs-1.2.1.tgz/lib/cli.js:62:var natives = process.binding('natives');
acsjin-1.1.6.tgz/lib/cli.js:62:var natives = process.binding('natives');
ajs-0.0.4.tgz/examples/server/context.js:9:// for(name in process.binding('natives')) {
altshift-0.3.11-1.tgz/lib/altshift/http/jsgi.js:6:var util = require(process.binding('natives').util ? 'util' : 'sys');
amdify-0.0.26.tgz/lib/builtin/_debugger.js:178:var natives = process.binding('natives');