Wener Notes

macOS Awesome

约 2 分钟阅读
标签:资源精选
bash
# 获取系统版本
sw_vers

System

Apps

Command Line

Misc

bash
defaults write NSGlobalDomain WebKitDeveloperExtras -bool true
defaults write -g WebKitDeveloperExtras -bool YES

Notification

bash
# Apple 自带
osascript -e 'display notification "通知内容" with title "标题" subtitle "副标题" sound name "Crystal"'

# 如果安装了快捷指令 app -> 快捷指令名
shortcuts run "Notify" <<< "这是通知内容"

# brew install terminal-notifier
terminal-notifier -title "标题" -message "内容" -open "http://google.com" -bundleID "com.apple.Terminal"

alerter -title "标题" -message "内容" -actions "接受","拒绝"

notificator --title "标题" --text "内容"

关联信息

反向链接、本文链接的其他页面和外部资料。

站内链接

  • Brew
    笔记 · brew

    brew · BSD-2, Ruby · macOS/Linux 包管理器 · 参考 · Brew.sh · /usr/local -> /opt/homebrew · 新版本做了位置迁移 · native 的 binary 都是 universal binary,但 brew 的 binary 不一定

References

GitHub17 条
Hacker News1 条
其他外链6 条
最近更新commit 4b6e1d9Edit

On this page