This file contains 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
# cat geoFail2Ban.sh | |
#!/bin/sh | |
export TMP_F2B='/tmp/fail2ban.cut' | |
cat /var/log/fail2ban.log|grep Ban|cut -f 7 -d ' ' > $TMP_F2B | |
while read p; do | |
echo -n $p | |
geoiplookup $p | |
This file contains 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
package controllers | |
import java.lang.reflect.Method | |
import play.api._ | |
import play.api.mvc._ | |
import play.api.libs.{ Comet } | |
import play.api.libs.iteratee._ | |
import play.api.libs.concurrent._ |
This file contains 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
@(message: String) | |
<!-- Pre-requisite: Browser requests main page: /index via GET ( This page loads in DOM ) --> | |
@main("Example AJAX Partial Search Form") { | |
<!-- Step 2 : Page defines a submit button plus empty div#searchResults landing zone</li> --> | |
<div id="searchForm"> | |
Form |
NewerOlder