start new:
tmux
start new with session name:
tmux new -s myname
var parser = document.createElement('a'); | |
parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
parser.protocol; // => "http:" | |
parser.hostname; // => "example.com" | |
parser.port; // => "3000" | |
parser.pathname; // => "/pathname/" | |
parser.search; // => "?search=test" | |
parser.hash; // => "#hash" | |
parser.host; // => "example.com:3000" |
In your DokuWiki installation, create a folder lib/plugins/authfluxbb/
and create the two files auth.php
and plugin.info.txt
in it.
In your wiki's conf/local.protected.php
(create this file if it does not exist), add the following lines:
$conf['authtype'] = 'authfluxbb';
$conf['superuser'] = '@Administrators,@Moderators';
// Make sure stripping slashes doesn't clash with the forums.
#!/bin/bash | |
function startFw { | |
#Some ban | |
function banFw { | |
/sbin/iptables -A INPUT -s $1 -j DROP | |
} | |
banFw 41.228.12.228 #brute force ssh | |
banFw 220.247.238.16 #brute force ssh | |
banFw 218.85.135.29 #brute force ssh |