A Pen by Kantanand U.S. on CodePen.
This file contains hidden or 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
| #!/bin/bash | |
| # Set the ROOM_ID & AUTH_TOKEN variables below. | |
| # Further instructions at https://www.hipchat.com/docs/apiv2/auth | |
| ROOM_ID=XXX | |
| AUTH_TOKEN=XXX | |
| MESSAGE="Hello world!" | |
| curl -H "Content-Type: application/json" \ |
This file contains hidden or 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 sys | |
| from SimpleHTTPServer import SimpleHTTPRequestHandler | |
| import BaseHTTPServer | |
| def test(HandlerClass=SimpleHTTPRequestHandler, | |
| ServerClass=BaseHTTPServer.HTTPServer): | |
| protocol = "HTTP/1.0" | |
| host = '' |
This file contains hidden or 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
| <?php # InternalServerReporting.php | |
| # Copyright 2000-2008 Adobe Systems Incorporated. All rights reserved. | |
| # | |
| print "<pre>\n"; | |
| # | |
| foreach ($_POST as $k => $v) | |
| { | |
| if($k == "CompanyName") | |
| { |