Skip to content

Instantly share code, notes, and snippets.

View arren-ru's full-sized avatar
🔥
THIS IS FINE

Arren arren-ru

🔥
THIS IS FINE
View GitHub Profile
@arren-ru
arren-ru / benchmark_serialization.sh
Last active August 7, 2024 15:59
Benchmark BASH serialization
#!/usr/bin/env bash
declare -A output sample=(
[id]="969AEF26-6D33-475A-982B-27EC880A2495"
[name]="some_name"
[prop]="property with spaces"
[level]="lower"
[production]="no"
[env]="staging"
)
@arren-ru
arren-ru / .vimrc
Last active March 31, 2023 12:05
dotfiles
" VIM 8 defaults
unlet! skip_defaults_vim
silent! source $VIMRUNTIME/defaults.vim
set viminfo=%,<1000,'10,/50,:100,h,f0,n~/.vim/.viminfo
" │ │ │ │ │ │ │ ╰─ viminfo file path
" │ │ │ │ │ │ ╰──── file marks 0-9,A-Z 0=NOT stored
" │ │ │ │ │ ╰────── disable 'hlsearch' loading viminfo
" │ │ │ │ ╰─────────── command-line history saved
" │ │ │ ╰─────────────── search history saved