start new:
tmux
start new with session name:
tmux new -s myname
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>NSPrivacyAccessedAPITypes</key> | |
<array> | |
<dict> | |
<key>NSPrivacyAccessedAPIType</key> | |
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string> | |
<key>NSPrivacyAccessedAPITypeReasons</key> |
## https://www.zhihu.com/question/424089478 | |
import hashlib | |
def getpwd(uid): | |
uid = bytearray.fromhex(uid) | |
h = bytearray.fromhex(hashlib.sha1(uid).hexdigest()) | |
pwd = "" | |
pwd += "%02X" % h[h[0] % 20] |
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
wants to use your confidential Chromium safe storeage | |
https://imgur.com/a/zeXW6Di |
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
check process tailscale with pidfile /tmp/tailscale/tailscaled.pid | |
start program = "/share/CACHEDEV1_DATA/.qpkg/Tailscale/TailscaleWithLog.sh start" | |
stop program = "/share/CACHEDEV1_DATA/.qpkg/Tailscale/TailscaleWithLog.sh stop" | |
if failed host 127.0.0.1 port 41641 type udp then restart | |
group tailscale | |
#check process yfnode with pidfile /var/run/yfnode.pid | |
# start program = "/bin/bash -c '/share/external/DEV3301_1/ttnode_arm64/boot'" | |
# stop program = "/bin/kill -9 $(/bin/cat /var/run/yfnode.pid)" | |
# if 10 restarts with 10 cycles then timeout |
#!/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' |