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
| from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler | |
| from sys import stdout | |
| class RestHTTPRequestHandler(BaseHTTPRequestHandler): | |
| def do_GET(self): | |
| self.send_response(200) | |
| self.end_headers() | |
| self.wfile.write('Hello World!') | |
| # optional: print a snippet of the request header to console | |
| print str(self.headers).replace('\r\n', ' ')[:120]; stdout.flush() |
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
| This text is inside an iFrame. | |
| <br> | |
| The below video player is inside a <i>nested</i> iFrame. | |
| <hr> | |
| Subtitles start at 16 sec... | |
| <br><br> | |
| <iframe id="player1" | |
| src="//player.vimeo.com/video/156413931?api=1&player_id=player1" | |
| width="640px" height="480px"></iframe> |
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
| # Simple pdflatex makefile for Mac OSX | |
| # Converts all image and .tex files into .pdf, then re-compiles the main document | |
| # | |
| # Written by Chris Ponticello - christopher.ponticello@uqconnect.edu.au | |
| # ===================================================================== | |
| IMG := $(wildcard *.bmp *.gif) | |
| TEX := $(wildcard *.tex) |
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
| <html> | |
| <head> | |
| <title>JetBrains PyCharm - Custom Keyboard Shortcuts</title> | |
| </head> | |
| <body> | |
| <table> | |
| <tr><td><b>cmd+shift+T</b></td> | |
| <td>terminal</td></tr> | |
| <tr><td><b>cmd+shift+G</b></td> |