XiaO

自用 Mac 软件记录

XiaO / 2020-05-16


自用 Mac 软件记录

Homebrew

xcode-select —-install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

brew tap homebrew/core
brew tap homebrew/cask
brew tap homebrew/cask-versions
brew tap homebrew/cask-fonts
brew tap brewsci/bio
brew tap buo/cask-upgrade # 替代 `brew cask upgrade`,更直观,可交互更新;
brew tap homebrew/bundle # 软件打包备份

brew deps --tree formula  # 查看一个软件的依赖

Atom

免费文档编辑,然而使用并不多。Built upon web technologies.

brew install --cask atom

Betterzipql

快速预览压缩文件而不必解压,支持 ZIP, RAR, 7-Zip, TAR, TGZ, TBZ, TXZ, GZip, BZip2, ARJ, LZH, ISO, CHM, CAB, CPIO, DEB, RPM, StuffIt’s SIT, BinHex, MacBinary,Apple Disk Images (DMG) and winmail.dat。

brew install --cask betterzipql

Bitbar

状态栏工具,把日常小工具放入状态栏

brew install --cask bitbar

Calibre

电子书制作管理全能,中文教程

brew install --cask calibre

Caprine

脸书的非官方桌面客户端,看起来还不错,不过也没咋用

brew install --cask caprine

Clipy

免费,剪贴板管理

brew install --cask clipy

Cryptomator

云存储加密软件,开源

brew install --cask cryptomator

Evernote 配合 Skitch 截屏使用, 使用不多

brew install --cask evernote skitch

GIMP

图片编辑,免费开源

brew install --cask gimp

IINA

高颜质视频播放器,自动下载字幕。

配合 youtube-dl 播放网络视频,舒心。

brew install --cask iina
brew install youtube-dl

使用 yt-dlp 替代 youtube-dl

$ brew uninstall youtube-dl
$ brew install yt-dlp
$ ln -s /usr/local/bin/yt-dlp /usr/local/bin/youtube-dl # For Intel Macs
$ ln -s /opt/homebrew/bin/yt-dlp /opt/homebrew/bin/youtube-dl # For Apple Silicon Macs

youtube-dl 的使用

brew install youtube-dl
youtube-dl [OPTIONS] URL [URL...]

youtube-dl -F 'link' # 注意 `F`
youtube-dl -f [No. + No.] 'link' [No 为所选音频和视频的数字编号]

youtube-dl -f bestvideo+bestaudio 'link' # 配合 FFmpeg 使用,注意 `f`


youtube-dl --help

FFmpeg

音视频处理工具

brew install ffmpeg

ffmpeg -i input.mp4 output.avi # 格式转换

ImageOptim

终端图片压缩

brew install --cask imageoptim

Iterm2

终端软件,据说各种厉害,其实也只是轻量使用,无碍。

brew install --cask iterm2 # 稳定版
brew install --cask iterm2-nightly # 日更版

Keka

解压缩软件

brew install --cask keka
brew install --cask keka-beta

Macdown

免费的 Markdown 编辑器,黑暗模式

brew install --cask macdown

Manuscripts

据说是一站式的手稿软件,免费。(还没用过,现在多在 R 中输出)

brew install --cask manuscripts

Master Password

免费多平台密码生成工具,配合 Aplle 的 Keychain 使用

brew install --cask master-password

Owncloud

学校配的云存储工具

brew install --cask owncloud

Quick Look plugins

扩展苹果的预览功能

brew install --cask qlcolorcode qlstephen qlmarkdown quicklook-json suspicious-package quicklookase qlvideo # qlimagesize 对 Catalina 不支持,有些遗憾

Rambox

多帐号聚合平台,好像和 另外一个 Station 类似,所用不多

brew install --cask rambox
brew install --cask station

RRStudio

brew install r

brew cask rstudio # 稳定版
brew cask rstudio-preview # 预览版
brew cask rstudio-daily # 日更版

