This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
路由器已经「移民」,参考 这篇 Gist
当前成功(有效)方案实现日期:2017年10月08日
#!/usr/bin/env python | |
#coding=utf-8 | |
# | |
# Generate a list of dnsmasq rules with ipset for gfwlist | |
# | |
# Copyright (C) 2014 http://www.shuyz.com | |
# Ref https://code.google.com/p/autoproxy-gfwlist/wiki/Rules | |
import urllib2 | |
import re |
import asyncio | |
loop = asyncio.get_event_loop() | |
async def hello(): | |
await asyncio.sleep(3) | |
print('Hello!') | |
if __name__ == '__main__': | |
loop.run_until_complete(hello()) | |
## Setup Docker | |
NETWORK_NAME=${1:-my-mongo-cluster} | |
REPLICASET_NAME=${2:-my-mongo-set} | |
# Disconnect old container if has. | |
docker network disconnect -f $NETWORK_NAME mongo0 | |
docker network disconnect -f $NETWORK_NAME mongo1 | |
docker network disconnect -f $NETWORK_NAME mongo2 | |
# Remove old network if has. | |
docker network rm $NETWORK_NAME |
#!/bin/bash | |
CONTAINER_INDEX=$1 | |
CONTAINER_NAME="mongo"$1 | |
DATA_VOLUME="mongo-data-volume"$1 | |
mkdir $CONTAINER_NAME | |
DB_PORT=$((30000+$CONTAINER_INDEX)) | |
HTTP_PORT=$((28017+$CONTAINER_INDEX)) | |
NETWORK_NAME=$2 | |
REPLICASET_NAME=$3 |
[General] | |
loglevel = notify | |
skip-proxy = 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, localhost, *.local, ::ffff:0:0:0:0/1, ::ffff:128:0:0:0/1 | |
bypass-tun = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 | |
# dns-server = 119.29.29.29,223.5.5.5,114.114.115.115 | |
# external-controller-access = [email protected]:6155 | |
# ipv6 = true | |
// REMEMBER TO CHANGE THE external-controller-access' PASSWORD |
$ text-builder -index /path/to/index.txt
Or run $ sh build-all
to build all your index files.本人不提供任何保证和技术支持,使用者自负风险。
There are no guarantees, no any support. Use it at your own risk.
#!/usr/bin/env python | |
# coding=utf8 | |
# author=evi1m0 | |
# website=linux.im | |
''' | |
12306 Captcha Picture: | |
author: Evi1m0@20150316 | |
1. Download Captcha | |
2. Pic Conver Text |