List codecs
ffmpeg -codecs | grep -i subQuiet output:
| alias ll='ls -lahG' | |
| alias lowercase='for f in *; do mv "$f" "$f.tmp"; mv "$f.tmp" "`echo $f | tr "[:upper:]" "[:lower:]"`"; done' | |
| alias apple-wireless-mouse='mouseid=$(xinput --list | perl -n -e 's@.*Edgar Tinajero.*Mouse.*id=([0-9]+).*@$1@ and print') && xinput --set-prop $mouseid 'libinput Natural Scrolling Enabled' 1 && xinput set-button-map $mouseid 1 1 3' | |
| function rdpclient { cat ~/.bash_secrets | grep $1 | awk '{print $NF}' | rdesktop -f -N -x m -u Administrator -p - -r disk:share=$HOME/sap $1 & } |
has:attachment filename:(-pdf -zip) older_than:3y larger:10m
Steps:
pkg install proot
termux-chroot
pkg install openssh
ssh-keygen -t rsa -b 4096 -C "[email protected]"
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
sshd
whoami
ifconfig arc0 | awk '/inet/{print $2}' | sed -e 's/^.*://g'
| # sudo bang bang | |
| function sudo | |
| if test "$argv" = !! | |
| eval command sudo $history[1] | |
| else | |
| command sudo $argv | |
| end | |
| end | |
| # git branch |
| host paunix.github.com | |
| hostname github.com | |
| identityfile ~/.ssh/id_rsa-paunix | |
| host 172.31.31.254 172.31.35.254 172.31.43.254 | |
| port 2002 | |
| KexAlgorithms +diffie-hellman-group1-sha1 | |
| Ciphers +3des-cbc | |
| HostKeyAlgorithms +ssh-dss | |
| MACs hmac-sha1 |
Enable the package repository for CentOS
sudo vi /etc/yum.repos.d/plex.repo| Keys | Description |
|---|---|
⌥ |
Startup Manager |
⇧ |
Safe mode |
D |
Apple Diagnostics |
⌥ + D |
Apple Diagnostics over Internet |
⌘ + V |
Verbose mode |
⌘ + S ó ⌘ + R |
Single-user mode |
Get a list of your VMs
vim-cmd vmsvc/getallvmsFind the one you’re interested in and check its “power” state
vim-cmd vmsvc/power.getstate [vmid]