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
| window.Clipboard = (function(window, document, navigator) { | |
| var textArea, | |
| copy; | |
| function isOS() { | |
| return navigator.userAgent.match(/ipad|iphone/i); | |
| } | |
| function createTextArea(text) { | |
| textArea = document.createElement('textArea'); |
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 xmlrpclib | |
| from xmlrpc import client | |
| class ProcessStatus(object): | |
| RUNNING = 'RUNNING' | |
| STOPPED = 'STOPPED' | |
| FATAL = 'FATAL' | |
| RESTARTING = 'RESTARTING' | |
| SHUTDOWN = 'SHUTDOWN' |