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 8000| /* | |
| Anaconda default settings | |
| */ | |
| { | |
| /* | |
| Anaconda Tooltip Options | |
| Sublime Text 3 supports tooltips since build 3070; if anaconda | |
| runs in a ST3 installation equal to or newer than build 3070, it | |
| can be configured to show tooltips for documentation and signatures. |
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 8000| <div class="container"> | |
| <% flash.each do |type, msg| %> | |
| <div class="alert <%= bootstrap_class_for_flash(type) %> alert-dismissable fade show"> | |
| <%= msg %> | |
| <button class="close" data-dismiss="alert">x</button> | |
| </div> | |
| <% end %> | |
| </div> |
Prereq:
apt-get install zsh
apt-get install git-coreGetting zsh to work in ubuntu is weird, since sh does not understand the source command. So, you do this to install zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>AWS S3 File Upload</title> | |
| <script src="https://sdk.amazonaws.com/js/aws-sdk-2.1.12.min.js"></script> | |
| </head> | |
| <body> | |
| <input type="file" id="file-chooser" /> |