4.1 MacOS

MacOS#

新应用不滞留在 Dock#

defaults write com.apple.dock static-only -bool true
killall Dock

参考#

jaywcjlove/awesome-mac#

jaywcjlove/awesome-mac Github stars Language Last Tag Last commit


CP Editor#

cpeditor/cpeditor Github stars Language Last Tag Last commit

CP Editor - 提升你的算法竞赛编程体验!


Hammerspoon#

Hammerspoon/hammerspoon Github stars Language Last Tag Last commit

This is a tool for powerful automation of OS X.

At its core, Hammerspoon is just a bridge between the operating system and a Lua scripting engine.


neovim#

neovim/neovim Github stars Language Last Tag Last commit

Vim-fork focused on extensibility and usability https://neovim.io


微信助手#

MustangYM/WeChatExtension-ForMac Github stars Language Last Tag Last commit

Mac 微信功能拓展 / 微信插件 / 微信小助手 (A plugin for Mac WeChat)

lmk123/oh-my-wechat Github stars Language Last Tag Last commit

# 安装
curl -o- -L https://omw.limingkai.cn/install.sh | bash -s

# 开机自动安装小助手的功能(即在开机后自动运行一次 omw -n)
omw open

# 解决重启错误问题,参考:https://github.com/MustangYM/WeChatExtension-ForMac/issues/816
sudo codesign --sign - --force --deep /Applications/WeChat.app

语雀#

http://yuque.com/



命令行工具#

fd#

sharkdp/fd Github stars Language Last Tag Last commit

A simple, fast and user-friendly alternative to ‘find’

brew install fd

goproxy#

snail007/goproxy Github stars Language Last Tag Last commit

Proxy 是 golang 实现的高性能 http,https,websocket,tcp,socks5 代理服务器,支持内网穿透,链式代理,通讯加密,智能 HTTP,SOCKS5 代理,黑白名单,限速,限流量,限连接数,跨平台,KCP 支持,认证 API。

hub#

github/hub Github stars Language Last Tag Last commit

A command-line tool that makes git easier to use with GitHub. https://hub.github.com/

hyperfine#

sharkdp/hyperfine Github stars Language Last Tag Last commit

A command-line benchmarking tool

Mac App Store command line interface#

mas-cli/mas Github stars Language Last Tag Last commit


nps#

ehang-io/nps Github stars Language Last Tag Last commit

server

# 安装
sudo ./nps install

# 启动
sudo nps start

# 访问 web
http://localhost:8080/
# 账户密码
# admin/123

# 日志
sudo tail -f /var/log/nps.log

client

下载 client

./npc -server=192.168.64.1:8024 -vkey=qlati48ufop46lln -type=tcp

nteract#

nteract/nteract Github stars Language Last Tag Last commit

The interactive computing suite for you!


Tmux#

Tmux


Alfred#

https://www.alfredapp.com/


Keyboard Maestro#


V2Ray#

v2ray/v2ray-core Github stars Language Last Tag Last commit

V2RayX#

Cenmrev/V2RayX Github stars Language Last Tag Last commit


WakaTime#

统计你的编程时间

https://wakatime.com/


vscode#

wakatime dashboard 一直显示插件未安装 开启 debug,发现下载 wakatime-cli 出错。

然后 cmd+shift+p,触发 wakatime enable,看到 wakatime-cli 解压且 chmod 成功,就 ok 了。

这样就是成功了。


GoLand#

Goland

Homebrew#

Homebrew/brew Github stars Language Last Tag Last commit

The missing package manager for macOS (or Linux) https://brew.sh


IntelliJ IDEA#

IntelliJ IDEA


iTerm2#

https://www.iterm2.com/


Oh My Zsh#

https://ohmyz.sh/

https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh
# 提示符
export PROMPT='%{$fg[magenta]%}%(?..%?%1v)%n@%{$fg[green]%}%M:%{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'

# 设置默认 shell
sudo chsh -s /usr/bin/zsh

VSCode#

详见:VSCode


格式转换#

富文本 -> markdown#

pandoc#

https://pandoc.org/