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/sh | |
# Run in root path of repo `istio.github.io` | |
for ORIG in $(find content -type f ! -name "*.png" ! -name "*.svg"); do | |
CHINESE=content_zh/${ORIG#content/} | |
if [ ! -f $CHINESE ]; then | |
echo "\033[31m[MISSING]\033[0m: $CHINESE" | |
else |
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
/* | |
----------------------------------- | |
Emoji - natural display for the web | |
----------------------------------- | |
These font face definitions allows to display emoji glyphs intermingled with | |
arbitrary characters outside emoji unicode blocks. | |
Usage |
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
syntax on | |
set expandtab | |
set tabstop=4 | |
set shiftwidth=4 | |
set autoindent | |
set smartindent | |
set foldmethod=indent | |
set bs=2 | |
set hlsearch | |
set ruler |
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/sh | |
log_path=/path/to/nginx/log | |
debug_log_path=/path/to/debug/log | |
tmp_file=/tmp/blockiplog.tmp | |
tmp_ipfile=/tmp/blockip.tmp | |
# don't block these ips | |
safe_ip="" | |
# don't block these user agents | |
safe_ua="google|yahoo|baiduspider|bingbot|FeedSky|sogou|360Spider|JikeSpider|YoudaoBot" |