Keybase proof
I hereby claim:
- I am ovyerus on github.
- I am ovyerus (https://keybase.io/ovyerus) on keybase.
- I have a public key ASBQtl_G8qlPAfiXLFkr95Ydxe61RFiCQn2tkbj2QjgCjQo
To claim this, I am signing this object:
# Store normal bins | |
alias _cat (which cat) | |
alias _find (which find) | |
alias _grep (which grep) | |
alias _ls (which ls) | |
alias _nano (which nano) | |
# Alias cool and swag bins | |
alias cat 'bat' | |
alias find 'fd' |
const chunk = (arr, n) => | |
Array.from({ length: Math.ceil(arr.length / n) }, (v, i) => | |
// eslint-disable-next-line no-mixed-operators | |
arr.slice(i * n, i * n + n) | |
); | |
const data = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; | |
chunk(data, 2) | |
// Turn each chunk into a function that will await all of its parts to resolve before finishing |
set -g symb '▲' | |
set -g leading_brace 0 | |
set -g has_launched 0 | |
function git_info | |
set -l branch (git rev-parse --abbrev-ref HEAD 2> /dev/null) | |
printf "%s(%s%s%s)" $c0 $c1 $branch $c0 | |
set -l changes (git status --porcelain --ignore-submodules 2> /dev/null) |
/** Helper for working with `process.stdin` as a char-by-char iterator */ | |
async function* stdin() { | |
process.stdin.setEncoding('utf-8'); | |
process.stdin.resume(); | |
if (process.stdin.isTTY) process.stdin.setRawMode(true); | |
for await (const char of process.stdin) { | |
// raw mode doesn't get set when piping text into stdin, so often text is | |
// given altogether | |
if (char.length > 1) { |
fov=110 | |
antiAliasing=2 | |
renderScale=1 | |
positionSmooth=5 | |
rotationSmooth=5 | |
cam360Smoothness=2 | |
thirdPerson=False | |
showThirdPersonCamera=True | |
use360Camera=False | |
posx=1.155572 |
I hereby claim:
To claim this, I am signing this object:
@erisa/micro
.Erisa
- still wraps single function.clarisa
or @erisa/micro
on the command line.exports.commandSystem = true
or config file?; Constants | |
MOUSE_SWAP := 0x21 | |
SET_CURSORS := 0x57 | |
KEY_ORDER := ["Arrow","Help","AppStarting","Wait","Crosshair","IBeam","NWPen","No","SizeNS","SizeWE","SizeNWSE","SizeNESW","SizeAll","UpArrow","Hand"] | |
SCHEME = scheme name | |
; Generate scheme list | |
RegRead, SchemeList, HKEY_CURRENT_USER\Control Panel\Cursors\Schemes, % SCHEME, | |
SchemeList := StrSplit(SchemeList, ",") |