Skip to content

Instantly share code, notes, and snippets.

View Xample's full-sized avatar

Flavien Volken Xample

  • CopeCode
  • Yverdon
View GitHub Profile
@Xample
Xample / brainProject_.browserslistrc
Created May 7, 2022 20:22
Two.js module not found
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries
# For the full list of supported browsers by the Angular framework, please see:
# https://angular.io/guide/browser-support
# You can see what browsers were selected by your queries by running:
# npx browserslist
@Xample
Xample / BlobStreamer.ts
Created May 2, 2018 06:00
A class to read a file (or blob) chunk by chunk
export type bytes = number;
export class BlobStreamer {
protected readonly defaultChunkSize = 64 * 1024; // 64k (more is faster but makes chrome crash on large blobs?!)
private offset: bytes = 0;
constructor(private blob: Blob) {
this.rewind();
}
mbp:kubernetes example$ ./cluster/kubectl.sh logs wow-pod backend
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1669k 100 1669k 0 0 1692k 0 --:--:-- --:--:-- --:--:-- 1739k
npm WARN package.json meteor-dev-bundle@0.0.0 No description
npm WARN package.json meteor-dev-bundle@0.0.0 No repository field.
npm WARN package.json meteor-dev-bundle@0.0.0 No README data
> fibers@1.0.5 install /tmp/bundle/programs/server/node_modules/fibers
> node ./build.js
`linux-x64-v8-3.14` exists; testing