During startup - Warning messages:
1: Setting LC_COLLATE failed, using “C”
2: Setting LC_TIME failed, using “C”
3: Setting LC_MESSAGES failed, using “C”
4: Setting LC_MONETARY failed, using “C”

关于 Locale语言环境

add the codes to shell config file

export LANG=en_GB.UTF-8
export LC_ALL=en_GB.UTF-8

Soda-player

比特流视频可立即播放,不必再等待下载完成

brew install --cask soda-player

Stand

久坐提醒,无它。

brew install --cask stand

Safari-technology-preview

久用 Dissenter 后,换下口味,这速度真是贼快,只是插件不好弄啊(谁知道一上插件,会不会贼慢呢)。

brew install --cask safari-technology-preview

Sublime Text

文档编辑工具

brew install --cask sublime-text

Switchhosts

管理、切换多个 Hosts 方案的工具

brew install --cask switchhosts

Teamviewer

远程桌面操作工作

brew install --cask teamviewer

Tiny player

支持 MP3s,FLAC, AAC, AIFF and WAV

brew install --cask tiny-playe

Transmission

比特流下载客户端

brew install --cask transmission

Microsoft Visual Studio Code

开源免费的文档编辑器

brew install --cask visual-studio-code

Webtorrent

WebTorrent Desktop connects to both BitTorrent and WebTorrent peers. It can talk to peers running Transmission or uTorrent, and it can also talk to web pages like instant.io.

支持立即播放,无需等待下载完成

brew install --cask webtorrent

Wechat

一个大家都懂的软件。

回想起来,大约十年前,3G 还没有普及,人们主要的聊天方式除了电话就是短信。

那个时候,语音是算分钟数的(当然,现在也是),短信是严格算条数的,一个月就那么多,超出要付费。因为在当时算是仅有的远程快速联系方式了,所以费用绝对是喜人的。

当时自己还跟朋友推荐这个软件,说这个是免费的,只需要流量,比短信便宜多了。而且那时候自己就感觉,未来的通信方式一定会把短信打得鼻青脸肿。

现在想起来,它的确是把短信揍趴下了,只是真的有些讽刺。可能真是那句话吧,有些东西,如果不是 开源免费 的话,那么这样的免费很可能是最贵的。

有句老话说,你想着别人的利息,殊不知,别人想的是你的本金。

最后,且行且珍惜吧。

brew install --cask wechat

Aria 2

轻量的多线程多协议下载工具,使用说明 1 使用说明 2

brew install aria2

aria2c "url"

SVGO

SVG Optimizer,基于 Node.js 的 SVG 压缩工具

brew install node

# IF "The formula built, but is not symlinked into /usr/local"
sudo chmod -R 777 /usr/local/include/node
brew link --overwrite node

brew install svgo
curl -sS https://raw.githubusercontent.com/svg/svgo-osx-folder-action/master/install.sh | sh`

ImageOptim 命令行工具

brew install imageoptim-cli

PyMol

化学分子渲染

brew install Caskroom/cask/xquartz
brew install tcl-tk
brew install python

brew install brewsci/bio/pymol

pdf2svg

PDF 渲染为 SVG,字体渲染效果很好。

brew install pdf2svg # 安装

pdf2svg <input.pdf> <output.svg> [<pdf page no. or "all" >] # 使用方式
pdf2svg input.pdf output_page%d.svg all # 当需要输出 PDF 的全部页面的时候,用 `%d` 进行分页

Hugo

自称是地球上最快的静态网站生成器

brew install hugo

wifi-password

显示当前连接网络的 Wi-Fi 密码

brew install wifi-password
wifi-password

macOS 软件的备份重装

安装 mas 依赖,以便备份从 Mac App Store 下载的软件

brew install mas

在当前的目录生成了名为 Brewfile 的文本清单,清单中包含 tap, brew, cask 以及 mas 下载的软件。

brew bundle dump

重装

brew bundle