架设好 shadowsocks 服务端,在路由器上安装 shadowsocks 客户端,并配置 /etc/config/shadowsocks.json ,假设本地监听端口为 1080 。启动 shadowsocks
/etc/init.d/shadowsocks start
安装 privoxy openwrt 版。
<!doctype html> | |
<html> | |
<head> | |
<link href="http://vjs.zencdn.net/c/video-js.css" rel="stylesheet"> | |
<script src="http://vjs.zencdn.net/c/video.js"></script> | |
</head> | |
<body> | |
<video id="my_video_1" class="video-js vjs-default-skin" controls | |
preload="auto" width="640" height="264" poster="my_video_poster.png" | |
data-setup="{}"> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Video.js | HTML5 Video Player</title> | |
<!-- Chang URLs to wherever Video.js files will be hosted --> | |
<link href="video-js.css" rel="stylesheet" type="text/css"> | |
<!-- video.js must be in the <head> for older IEs to work. --> | |
<script src="video.js"></script> |
apk_name,apk_source,apk_link,folder,apk_position,comments | |
FT中文网,google_play,N/A,News,1:1:1:01,, | |
华尔街日报中文版,google_play,N/A,News,1:1:1:02,, | |
路透中文新闻,google_play,N/A,News,1:1:1:03,, | |
NetEase News,google_play,N/A,News,1:1:1:04,, | |
CNN,google_play,N/A,News,1:1:1:05,, | |
BBC News,google_play,N/A,News,1:1:1:06,, | |
China AQI,google_play,N/A,News,1:1:1:07,, | |
eduPort,google_play,N/A,Education,1:1:2:01,, | |
TED,google_play,N/A,Education,1:1:2:02,, |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | |
# General Configure | |
#Don't read /etc/resolv.conf. Get upstream servers only from the command line or the dnsmasq configuration file. | |
no-resolv | |
#Don't poll /etc/resolv.conf for changes. | |
no-poll | |
#upstream server is google | |
server=8.8.8.8 | |
server=8.8.4.4 | |
#CN TLD is 114.114.114.114 |
#Deleting comment lines starting with a special symbol | |
sed '/^\#/d' myFile > output.txt | |
#delete empty lines with SED | |
sed '/^$/d' myFile > output.txt | |
#mv empty lines and comments lines together | |
sed '/^\#/d' myFile | sed '/^$/d' > output.txt | |
#To remove all leading whitespace (including tabs) from left to first word | |
sed -e 's/^[ \t]*//' myFile > output.txt | |
sed -e 's/^\s*//' myFile > output.txt | |
#To delete trailing whitespace from end of each line |
#!/bin/sh | |
#reinstall everything you currently have in brew | |
for f in `brew list`; do | |
echo $f | |
brew uninstall $f && brew install $f | |
done |
# This is an example resource file for rTorrent. Copy to | |
# ~/.rtorrent.rc and enable/modify the options as needed. Remember to | |
# uncomment the options you wish to enable. | |
# 每个种子所允许的最小最大连接数 | |
#min_peers = 40 | |
#max_peers = 100 | |
# 同上,但仅针对已完成的种子(-1 表示与下载中的种子一致) | |
#min_peers_seed = 10 |
#!/bin/sh | |
case "$1" in | |
start) | |
echo -n "Starting rtorrent" | |
su - root -c "screen -A -m -d -S rtorrent /usr/local/bin/rtorrent" & | |
echo "." | |
;; | |
stop) | |
echo -n "Stopping rtorrent" |
Last update: 2015/01/17
xcode-select -p
if we do not have it, install it by
xcode-select --install