bs=$(du -bs . | cut -f1 )
tar -cf - . | tqdm --bytes --total "$bs" --desc 'Processing' | xz -e -T0 | tqdm --bytes --total "$bs" --desc 'Result' --position 1 > out.$(date +%s).xz
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 3rd party extention: Toggle (Peng Lv) | |
{ | |
"key": "ctrl-u", | |
"command": "toggle", | |
"when": "editorTextFocus", | |
"args": { | |
"id": "toogle_inlay_hints", | |
"value": [ | |
{ | |
"editor.inlayHints.enabled": "on", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# all imports | |
from IPython.display import Javascript | |
from google.colab import output | |
from base64 import b64decode | |
RECORD = """ | |
const sleep = time => new Promise(resolve => setTimeout(resolve, time)) | |
const b2text = blob => new Promise(resolve => { | |
const reader = new FileReader() | |
reader.onloadend = e => resolve(e.srcElement.result) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
gcc -o dcraw -O4 dcraw.c -lm -DNODEPS | |
./dcraw -4 -d -v -T <raw_file_name> | |
dcraw.c -- Dave Coffin's raw photo decoder | |
Copyright 1997-2018 by Dave Coffin, dcoffin a cybercom o net | |
This is a command-line ANSI C program to convert raw photos from | |
any digital camera on any computer running any operating system. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.