How To Become A Hacker
Eric Steven Raymond, Thyrsus Enterprises, < esr@thyrsus.com >
Copyright © 2001 Eric S. Raymond
翻译:柯非, < zer4tul@gmail.com >
| #!/bin/bash | |
| # --- Configuration --- | |
| TRIP_CMD="trippy" | |
| CONF_DIR="$HOME/.config/trippy" | |
| CONF_FILE="$CONF_DIR/trippy.toml" | |
| OLD_CONF_CHECK="$CONF_DIR/config.toml" | |
| GEOIP_FILE="$CONF_DIR/city.mmdb" | |
| GEOIP_URL="https://cdn.jsdelivr.net/npm/geolite2-city/GeoLite2-City.mmdb.gz" | |
| RELEASE_URL="https://github.com/fujiapple852/trippy/releases" |
How To Become A Hacker
Eric Steven Raymond, Thyrsus Enterprises, < esr@thyrsus.com >
Copyright © 2001 Eric S. Raymond
翻译:柯非, < zer4tul@gmail.com >
Eric Steven Raymond, Thyrsus Enterprises, < esr@thyrsus.com >
Rick Moen, < respond-auto@linuxmafia.com >
翻译:柯非, < zer4tul@gmail.com >
这篇译文基于2014.05.21更新的原文修订版3.10。
特别感谢王刚,此前本文的翻译是由他进行的。
THIS FILE HAS BEEN ENCODING IN UTF-8. DO NOT TRY TO CONVERT IT TO GBK OR GB18030 TO READ IT.
| #!/bin/sh | |
| # Cisco Anyconnect CSD wrapper for OpenConnect | |
| CSTUB="$HOME/.cisco/hostscan/bin/cstub" | |
| $ARCH=$(uname -m) | |
| if [[ "$ARCH" == "x86_64" ]] | |
| then |
| " Multi-encoding Setting | |
| " Auto detect Asia language environment. your vim should be compiled with multi_byte option | |
| if has("multi_byte") | |
| "set bomb | |
| set fileencodings=ucs-bom,utf-8,cp936,big5,euc-jp,euc-kr,latin1 | |
| " CJK environment detection and corresponding setting | |
| if v:lang =~ "^zh_CN" | |
| " Use cp936 to support GBK, euc-cn == gb2312 | |
| set encoding=cp936 | |
| set termencoding=cp936 |