This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruleSets: | |
- name: Potatso Config | |
rules: | |
- DOMAIN-SUFFIX,ad.sina.com.cn,REJECT | |
- DOMAIN-SUFFIX,adm.leju.sina.com.cn,REJECT | |
- DOMAIN-SUFFIX,atm.sina.com,REJECT | |
- DOMAIN-SUFFIX,beacon.sina.com.cn,REJECT | |
- DOMAIN-SUFFIX,dcads.sina.com.cn,REJECT | |
- DOMAIN-SUFFIX,sax.sina.cn,REJECT | |
- DOMAIN-SUFFIX,sax.sina.com.cn,REJECT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 头部描述信息(可选) | |
# 在 PCL 的头部一般添加上本文件和作者的描述信息,在 Potatso App 中暂时没有实际作用。 | |
name = "Potatso Sample Configuration" | |
author = "Potatso" | |
email = "potatso.com@gmail.com" | |
website = "http://manual.potatso.com" | |
description = "The sample PCF. This demonstrates the basic grammar of defining a PCL." | |
# 用户配置(Profile) | |
[PROFILE.sample] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 安装 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*自定义样式,实时生效*/ | |
/* 全局属性 | |
* 页边距 padding:30px; | |
* 全文字体 font-family:ptima-Regular; | |
* 英文换行 word-break:break-all; | |
*/ | |
.layout { | |
font-family:PingFangSC-Light; | |
} |