架设好 shadowsocks 服务端,在路由器上安装 shadowsocks 客户端,并配置 /etc/config/shadowsocks.json ,假设本地监听端口为 1080 。启动 shadowsocks
/etc/init.d/shadowsocks start
安装 privoxy openwrt 版。
import time | |
from datetime import datetime, date | |
# 今天 | |
datetime.datetime.today().date().isoformat() | |
# 通过日期对象生成时间戳 | |
int(time.mktime(datetime.now().timetuple())) | |
# 通过时间戳生成日期对象,timestamp 的时间戳以秒为单位 |
# This config file was created for myself (@janlay). You may want to add or remove some rules to make efficient use of the Internet. | |
# NOTE: This file depends on the main.conf which defines your own proxy. | |
# Your main.conf will look like this: | |
# ---- START ---- | |
# #!PROXY-OVERRIDE:rules.conf | |
# [Proxy] | |
# Proxy = https,server.address,port,username,password | |
# ---- END ---- | |
# |
performance.getEntries().forEach(function(obj, i) { | |
console.log(obj.name,i) | |
}) |
1、在openwrt上安装block-mount,挂载硬盘时需要它 | |
opkg update | |
opkg install block-mount | |
2、挂载硬盘 | |
mount /dev/sda2 /mnt | |
3、把/目录下的文件迁移到U盘,pivot-root方式,适用于Barrier Breaker(trunk)版本 | |
mkdir -p /tmp/cproot | |
mount --bind / /tmp/cproot |
["base-files", "busybox", "dnsmasq", "dropbear", "firewall", "fstools", "hostapd-common", "ip6tables", "iptables", "iw", "jshn", "jsonfilter", "kernel", "kmod-ath", "kmod-ath9k", "kmod-ath9k-common", "kmod-cfg80211", "kmod-crypto-aes", "kmod-crypto-arc4", "kmod-crypto-core", "kmod-gpio-button-hotplug", "kmod-ip6tables", "kmod-ipt-conntrack", "kmod-ipt-core", "kmod-ipt-nat", "kmod-ipt-nathelper", "kmod-ipv6", "kmod-lib-crc-ccitt", "kmod-mac80211", "kmod-nls-base", "kmod-ppp", "kmod-pppoe", "kmod-pppox", "kmod-slhc", "kmod-usb-core", "kmod-usb2", "libblobmsg-json", "libc", "libgcc", "libip4tc", "libip6tc", "libiwinfo", "libiwinfo-lua", "libjson-c", "libjson-script", "liblua", "libnl-tiny", "libubox", "libubus", "libubus-lua", "libuci", "libuci-lua", "libxtables", "lua", "luci", "luci-app-firewall", "luci-base", "luci-lib-nixio", "luci-mod-admin-full", "luci-proto-ppp", "luci-theme-bootstrap", "mtd", "netifd", "odhcp6c", "odhcpd", "opkg", "ppp", "ppp-mod-pppoe", "procd", "swconfig", "uboot-envtools", "ubox", "ub |
function bin2hex(s) { | |
var i, l, o = '', n; | |
s += ''; | |
for (i = 0, l = s.length; i < l; i++) { | |
n = s.charCodeAt(i).toString(16); | |
o += n.length < 2 ? '0' + n : n; | |
} | |
return o; | |
} | |
var canvas = document.createElement('canvas'); |
IMPORTANT! Remember to check out the wiki page at https://github.com/bebraw/jswiki/wiki/Game-Engines for the most up to date version. There's also a "notes" column in the table but it simply does not fit there... Check out the raw version to see it.
This table contains primarily HTML5 based game engines and frameworks. You might also want to check out the [[Feature Matrix|Game-Engine-Feature-Matrix]], [[Game Resources]] and [[Scene Graphs]].
Name | Size (KB) | License | Type | Unit Tests | Docs | Repository | Notes |
---|---|---|---|---|---|---|---|
Akihabara | 453 | GPL2, MIT | Classic Repro | no | API | github | Intended for making classic arcade-style games in JS+HTML5 |
AllBinary Platform | Platform Dependent | AllBinary | 2D/2.5D/3D | n |
all_proxy=socks5://127.0.0.1:1080 curl http://ip.cn # 当前命令有效 | |
export all_proxy=socks5://127.0.0.1:1080 # 当前 session 有效。 |