警告:请务必读完本文!全篇读完!
无论新老用户,都有可能掉进陷阱。 下面我们列出了常见的问题,并解释如何解决他们。 在 Freenode IRC 的 #nginx 频道,我们经常看到这些问题。
[TOC]
| #!/bin/bash | |
| PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin | |
| export PATH | |
| #定义变量 | |
| #授权文件自动生成url | |
| APX=http://soft.91yun.org/soft/serverspeeder/apx1.php | |
| #安装包下载地址 | |
| INSTALLPACK=http://soft.91yun.org/soft/serverspeeder/91yunserverspeeder.tar.gz |
警告:请务必读完本文!全篇读完!
无论新老用户,都有可能掉进陷阱。 下面我们列出了常见的问题,并解释如何解决他们。 在 Freenode IRC 的 #nginx 频道,我们经常看到这些问题。
[TOC]
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Open App</title> | |
| <!-- | |
| URL Params: | |
| customSchemeURL: Your custom scheme app |
| //JS 实现的WGS84 坐标系转火星坐标系 GCJ-02 转百度坐标系 BD-09 | |
| function _transformLat(x, y) { | |
| var ret = -100.0 + 2.0 * x + 3.0 * y + 0.2 * y * y + 0.1 * x * y + 0.2 * Math.sqrt(Math.abs(x)); | |
| ret += (20.0 * Math.sin(6.0 * x * Math.PI) + 20.0 * Math.sin(2.0 * x * Math.PI)) * 2.0 / 3.0; | |
| ret += (20.0 * Math.sin(y * Math.PI) + 40.0 * Math.sin(y / 3.0 * Math.PI)) * 2.0 / 3.0; | |
| ret += (160.0 * Math.sin(y / 12.0 * Math.PI) + 320 * Math.sin(y * Math.PI / 30.0)) * 2.0 / 3.0; | |
| return ret; | |
| } |
| # This config file was created for myself (@janlay). You may want to add or remove some rules to make efficient use of the Internet. | |
| # 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 ---- | |
| # |
| [General] | |
| loglevel = notify | |
| skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12,127.0.0.0/24,100.64.0.0/10 | |
| bypass-tun = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12,127.0.0.0/24,100.64.0.0/10 | |
| // DNS OVERRIDE, REMOVE # IF YOU NEED | |
| # dns-server = 223.6.6.6,223.5.5.5,114.114.114.114,114.114.115.115 | |
| [Rule] |