Skip to content

Instantly share code, notes, and snippets.

44022 silly gunzTarPerm modified mode [ 'lib/dependencies/RequireResolveDependency.js', 438, 420 ]
44023 silly gunzTarPerm extractEntry library/es7/array.js
44024 silly gunzTarPerm modified mode [ 'library/es7/array.js', 438, 420 ]
44025 silly gunzTarPerm extractEntry library/es7/index.js
44026 silly gunzTarPerm modified mode [ 'library/es7/index.js', 438, 420 ]
44027 silly gunzTarPerm extractEntry node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/node_modules/lodash._createpadding/index.js
44028 silly gunzTarPerm extractEntry node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/node_modules/lodash._createpadding/node_modules/lodash.repeat/package.json
44029 silly gunzTarPerm extractEntry node_modules/node-pre-gyp/node_modules/request/node_modules/mime/types/mime.types
44030 silly gunzTarPerm extractEntry node_modules/node-pre-gyp/node_modules/request/node_modules/mime/types/node.types
44031 silly gunzTarPerm extractEntry features-json/midi.json
@XeCycle
XeCycle / scannable-stream.js
Created October 12, 2015 08:27
something like stream.readline(), returning a promise.
import {Writable} from "stream";
// scanner returns remaining string if succeeded, null/undefined otherwise
class ScanningState {
constructor(buf, scanner) {
this.buf = buf;
this.scanner = scanner;
}
scan() {
throw new Error("Another scan in progress");
@XeCycle
XeCycle / comic-mplayer.sh
Created February 29, 2012 14:25
SJTU Comic VLC TV playlist transformed for use with mplayer.
#!/bin/bash
# Configurations
player=mplayer
playlisturl='http://comic.sjtu.edu.cn/vlc/pl_xspf.asp'
TMPDIR=$(mktemp -d)
cd $TMPDIR
cat > comic-vlc.xslt <<EOF