This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var PROXY = { | |
"direct":"DIRECT", | |
"gfw":"PROXY 127.0.0.1:8123" | |
}; | |
var DEFAULT = "direct"; | |
var SECTIONS = [ | |
{ | |
"name":"direct", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# configuration | |
DEVICE="tap0" | |
USERNAME="twitter" | |
PASSWORD="twitter" | |
# check configuration and environment | |
if [ -z $DEVICE ]; then | |
echo You must specific DEVICE first. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set CurPath=%0 | |
IF NOT "%CurPath%"=="" set CurPath=%CurPath:~0,-15%" | |
set PATH=%CurPath%;%PATH% | |
set flock="%CurPath%\converting.txt" | |
:START | |
if exist %flock% goto WAIT | |
echo 文件正在转换中!请勿删除此文件! > %flock% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
application: gtap | |
version: 1 | |
runtime: python | |
api_version: 1 | |
handlers: | |
- url: /t/.* | |
script: main.py |
NewerOlder