Skip to content

Instantly share code, notes, and snippets.

@whyliam
whyliam / Mdnice.css
Created October 9, 2019 11:39
Mdnice.com 微信样式
/*自定义样式,实时生效*/
/* 全局属性
* 页边距 padding:30px;
* 全文字体 font-family:ptima-Regular;
* 英文换行 word-break:break-all;
*/
.layout {
font-family:PingFangSC-Light;
}
# 安装 brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
cd "$(brew --repo)"
git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git
brew update
#!/usr/bin/env bash
cd $(dirname "$0")
read -sp "Password: " pwd
echo
rm -rf ~/Library/Application Support/com.nssurge.surge-*
echo "${pwd}" | sudo -S date 010110002018
nohup ./Surge\ 3.app/Contents/MacOS/Surge\ 3 &
sleep 20
body {
font-family: -apple-system, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
font-size: 15px;
line-height: 2em;
padding-top: 10px;
padding-bottom: 10px;
background-color: transparent;
padding: 30px;
letter-spacing: 1px;
color: #545454!important;