This file contains hidden or 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
def __out_of_china: | |
.lng > 73.66 and .lng < 135.05 and .lat > 3.86 and .lat < 53.55 | not; | |
def __PI: 3.1415926535897932384626; | |
def __transformlng: | |
300.0 + .lng + 2.0 * .lat + 0.1 * .lng * .lng + 0.1 * .lng * .lat + 0.1 * (.lng | fabs | sqrt) + | |
(20.0 * (6.0 * .lng * __PI | sin) + 20.0 * (2.0 * .lng * __PI | sin)) * 2.0 / 3.0 + | |
(20.0 * (.lng * __PI | sin) + 40.0 * (.lng / 3.0 * __PI | sin)) * 2.0 / 3.0 + | |
(150.0 * (.lng / 12.0 * __PI | sin) + 300.0 * (.lng / 30.0 * __PI | sin)) * 2.0 / 3.0; |
This file contains hidden or 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
Rsync proxy for nginx |
This file contains hidden or 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 | |
if [ -z "$IF_VXLAN_VNI" ]; then | |
exit 0; | |
fi | |
function prep_args { | |
add_args=() | |
if [ -n "$IF_VXLAN_PORT" ]; then | |
add_args+=("dstport" "$IF_VXLAN_PORT") |
This file contains hidden or 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 | |
DOCKER=docker | |
if [ "$(id --user)" != "0" ]; then | |
DOCKER="sudo $DOCKER" | |
fi | |
MIRROR=http://mirrors.tuna.tsinghua.edu.cn/debian |
This file contains hidden or 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
/Td6WFoAAATm1rRGAgAhARYAAAB0L+Wj4Cf/AxBdADqcyosJgONiHFxK6O1Mca+SqOpjcE1qRgqt | |
3fPSmt+SMEaB84vHn53MuU/nbVA+KMqdwlnEQitZyBCREAet74vwEolMGqDnXqp+Wqks/FM8zrpO | |
NjskxLP9BIU0l+9EFssO94nWsD5wFq5UBlPhd5TH3P07fjxizeEsuF4Nz+dm1BQ5GVZN/IIYCdoJ | |
VVAQrlB0v1KWyL+NdowGm6cgdT4zG/xtAaed0pTs0lQW+hD+6GP64pujCGWd4L50cqNrZ9OjFOEn | |
S9CLkyPeN9iFGE4ymMIdk8HRXUzhyDFR+wzdOyiMz0C+e2H/DU9KSNt1TE3/Ctirng91vCB+Kfx/ | |
quq9lrkoL7YI+w6050r8B7KgtyuA/wkpaYewSjMz4o5Uf1HIGhkmgFjLvLUvvTFZnHD1k/r2UO6w | |
y7GDeuil0xCfudlE5AshH0dPcIbllOXUFTpDItasjInSZwgXNXLb/ZuLidSKKY3aB/L3dNGiXvuM | |
RTS+4ZzSvHfHBt0pfKKLf8u2t1Uz2GKYRdirrS3nfH3mgUSyxOKIVfK8fOtsxm2o6IvOZfL6UTSa | |
pEg2orKI590jomsdt+bANRb9YfiAa9dtyOV/mZKgdes1Jlhn0YIG56CWs9LfIKWXNSNdy2bQkSwW | |
EXBSIyskKB1T2pvwVgk4tmzRZQdGiwjf886jTGPplqu9UwAnGax6QR/v/hxvEWELE6K0ZVMy1jSo |
OlderNewer