This gist is now deprecated in favor of our official documentation: https://documentation.portainer.io/api/api-examples/ which contains up to date examples!
Please refer to the link above to get access to our updated API documentation and examples.
ss://YWVzLTI1Ni1nY206NWExODhkODctZWRjOC0zOTI1LWE0ZTQtYWQyNjhmZTU2Yzky@g01.hk01-ae5.entry.hsrtd.club:19272/?group=aUt1dXUgVlBO#%E9%A6%99%E6%B8%AFW01 | |
ss://YWVzLTI1Ni1nY206NWExODhkODctZWRjOC0zOTI1LWE0ZTQtYWQyNjhmZTU2Yzky@g01.jp01-ae5.entry.hsrtd.club:473/?group=aUt1dXUgVlBO#%E6%97%A5%E6%9C%ACW01%20%7C%20x0.8 | |
ss://YWVzLTI1Ni1nY206NWExODhkODctZWRjOC0zOTI1LWE0ZTQtYWQyNjhmZTU2Yzky@g01.hk02-ae5.entry.hsrtd.club:14560/?group=aUt1dXUgVlBO#%E9%A6%99%E6%B8%AFW02%20%7C%20IEPL | |
ss://YWVzLTI1Ni1nY206NWExODhkODctZWRjOC0zOTI1LWE0ZTQtYWQyNjhmZTU2Yzky@g01.jp02-ae5.entry.hsrtd.club:483/?group=aUt1dXUgVlBO#%E6%97%A5%E6%9C%ACW02%20%7C%20x0.8 | |
ss://YWVzLTI1Ni1nY206NWExODhkODctZWRjOC0zOTI1LWE0ZTQtYWQyNjhmZTU2Yzky@g01.hk03-ae5.entry.hsrtd.club:760/?group=aUt1dXUgVlBO#%E9%A6%99%E6%B8%AFW03%20%7C%20IEPL | |
ss://YWVzLTI1Ni1nY206NWExODhkODctZWRjOC0zOTI1LWE0ZTQtYWQyNjhmZTU2Yzky@g01.jp03-ae5.entry.hsrtd.club:488/?group=aUt1dXUgVlBO#%E6%97%A5%E6%9C%ACW03%20%7C%20x0.8 | |
ss://YWVzLTI1Ni1nY206NWExODhkODctZWRjOC0zOTI1LWE0ZTQtYWQyNjhmZTU2Yzky@g01.hk04- |
# | |
# This is the ultimate HAProxy 2.0 "Getting Started" config | |
# It demonstrates many of the features available which are now available | |
# While you may not need all of these things, this can serve | |
# as a reference for your own configurations. | |
# | |
# Have questions? Check out our community Slack: | |
# https://slack.haproxy.org/ | |
# |
import jodd.http.HttpRequest; | |
import jodd.http.HttpResponse; | |
import jodd.http.ProxyInfo; | |
import jodd.http.net.SocketHttpConnectionProvider; | |
import jodd.io.FileUtil; | |
import org.junit.Assert; | |
import org.junit.Test; | |
import java.io.File; | |
import java.io.FileOutputStream; |
var net = require("net"); | |
process.on("uncaughtException", function(error) { | |
console.error(error); | |
}); | |
if (process.argv.length != 5) { | |
console.log("Usage: %s <localport> <remotehost> <remoteport>", process.argv[1]); | |
process.exit(); | |
} |
This gist is now deprecated in favor of our official documentation: https://documentation.portainer.io/api/api-examples/ which contains up to date examples!
Please refer to the link above to get access to our updated API documentation and examples.
acl httponly_cookie res.hdr(Set-Cookie),lower -m sub httponly | |
rspirep ^(set-cookie:.*) \1;\ HttpOnly if !httponly_cookie |
In BBC News Visual Journalism we have to test 13 different setups of IE.
Test page:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-language" content="<%= translations[vocab_dir].lang %>" />
// $string: 明文 或 密文 | |
// $operation:DECODE表示解密,其它表示加密 | |
// $key: 密匙 | |
// $expiry:密文有效期 | |
function authcode($string, $operation = 'DECODE', $key = '', $expiry = 0) { | |
// 动态密匙长度,相同的明文会生成不同密文就是依靠动态密匙 | |
$ckey_length = 4; | |
// 密匙 | |
$key = md5($key ? $key : $GLOBALS['discuz_auth_key']); |
<?php | |
/* | |
OCP - Opcache Control Panel (aka Zend Optimizer+ Control Panel for PHP) | |
Author: _ck_ (with contributions by GK, stasilok) | |
Version: 0.1.7 | |
Free for any kind of use or modification, I am not responsible for anything, please share your improvements | |
* revision history | |
0.1.7 2015-09-01 regex fix for PHP7 phpinfo | |
0.1.6 2013-04-12 moved meta to footer so graphs can be higher and reduce clutter |
王 | |
江 | |
周 | |
胡 | |
刘 | |
李 | |
吴 | |
毛 | |
温 | |
习 |