Note
This no longer works in browser!
Note
This no longer works if you're alone in vc! Somebody else has to join you!
How to use this script:
- Accept the quest under User Settings -> Gift Inventory
Recently found some clowny gist was the top result for 'google takeout multiple tgz', where it was using two bash scripts to extract all the tgz files and then merge them together. Don't do that. Use brace expansion, cat
the TGZs, and extract:
$ cat takeout-20201023T123551Z-{001..011}.tgz | tar xzivf -
You don't even need to use brace expansion. Globbing will order the files numerically:
$ cat takeout-20201023T123551Z-*.tgz | tar xzivf -
# clang-format | |
# Made by: Ingmar Delsink | |
# idelsink.com | |
# See http://clang.llvm.org/docs/ClangFormatStyleOptions.html | |
# Tested with: clang-format version 3.7.1 | |
# General | |
######### | |
# The style used for all options not specifically set in the configuration. |
// I'm tired of extensions that automatically: | |
// - show welcome pages / walkthroughs | |
// - show release notes | |
// - send telemetry | |
// - recommend things | |
// | |
// This disables all of that stuff. | |
// If you have more config, leave a comment so I can add it!! | |
{ |
exFAT support on macOS seems to have some bugs because my external drives with exFAT formatting will randomly get corrupted.
Disk Utility is unable to repair this at first, but the fix is this:
diskutil list
to find the right drive id.disk1s1
sudo fsck_exfat -d <id from above>
. eg sudo fsck_exfat -d disk1s3
-d
is debug so you'll see all your files output as they're processed.YES
if it gives you the prompt Main boot region needs to be updated. Yes/No?
import requests | |
import contextlib | |
API_BASE = 'http://www.deezer.com/ajax/gw-light.php' | |
session = requests.Session() | |
def api_call(token, method, json=None): | |
params = {'api_version': "1.0", 'api_token': token,'input': '3', 'method': method} | |
req = session.post(API_BASE, params=params, json=json) | |
return req.json() |