Skip to content

Instantly share code, notes, and snippets.

View chaser.js
const objects = [{
name: 'First',
rank: 1
}, {
name: 'Fourth',
rank: 4
}, {
name: 'Second',
rank: 2
}, {
View gist:8640959
function handler(name, io) {
var file = new File(name);
var blockSize = 102400;
for (var i = 0; i < file.length; i += blockSize) {
var buf = file.read(i, blockSize);
io.write(buf);
}
}
function handler2(name, io) {