于 9 月 22 日买了个新电脑,发现我原来在 iMac 和 Thinkpad 上弄的那些东西,又需要重新安装配置在新电脑上,非常麻烦。之前看到别人为自己配置 HEXO 主题记录的小日志,觉得很方便。为了避免以后购入新电脑后出现这样一个阶段,在此对这台电脑上进行的折腾进行记录。

基本

Shell

OS

** 显示隐藏文件 ** - 2017-09-24 * permanently: defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder * temporarily: cmd+shift+.

** 阻止远程生成.DS_store 文件 ** - 2017-11-01 * defaults write com.apple.desktopservices DSDontWriteNetworkStores true

** 全局启用 True 灰度抗锯齿 / False 次像素抗锯齿渲染 ** - 2019-05-29 * defaults write -g CGFontRenderingFontSmoothingDisabled -bool False

** 调整字体抗锯齿级别 ** - 2019-05-29 * defaults -currentHost write -globalDomain AppleFontSmoothing -int 3

Touch ID - 2019-05-29 * sudo sed -i ".bak" '2s/^/auth sufficient pam_tid.so\'$'\n/g' /etc/pam.d/sudo

Homebrew

Install - 2017-09-22 * /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Node.js

Install - 2017-09-26 * via Homebrew brew install node v8.5.0

[npm]

Install - 2017-09-24 * via Homebrew brew install npm 5.3.0

iTerm2

Install - 2017-09-24 * Mac Release iTerm2 3.1.2

Zsh

Install - 2017-09-24 * via Homebrew brew install zsh zsh-completions

Oh My Zsh

Zsh 主题配置 ** 配置 ** - 2017-09-24 * ln -s ~/Dropbox/CONFIG/Oh-My-ZSH/.zshrc ~/.zshrc * Install the patched fonts from Vim-Powerline. Set both the Regular font and the Non-ASCII Font in “iTerm2 > Preferences > Profiles > Text” to use 14pt DejaVu Sans Mono for Powerline. * In “iTerm2 > Preferences > Profiles > Colors”, load preset Solarized Dark

Install - 2017-09-24 * via curl sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

hexo

** 安装插件 ** - 2018-10-10 * npm install hexo-renderer-pandoc --save * npm install hexo-symbols-count-time --save * npm install hexo-footnotes --save * npm install hexo-image-caption --save

** 添加 rss** - 2017-09-29 * npm install hexo-generator-feed --save

** 安装插件 ** - 2017-09-26 * npm install hexo-deployer-git --save * npm i --save hexo-wordcount

** 配置 ** - 2017-09-24 * ln -s ~/Dropbox/CONFIG/Hexo/_config.yml ~/myblog/_config.yml * ln -s ~/Dropbox/CONFIG/Hexo/source ~/myblog/source

Install - 2017-09-24 * via npm npm install hexo-cli -g hexo init myblog

NexT

Install - 2017-09-24 * git clone https://github.com/ziyunch/hexo-theme-next themes/next * git remote add iissnan https://github.com/iissnan/hexo-theme-next

文件管理

Dropbox

Install - 2017-09-22 * Mac release

Google Drive

Install - 2017-09-22 * Mac release

输入习惯

Karabiner Element

键位配置 ** 配置 Caps Lock 键 ** - 2017-09-24 * Caps Lock to Left Control * Left Shift+Right Shift to Caps Lock

Install - 2017-09-24 * Mac release Karabiner-Elements-11.0.0.dmg

鼠须管

输入法 ** 词库扩展 ** - 2017-09-29 * 参考 此处 的词典文件,添加 emoji、颜文字(自定义)等多词库支持。

** 配置 ** - 2017-09-24 * 使用 Caps Lock(实际上是 Left Shift+Right Shift in Karabiner)切换中英文 in default.custom.yaml(指示灯提示中英文)

Install - 2017-09-22 * Install via Homebrew Cask: brew cask install squirrel * Add sync_dir: '~/Dropbox/CONFIG/RimeSync' in Installation.yaml

系统

Spectacle

Install - 2017-10-19 * Mac release

Übersicht

桌面插件 Install - 2017-10-21 * Mac release

[Irvue]

Install - 2017-11-07 * Mac app store

Touchbar

TouchSwitcher

Install - 2017-10-24 * Mac release

Touch Bar Piano

Install - 2017-10-24 * Mac release

软件

文本工具

Emacs

** 配置 ** - 2017-09-24 * git clone https://github.com/ziyunch/emacs.d ~/.emacs.d * git remote add purcell https://github.com/purcell/emacs.d

Install - 2017-09-24 * via Homebrew brew install emacs --with-cocoa

Atom

文本编辑器(轻量,似乎很好用) Install - 2018-01-17 * Mac release

Office365

Install - 2017-09-24 * Microsoft_Office_2016_15.38.17090200_Installer.pkg on the student site

File Maker

Install - 2017-09-24 * Staff distribution

MacTex

LaTeX 发行包 Install - 2017-09-24 * Mac release MacTeX-20170524.pkg

TexWorks

LaTeX 编辑器 Install - 2017-09-24 * Mac release TeXworks-osx-0.6.2-201704300713-git_7ecce17.dmg

MWeb

Markdown Install - 2017-09-24 * App store

Matlab

Install - 2017-10-11 * Mac release matlab_R2017b_maci64.dmg

R

Install - 2017-10-11

Rstudio

Install - 2017-10-11 * Mac release RStudio-1.1.383.dmg

Pycharm

Install - 2017-10-11 * Mac release pycharm-professional-2017.2.3.dmg

生化相关

ChemBio Suite

Install - 2017-09-24 * cdpf16.0.1.dmg using the site license

Chimera

蛋白 Install - 2017-09-24 * Mac OS X 64-bit release chimera-1.12-mac64.dmg

Jabref

文献管理(有 bug,弃用) Install - 2018-01-17 * Mac release

Papers3

文献管理 Install - 2018-01-17 * Mac release

Manuscripts

文稿写作,可导出多种格式 Install - 2018-01-17 * Mac release

Findings

实验记录本(似乎还是没有 orgmode 易用) Install - 2018-01-17 * Mac release

EnzymeX

Install - 2017-09-24 * Mac release

4Peaks

Install - 2017-09-24 * Mac release

Dynafit

Install - 2017-10-7 * Mac release for previous version DynaFit4

娱乐

微信

Install - 2017-09-22 * App store

mpv

视频播放 Install - 2017-09-24 * via Homebrew Cask: brew cask install mpv

iina

视频播放(mpv 加强版) Install - 2017-10-19 * via Homebrew Cask: brew cask install iina

LyricsX

视频播放 Install - 2017-10-19 * via App store`

Aria2

下载软件 Install - 2018-01-03 * via Homebrew: brew install aria2 * conf * GUI * 接管插件 Safari Chrome * 导出插件 百度网盘