TTFB test, monitoring, api, performance testing
Queue/workflows processing https://temporal.io/
| crs() { | |
| local f cwd title mtime | |
| local c_time=$'\e[38;5;110m' c_dir=$'\e[38;5;180m' c_off=$'\e[0m' | |
| for f in "$HOME"/.claude/projects/*/*.jsonl(N.m-7); do | |
| grep -q '"entrypoint":"sdk-cli"' "$f" && grep -q '"origin":{"kind":"human"}' "$f" || continue | |
| cwd=$(grep -m1 -o '"cwd":"[^"]*"' "$f" | sed 's/"cwd":"//;s/"//') | |
| title=$(grep -o '"customTitle":"[^"]*"' "$f" | tail -1 | sed 's/"customTitle":"//;s/"//') | |
| [[ -z "$title" ]] && title=$(grep -m1 '"operation":"enqueue"' "$f" | sed 's/.*"content":"//;s/".*//' | cut -c1-200) | |
| mtime=$(stat -c '%y' "$f" | cut -d. -f1) | |
| printf 'cd %s && claude --resume %s # %s%s%s [%s%s%s] %s\n' \ |
| 108.61.178.34 |
| console.log('=====================test.js======================'); | |
| console.log('=====================test.js======================'); | |
| console.log('=====================test.js======================'); | |
| window.addEventListener('load', function () { | |
| console.log('=====================test.js======================'); | |
| }); |
| pass() { | |
| local input | |
| read -r input | |
| print -n "\e[1A\e[K" | |
| local var=$(echo $input | sed 'y/[!"№%:,.;йцукенгшщзхъёфывапролджэячсмитьбюЙЦУКЕНГШЩЗХЪЁФЫВАПРОЛДЖЭЯЧСМИТЬБЮ/~!@#$%^&*qwertyuiop[]\\asdfghjkl;\''zxcvbnm,.QWERTYUIOP{}|ASDFGHJKL:"ZXCVBNM<>/') | |
| echo -n "$var" | |
| read -k 1 input | |
| print -n "\e[1A\e[K" | |
| if [[ $input == $'\n' ]]; then | |
| echo -n "$var" | pbcopy |
| // Intent to test n8n endpoints locally | |
| resource "random_id" "playground_tunnel_secret" { | |
| byte_length = 35 | |
| } | |
| resource "cloudflare_tunnel" "playground" { | |
| provider = cloudflare.main | |
| account_id = local.cloudflare_account_id |
TTFB test, monitoring, api, performance testing
Queue/workflows processing https://temporal.io/
| # https://github.com/bitwarden/clients/issues/3366 | |
| # Usage: | |
| # bwget <item-name> | |
| # to get any org password | |
| # bwget <item-name> null | |
| # to get self password | |
| bwget() { | |
| local pwd | |
| local count | |
| # by default search inside any organisation |
| # gitclean allows to work with multiple origins, cleans all deleteded aliases | |
| alias gitclean="(git remote | xargs git remote prune) && git branch -vv | egrep '('\$(git remote | xargs | sed -e 's/ /|/g')')/.*: gone]' | awk '{print \$1}' | xargs git branch -D" |
| /*Parses ICU messages format https://messageformat.github.io/messageformat/guide/ | |
| like | |
| {from} - {to} {results, plural, | |
| one { # result } | |
| many { # results } | |
| } text {vr} rmm | |
| {s, select, | |
| man { He is "#"#"#" } | |
| woman { She is # } | |
| } |