架设好 shadowsocks 服务端,在路由器上安装 shadowsocks 客户端,并配置 /etc/config/shadowsocks.json ,假设本地监听端口为 1080 。启动 shadowsocks
/etc/init.d/shadowsocks start
安装 privoxy openwrt 版。
// Copyright (c) 2012 Calvin Rien | |
// http://the.darktable.com | |
// | |
// This software is provided 'as-is', without any express or implied warranty. In | |
// no event will the authors be held liable for any damages arising from the use | |
// of this software. | |
// | |
// Permission is granted to anyone to use this software for any purpose, | |
// including commercial applications, and to alter it and redistribute it freely, | |
// subject to the following restrictions: |
#!/bin/bash | |
############################## | |
# dnspodsh v0.3 | |
# 基于dnspod api构架的bash ddns客户端 | |
# 作者:zrong(zengrong.net) | |
# 详细介绍:http://zengrong.net/post/1524.htm | |
# 创建日期:2012-02-13 | |
# 更新日期:2012-03-11 | |
############################## |
using System.Collections; | |
using System.Collections.Generic; | |
public class GameEvent | |
{ | |
} | |
public class Events | |
{ | |
static Events instanceInternal = null; |
/* | |
* v8_wrap_class.cpp | |
* | |
* Created on: 14/01/2013 | |
* Author: nicholas | |
* License: public domain | |
*/ | |
/* CMakeLists.txt | |
project(v8_wrap_class) |
# My slate file | |
# 10-02-2013 | |
# Basic mappings and bindings for moving screens around | |
# I have set up my right command key to trigger ctrl+alt+shift+cmd | |
# see http://stevelosh.com/blog/2012/10/a-modern-space-cadet/#hyper for details | |
config defaultToCurrentScreen true | |
config windowHintsShowIcons true | |
config windowHintsIgnoreHiddenWindows false | |
config windowHintsSpread true |
#!/bin/bash | |
#Website: http://www.dwhd.org | |
#IMPORTANT!!!Please Setting the following Values! | |
#================================================================ | |
if [ $(id -u) != "0" ]; then | |
echo "警告: 你现在不是root权限登录服务器, 请使用root帐号登录服务器,然后执行SEEDBOX军团的一键安装脚本~!" | |
exit 1 | |
fi | |
#================================================================ |
var ws = require('ws'), | |
nconf = require('nconf'), | |
redis = require('redis'); | |
nconf.argv() | |
.env(); | |
var server = new ws.Server({port: nconf.get('PORT')}); | |
var sockets = {}; |
Shader "Tesselation/Triangle_Tesselation" { | |
Properties { | |
_TessEdge ("Edge Tess", Range(1,64)) = 2 | |
} | |
SubShader { | |
Pass { | |
CGPROGRAM | |
#pragma target 5.0 | |
/// | |
/// Simple pooling for Unity. | |
/// Author: Martin "quill18" Glaude ([email protected]) | |
/// Latest Version: https://gist.github.com/quill18/5a7cfffae68892621267 | |
/// License: CC0 (http://creativecommons.org/publicdomain/zero/1.0/) | |
/// UPDATES: | |
/// 2015-04-16: Changed Pool to use a Stack generic. | |
/// | |
/// Usage: | |
/// |