30.11.2020: Updated with the new patchseries and instructions for Windows
02.12.2020: Added tweaks
08.12.2020: Updated with patchseries v4
31.01.2020: Updated with patchseries v6
import { | |
FuseBox, | |
BabelPlugin, | |
QuantumPlugin, | |
WebIndexPlugin, | |
TypeScriptHelpers, | |
Sparky, | |
} from 'fuse-box' | |
import * as path from 'path' |
// Async/Await requirements: Latest Chrome/FF browser or Babel: https://babeljs.io/docs/plugins/transform-async-to-generator/ | |
// Fetch requirements: Latest Chrome/FF browser or Github fetch polyfill: https://github.com/github/fetch | |
// async function | |
async function fetchAsync () { | |
// await response of fetch call | |
let response = await fetch('https://api.github.com'); | |
// only proceed once promise is resolved | |
let data = await response.json(); | |
// only proceed once second promise is resolved |
#!/bin/bash | |
[ $# -eq 0 ] && echo "see aria2c -h" && exit | |
url="" | |
cdn=' | |
120.52.73.2 | |
120.52.73.4 | |
120.52.73.6 | |
120.52.73.7 | |
120.52.73.10 |
# This needs to be added to your .bash_profile | |
## | |
# GIT Helpers | |
## | |
# Usage: git-blame <file> | |
git-blame() { | |
ruby ~/scripts/git-blame-colored $1 | less -R | |
} |
emacs --daemon
to run in the background.
emacsclient.emacs24 <filename/dirname>
to open in terminal
NOTE: "M-m and SPC can be used interchangeably".
C-/
C-?
M-c
2. Upper Case : M-u
M-l
#!/usr/bin/env python3 | |
# vim: sw=4 ts=4 et tw=100 cc=+1 | |
# | |
#################################################################################################### | |
# DESCRIPTION # | |
#################################################################################################### | |
# | |
# Decompressor/compressor for files in Mozilla's "mozLz4" format. Firefox uses this file format to | |
# compress e. g. bookmark backups (*.jsonlz4). | |
# |
#!/usr/bin/env ruby | |
# Colorize string | |
class String | |
def colorize(color_code) | |
"\e[#{color_code}m#{self}\e[0m" | |
end | |
end | |
class Colors |