0
0
1
vim
- toggle control characters on/off:
:set list
:set nolist
:set list
:set nolist
yq 'explode(.)' < inputfile.yaml
foo to github team admins:vault write auth/github/map/teams/admins value=foo
foo directly to a user in the configured organisation:vault write auth/github/map/users/glitchcrab value=foo
curl https://api.cloudflare.com/client/v4/zones/<zone_id>/dns_records?per_page=50&page=1 \
-H "X-Auth-Key:<api_key>" \
-H "X-Auth-Email:<account_email>" \
tcpdump "tcp port 443 and (tcp[((tcp[12] & 0xf0) >>2)] = 0x16) && (tcp[((tcp[12] & 0xf0) >>2)+5] = 0x01)" -w output.pcap
tshark -r output.pcap -Tfields -e tls.handshake.extensions_server_name -Y 'tls.handshake.extension.type == 0' | sort | uniq
tail -n +2 file.txt
tail -F file.name
ssh -o PasswordAuthentication=yes -o PreferredAuthentications=keyboard-interactive,password -o PubkeyAuthentication=no
export SOPS_AGE_KEY=AGE-SECRET-KEY-1XJNR6UEP552AMGPVEJZ55849UUK20MKZSDF4SA2XEVJQK2LACXDQFASKE6
sed -i '1s/^/your text\n/' file
sed ':a;N;$!ba;s/\n/NEWCHAR/g' filename
rsync -avPAX
find . -type f -mtime -4 -print0 | rsync -0adv --files-from=- ./ root@target-host:/target/path/