Skip to content

Instantly share code, notes, and snippets.

View ChALkeR's full-sized avatar
🙂

Nikita Skovoroda ChALkeR

🙂
View GitHub Profile
@ChALkeR
ChALkeR / grep.2018-02-14.topcode.util_inspect.deprecated.txt
Last active April 1, 2018 18:57
./topcode.sh 'util\.inspect\([^,]+\, *([^{ ][^)]*\,|true|false)'
grep -aE "util\.inspect\([^,]+\, *([^{ ][^)]*\,|true|false)"
21627572 tough-cookie-2.3.3.tgz/lib/memstore.js:50: return "{ idx: "+util.inspect(this.idx, false, 2)+' }';
20600021 extsprintf-1.4.0.tgz/lib/extsprintf.js:151: ret += mod_util.inspect(arg, false, width);
6528474 winston-2.4.0.tgz/lib/winston/common.js:251: output += ' ' + '\n' + util.inspect(meta, false, options.depth || null, options.colorize);
3545797 karma-2.0.0.tgz/lib/reporters/base.js:76: log = util.inspect(log, false, undefined, this.USE_COLORS)
1764912 cardinal-1.0.0.tgz/utl.js:8: console.log(util.inspect(obj, false, depth || 5, true));
1449164 mongoose-5.0.5.tgz/lib/schema/array.js:192: throw new CastError('[' + e.kind + ']', util.inspect(value), this.path, e);
1387003 yarn-1.3.2.tgz/lib/cli.js:65439: ret += mod_util.inspect(arg, false, width);
1387003 yarn-1.3.2.tgz/lib/cli.js:136952: return "{ idx: "+util.inspect(this.idx, false, 2)+' }';
847401 pm2-2.9.3.tgz/lib/API.js:1498: process.stdout.write(util.insp
@ChALkeR
ChALkeR / grep.2018-02-14.EventEmitter_defaultMaxListeners.sorted.filtered.txt
Last active February 18, 2018 22:18
Gzemnid grep '(EventEmitter|events)\.defaultMaxListeners', 2018-02-14 dataset, sorted by d/m, events modules copies excluded.
1135513 localtunnel-1.8.3.tgz/lib/Tunnel.js:79: self.setMaxListeners(info.max_conn + (EventEmitter.defaultMaxListeners || 10));
375406 jimp-forked-0.0.1.tgz/browser/lib/jimp.js:2397:EventEmitter.defaultMaxListeners=10;// Obviously not all Emitters should be limited to 10. This function allows
375406 jimp-forked-0.0.1.tgz/browser/lib/jimp.js:2410:if(isObject(this._events[type])&&!this._events[type].warned){if(!isUndefined(this._maxListeners)){m=this._maxListeners;}else{m=EventEmitter.defaultMaxListeners;}if(m&&m>0&&this._events[type].length>m){this._events[type].warned=true;console.error('(node) warning: possible EventEmitter memory '+'leak detected. %d listeners added. '+'Use emitter.setMaxListeners() to increase limit.',this._events[type].length);if(typeof console.trace==='function'){// not supported in IE 10
71615 rollup-plugin-node-builtins-2.1.2.tgz/src/es6/events.js:59: return EventEmitter.defaultMaxListeners;
66268 purify-css-1.2.5.tgz/lib/purifycss.es.js:58: return EventEmitter.defaultMaxListe
@ChALkeR
ChALkeR / grep.2018-02-14.EventEmitter_defaultMaxListeners.sorted.txt
Created February 18, 2018 22:11
Gzemnid grep '(EventEmitter|events)\.defaultMaxListeners', 2018-02-14 dataset, sorted by d/m
11114592 events-2.0.0.tgz/events.js:67: EventEmitter.defaultMaxListeners = defaultMaxListeners;
11114592 events-2.0.0.tgz/events.js:81: return EventEmitter.defaultMaxListeners;
11114592 events-2.0.0.tgz/tests/check-listener-leaks.js:63: events.EventEmitter.defaultMaxListeners = 42;
11114592 events-2.0.0.tgz/tests/check-listener-leaks.js:74: events.EventEmitter.defaultMaxListeners = 44;
11114592 events-2.0.0.tgz/tests/check-listener-leaks.js:83: events.EventEmitter.defaultMaxListeners = 42;
11114592 events-2.0.0.tgz/tests/max-listeners.js:43: assert.throws(function() { events.defaultMaxListeners = obj; }, defError);
6328358 mocha-5.0.1.tgz/mocha.js:10649:EventEmitter.defaultMaxListeners = 10;
6328358 mocha-5.0.1.tgz/mocha.js:10746: m = EventEmitter.defaultMaxListeners;
4886878 eventsource-1.0.5.tgz/example/eventsource-polyfill.js:2339:EventEmitter.defaultMaxListeners = 10;
4886878 eventsource-1.0.5.tgz/example/eventsource-polyfill.js:2436: m = EventEmitter.defaultMaxListeners;
@ChALkeR
ChALkeR / npm.huge.react-native.txt
Created February 14, 2018 21:40
react-native huge packages (≥ 100M)
190M react-native-linphone-4.0.0.tgz
188M react-present-0.2.1.tgz
181M react-native-appboy-sdk-1.4.0.tgz
178M react-native-kaltura-player-v3-1.0.1.tgz
177M react-native-embryo-0.1.0.tgz
176M react-native-huanxinpro-1.0.2.tgz
171M react-native-annecy-media-1.4.3.tgz
161M react-native-sectioned-multi-select-0.3.4.tgz
160M react-native-openalpr-1.1.0.tgz
160M react-native-media-editor-0.0.1.tgz
@ChALkeR
ChALkeR / git-multiple-authors.log
Last active January 11, 2018 17:58
Multiple git authors test
[chalker@yoga ecma262]$ git checkout bmeck/asi-hazard -b asi-hazard
Ветка «asi-hazard» отслеживает внешнюю ветку «asi-hazard» из «bmeck».
Переключено на новую ветку «asi-hazard»
[chalker@yoga ecma262]$ git show
commit 51db6904a09444348e8054a75d6f4835e4fe88aa (HEAD -> asi-hazard, bmeck/asi-hazard)
Author: Daniel Ehrenberg <littledan@chromium.org>
Date: Thu Jan 11 08:59:57 2018 -0600
Editorial: Add Automatic Semicolon Insertion hazard clause
@ChALkeR
ChALkeR / spectre.c
Created January 4, 2018 16:34 — forked from ErikAugust/spectre.c
Spectre example code
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#ifdef _MSC_VER
#include <intrin.h> /* for rdtscp and clflush */
#pragma optimize("gt",on)
#else
#include <x86intrin.h> /* for rdtscp and clflush */
#endif
@ChALkeR
ChALkeR / grep.2017-08-02.__makeLong_.txt
Created September 27, 2017 17:07
Gzemnid grep for \._makeLong\( in 2017-08-02 data
path.js-1.0.7.tgz/test/path-test.coffee:281: assert.equal path._makeLong(null), null
path.js-1.0.7.tgz/test/path-test.coffee:282: assert.equal path._makeLong(100), 100
path.js-1.0.7.tgz/test/path-test.coffee:283: assert.equal path._makeLong(path), path
path.js-1.0.7.tgz/test/path-test.coffee:284: assert.equal path._makeLong(false), false
path.js-1.0.7.tgz/test/path-test.coffee:285: assert.equal path._makeLong(true), true
path.js-1.0.7.tgz/test/win-path-test.coffee:313: assert.equal path._makeLong(null), null
path.js-1.0.7.tgz/test/win-path-test.coffee:314: assert.equal path._makeLong(100), 100
path.js-1.0.7.tgz/test/win-path-test.coffee:315: assert.equal path._makeLong(path), path
path.js-1.0.7.tgz/test/win-path-test.coffee:316: assert.equal path._makeLong(false), false
path.js-1.0.7.tgz/test/win-path-test.coffee:317: assert.equal path._makeLong(true), true
@ChALkeR
ChALkeR / grep.2015-09-21.process.binding.txt
Created September 26, 2015 13:14
lzgrep -h 'process\.binding' slim.code.ts.lzo slim.code.coffee.lzo slim.code.js.lzo (Gzemnid 2015-09-21)
ark-0.5.2.tgz/src/module.coffee:23:var Script = process.binding('evals').NodeScript;
bundlet-0.1.3.tgz/src/process.coffee:36: throw {error: 'not_supported', name: 'process.binding'}
creek-0.2.2.tgz/lib/runner.coffee:36: Script = process.binding('evals').Script
gulp-loader-1.1.2.tgz/Module.coffee:5:NativeModule = do (natives = Object.keys process.binding 'natives') ->
net-cluster-0.0.2.tgz/src/net-cluster.coffee:9:{TCP} = process.binding "tcp_wrap"
net-keepalive-0.2.7.tgz/lib/index.coffee:11: UV = process.binding? 'uv'
nice-http-0.1.0-alfa.tgz/src/_http_server.coffee:25:HTTPParser = process.binding('http_parser').HTTPParser
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')
nsync-0.0.3.tgz/src/sftp.coffee:4:constants = process.binding 'constants'
@ChALkeR
ChALkeR / shared-mime-info.txt
Created August 9, 2017 00:08
shared-mime-info direct dependents in Arch Linux
Repository : extra
Name : shared-mime-info
Version : 1.8-1
Description : Freedesktop.org Shared MIME Info
Architecture : x86_64
URL : https://freedesktop.org/Software/shared-mime-info
Licenses : GPL2
Groups : None
Provides : None
Depends On : libxml2 glib2
@ChALkeR
ChALkeR / slow.qml
Last active June 27, 2017 10:27
QtQuick.Particles GPU usage issue
import QtQuick 2.0
import QtQuick.Particles 2.0
Item {
width: 1500
height: 800
Rectangle {
color: 'black'
anchors.fill: parent
}