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
<style> | |
td { | |
padding: 4px; | |
} | |
input { | |
width: 100%; | |
display: block; | |
border: 1px inset #EEE; | |
margin: -1px; | |
} |
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
require_once 'wopr.php'; | |
$settings = array( | |
'host' => 'localhost', | |
'port' => 1981, | |
); | |
$wopr = new WOPR($settings['host'], $settings['port']); | |
$wopr->connect(); |
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
import BaseHTTPServer | |
import sys | |
server_host = 'localhost' | |
server_port = 8744 | |
class MyHandler(BaseHTTPServer.BaseHTTPRequestHandler): | |
def do_HEAD(s): | |
s.send_response(200) | |
s.send_header("Content-type", "text/html") |
NewerOlder