创建用户
sudo apt update && sudo apt install sudo
Useradd -m -G sudo XXXX
Rsync 同步文件夹
rsync -P --rsh=ssh -r public -e 'ssh -p xxxx' xxxx@blog.b.com:/xxxx/xxxx/xxxx
bwg ssh://git@xx.xx.xx.xx:xx/home/gitrepo/blog.git (push)
qh ssh://tig@xx.xx.xx.xx:xx/volume1/homes/tig/git/blog.git (fetch)
macOS clash 开启tun权限,执行以下命令后重启clash,不用重启应用。
sudo chown root:admin /Applications/Clash\Verge.app/Contents/MacOS/clash
sudo chmod +sx /Applications/Clash\ Verge.app/Contents/MacOS/clash sudo chown root:admin /Applications/Clash\ Verge.app/Contents/MacOS/clash-meta
sudo chmod +sx /Applications/Clash\ Verge.app/Contents/MacOS/clash-meta
macOS 应用程序:如何查找 Bundle ID
osascript -e 'id of app "Application Name"'
excel 聚光灯效果
Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range)
Application.ScreenUpdating = False
Cells.Interior.ColorIndex = -4142 '取消单元格原有填充色,但不包含条件格式产生的颜色。
Rows(Target.Row).Interior.ColorIndex = 40 '活动单元格整行填充颜色
Columns(Target.Column).Interior.ColorIndex = 40 '活动单元格整列填充颜色
Application.ScreenUpdating = True
End Sub