架设好 shadowsocks 服务端,在路由器上安装 shadowsocks 客户端,并配置 /etc/config/shadowsocks.json ,假设本地监听端口为 1080 。启动 shadowsocks
/etc/init.d/shadowsocks start
安装 privoxy openwrt 版。
| #!/bin/bash | |
| OPENSSL_VERSION="1.0.1g" | |
| curl -O http://www.openssl.org/source/openssl-$OPENSSL_VERSION.tar.gz | |
| tar -xvzf openssl-$OPENSSL_VERSION.tar.gz | |
| mv openssl-$OPENSSL_VERSION openssl_i386 | |
| tar -xvzf openssl-$OPENSSL_VERSION.tar.gz | |
| mv openssl-$OPENSSL_VERSION openssl_x86_64 | |
| cd openssl_i386 |
| # From "A simple unix/linux daemon in Python" by Sander Marechal | |
| # See http://stackoverflow.com/a/473702/1422096 | |
| # | |
| # Modified to add quit() that allows to run some code before closing the daemon | |
| # See http://stackoverflow.com/a/40423758/1422096 | |
| # | |
| # Joseph Ernest, 2016/11/12 | |
| import sys, os, time, atexit | |
| from signal import signal, SIGTERM |
| #!/usr/bin/env/python | |
| # | |
| # More of a reference of using jinaj2 without actual template files. | |
| # This is great for a simple output transformation to standard out. | |
| # | |
| # Of course you will need to "sudo pip install jinja2" first! | |
| # | |
| # I like to refer to the following to remember how to use jinja2 :) | |
| # http://jinja.pocoo.org/docs/templates/ | |
| # |
| #!/bin/bash | |
| case $# in | |
| 0) | |
| echo "Usage: $0 {start|stop}" | |
| exit 1 | |
| ;; | |
| 1) | |
| case $1 in | |
| start) |
Tutorial: https://quickfever.com/install-older-version-of-chrome-extension
Extension Fonts :
on Windows: C:\Users\AppData\Local\Google\Chrome\User Data\Default\Extensions\\manifest.json (find out the extensions ID by enabling developer mode in the extension settings page)
| #!/usr/bin/env bash | |
| # | |
| # Setup automatic sync from a Github upstream repository to a fork | |
| # - a branch "actions" will be created (or re-used) to hold the Github action to run | |
| # - sync is done each hour | |
| # - branch 'actions' needs to be the default branch of your fork (=> settings) | |
| # - the script is able to both create and update and rewrite the sync script if you modify this script file | |
| # | |
| # Author: Mathiue Carbou |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!