tar -c -f directory.tar.zst -I "zstd -T16" directory
tar -x -f directory.tar.zst -I "unzstd -T16"
export function debounce<F extends (...args: Parameters<F>) => ReturnType<F>>( | |
func: F, | |
waitFor: number | |
): (...args: Parameters<F>) => void { | |
let timeout: ReturnType<typeof setTimeout>; | |
return (...args: Parameters<F>) => { | |
clearTimeout(timeout); | |
timeout = setTimeout(() => func(...args), waitFor); | |
}; |
powershell.exe -noprofile -executionpolicy bypass -file script.ps1 | |
https://github.com/microsoft/WSL/issues/4150#issuecomment-504209723 |
from time import perf_counter | |
from typing import Any, Callable, Coroutine, ParamSpec, TypeVar | |
T = TypeVar("T") | |
P = ParamSpec("P") | |
def with_timer(fn: Callable[P, T]) -> Callable[P, T]: | |
def wrapper(*args: P.args, **kwargs: P.kwargs) -> T: | |
t0 = perf_counter() | |
result = fn(*args, **kwargs) |
audit=false | |
fund=false |
[credential] | |
helper = store | |
[alias] | |
stash-unapply = !git stash show -p | git apply -R | |
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
co = checkout | |
br = branch | |
ci = commit | |
st = status | |
unstage = reset HEAD |
call plug#begin('~/.vim/plugged') | |
Plug 'preservim/nerdtree' | |
Plug 'vim-airline/vim-airline' | |
Plug 'tpope/vim-fugitive' | |
call plug#end() | |
let g:airline_powerline_fonts = 1 | |
syntax on | |
set tabstop=4 softtabstop=0 expandtab shiftwidth=4 smarttab |
--- a/platforms/android/cordova/lib/emulator.js 2018-08-08 12:34:38.000000000 +0200 | |
+++ b/platforms/android/cordova/lib/emulator.js 2018-08-08 14:14:35.000000000 +0200 | |
@@ -187,7 +187,7 @@ | |
var api_level = avd.target.match(/\d+/); | |
if (api_level) { | |
var level = android_versions.get(api_level); | |
- avd.target = 'Android ' + level.semver + ' (API level ' + api_level + ')'; | |
+ avd.target = 'Android ' + (level ? level.semver : '') + ' (API level ' + api_level + ')'; | |
} | |
} |
#TabsToolbar { | |
direction: rtl; | |
} | |
#tabbrowser-tabs { | |
direction: ltr; | |
} | |
.titlebar-buttonbox { | |
display: flex; |