Tested in Mac OS X: super == command
Open/Goto
- super+t: go to file
- super+ctrl+p: go to project
- super+r: go to methods
| #!/bin/bash | |
| # | |
| # DESCRIPTION: | |
| # | |
| # Set the bash prompt according to: | |
| # * the active virtualenv | |
| # * the branch of the current git/mercurial repository | |
| # * the return value of the previous command | |
| # * the fact you just came from Windows and are used to having newlines in | |
| # your prompts. |
| from flask import Flask, request | |
| chat = Flask(__name__) | |
| html = """ | |
| <html><head><style> | |
| #mychat{width:100%; font-size: 15px; padding: 10px; border: 1px solid #111111;} | |
| </style></head><body> | |
| <input id="mychat" placeholder="Type message and press enter"/> | |
| <div id="chat"></div> | |
| <script src="http://code.jquery.com/jquery-1.11.0.min.js"></script> |