start new:
tmux
start new with session name:
tmux new -s myname
New Ventura docs for M2 Macs in this comment: https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd?permalink_comment_id=4555340#gistcomment-4555340
Old Monterey docs in this old revision: https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd/32c410e3a1de73539c76fa13ea5486569c4e0c5d
Based on this blogpost.
To sign Git commits, you need a gpg key. GPG stands for GNU Privacy Guard and is the de facto implementation of the OpenPGP message format. PGP stands for ‘Pretty Good Privacy’ and is a standard to sign and encrypt messages.
Install with Homebrew:
$ brew install gpg| #!/bin/sh | |
| uci batch << EOF | |
| add network switch_vlan | |
| set network.@switch_vlan[-1].device='switch0' | |
| set network.@switch_vlan[-1].ports='1t 5t' | |
| set network.@switch_vlan[-1].vlan='2' | |
| set network.guest='interface' | |
| set network.guest.type='bridge' |
| http://blog.desgrange.net/2012/06/05/caldav-carddav-debian-davical-ios-ical.html | |
| mike@rbci:~$ psql -U postgres | |
| psql (9.0.3) | |
| Type "help" for help. | |
| postgres=# update pg_database set datallowconn = TRUE where datname = 'template0'; | |
| UPDATE 1 | |
| postgres=# \c template0 | |
| You are now connected to database "template0". |
| # after the virtual disk has already been expanded (e.g. in proxmox) | |
| apk add --no-cache cfdisk e2fsprogs-extra openssh-client | |
| # choose partition then "Resize" > "Write" (to finalize) | |
| cfdisk | |
| # replace * with partition you are resizing | |
| resize2fs /dev/* |
| 0.0.0.0 a.stat.xiaomi.com | |
| 0.0.0.0 abtest.mistat.intl.xiaomi.com | |
| 0.0.0.0 abtest.mistat.xiaomi.com | |
| 0.0.0.0 ad.mi.com | |
| 0.0.0.0 ad.xiaomi.com | |
| 0.0.0.0 ad1.xiaomi.com | |
| 0.0.0.0 adv.sec.miui.com | |
| 0.0.0.0 api.account.xiaomi.com | |
| 0.0.0.0 api.ad.xiaomi.com | |
| 0.0.0.0 api.admob.xiaomi.com |
| curl -L "https://drive.google.com/uc?id=0B6pVMMV5F5dfb1YwcThnaVZXbjg" -o nutcracker-0.4.1.tar.gz | |
| tar zxf nutcracker-0.4.1.tar.gz | |
| cd nutcracker-0.4.1 | |
| ./configure --prefix=/usr | |
| make | |
| make install | |
| mkdir /etc/nutcracker | |
| cp conf/nutcracker.yml /etc/nutcracker | |
| cat << 'EOC' > /lib/systemd/system/nutcracker.service |