Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| #!/usr/bin/python | |
| # coding: UTF-8 | |
| import MySQLdb | |
| import signal, os, sys | |
| workers = {} | |
| END_SIGNAL = "\n" | |
| def connect(): |
| import UIKit | |
| class UIStoryboardSegueFromRight: UIStoryboardSegue { | |
| override func perform() | |
| { | |
| let src = self.sourceViewController as UIViewController | |
| let dst = self.destinationViewController as UIViewController | |
| src.view.superview?.insertSubview(dst.view, aboveSubview: src.view) |