在 MacOS 安装 OpenResty
brew update
brew install pcre openssl
wget https://openresty.org/download/openresty-1.13.6.2.tar.gz
tar xzvf openresty-1.13.6.2.tar.gz
cd openresty-1.13.6.2
#!/usr/bin/env bash | |
set -e | |
set -o pipefail | |
plugin_repo_url="http://updates.jenkins-ci.org/download/plugins" | |
plugin_dir="/var/lib/jenkins/plugins" | |
include_optionals=false | |
showUsage() { |
在 MacOS 安装 OpenResty
brew update
brew install pcre openssl
wget https://openresty.org/download/openresty-1.13.6.2.tar.gz
tar xzvf openresty-1.13.6.2.tar.gz
cd openresty-1.13.6.2
<?php | |
/** | |
* http://stackoverflow.com/questions/11305797/remove-zero-width-space-characters-from-a-javascript-string | |
* U+200B zero width space | |
* U+200C zero width non-joiner Unicode code point | |
* U+200D zero width joiner Unicode code point | |
* U+FEFF zero width no-break space Unicode code point | |
*/ | |