- google 查资料
- stackOverFlow(google api被墙)
- 想体验Google的全家桶套餐(chrome云服务,gmail,youtube,play,hangout,google voice等)
- 一些依赖源下载慢甚至无法下载
- 稳定 (用的人多,随时被墙)
- 安全 (一般不可能开源)
#!/bin/sh | |
# This file should be placed in /jffs/scripts/ folder. | |
# 后台申请token | |
# https://support.dnspod.cn/Kb/showarticle/tsid/227/ | |
login_token='xxxxxxx,yyyyyyyyyyyyyyyyyyyyyyyyyyyyy' | |
# 先调 Domain.List 和 Record.List 接口取得 id | |
# https://www.dnspod.cn/docs/domains.html#domain-list | |
# https://www.dnspod.cn/docs/records.html#record-list |
{ | |
"log": { | |
"access": "/var/log/v2ray/access.log", | |
"error": "/var/log/v2ray/error.log", | |
"loglevel": "warning" | |
}, | |
"inbound": { //理论最安全的方式 ws,有条件加上TLS | |
"port": 20080, //开启的端口,建议实用caddy加上TLS加密 | |
"protocol": "vmess", |
yum -y install epel-release | |
yum makecache | |
yum -y install git wget curl unzip zsh mosh emacs | |
# ohmyzsh | |
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" | |
# v2ray | |
https://www.v2ray.com/chapter_00/install.html |
ssh-keygen
生成ssh 公私钥
ssh-copy-id [email protected]
yum install -y epel-release zsh git wget java emacs
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" 安装ohmyzsh
DD重装 https://moeclub.org/2018/04/03/603/
apt-get update apt-get upgrade
系统设置类 1.1 设置caplock 为 ctl 键 1.1 设置三指脱移 辅助功能-触摸板
登陆 iCloud
[Unit] | |
Description=speeder service | |
After=syslog.target network.target auditd.service | |
[Service] | |
Type=notify | |
NotifyAccess=all | |
User=root | |
ExecStart=/usr/local/bin/speederv2_amd64 -c -l0.0.0.0:34000 -r47.74.239.218:34002 -f2:18 --timeout 0 | |
ExecReload=/bin/kill -HUP | |
ExecStop=/bin/kill -s QUIT PrivateTmp=true |
set question to display dialog "Delete iTtunes?" buttons {"Yes", "No"} default button 1 | |
set answer to button returned of question | |
if answer is equal to "Yes" then | |
do shell script "rm -rf /Applications/iTunes.app" with administrator privileges | |
display dialog "iTunes was deleted" buttons {"Ok"} | |
set theDMG to choose file with prompt "Please select iTunes 12.6 dmg file:" of type {"dmg"} | |
do shell script "hdiutil mount " & quoted form of POSIX path of theDMG | |
do shell script "pkgutil --expand /Volumes/iTunes/Install\\ iTunes.pkg ~/tmp" | |
do shell script "sed -i '' 's/18A1/14F2511/g' ~/tmp/Distribution" | |
do shell script "sed -i '' 's/gt/lt/g' ~/tmp/Distribution" |
#!/bin/sh | |
echo Install all AppStore Apps at first! | |
# try brew cask install mas | |
read -p "Press any key to continue... " -n1 -s | |
echo '\n' | |
echo Install and Set San Francisco as System Font | |
ruby -e "$(curl -fsSL https://raw.github.com/wellsriley/YosemiteSanFranciscoFont/master/install)" | |
echo Install Homebrew, Postgres, wget and cask | |
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" |