asciinema rec
# commands here
exit
asciicast2gif <input path> <output_path>.gif
#!/bin/bash | |
source /usr/local/bin/virtualenvwrapper.sh | |
list_of_names=$(lsvirtualenv) | |
for name in $list_of_names | |
do | |
rmvirtualenv $name | |
done |
grep -r "copyright" flask/ -I | awk '{print $1}' | sed 's/:.*//' | sed 's/flask\/\///' |
jupyter notebook --no-browser | |
/home/alord/.virtualenvs/adhoc_notebooks/lib/python3.4/site-packages/widgetsnbextension/__init__.py:30: UserWarning: To use the jupyter-js-widgets nbextension, you'll need to update | |
the Jupyter notebook to version 4.2 or later.al | |
the Jupyter notebook to version 4.2 or later.""") | |
[I 20:11:41.327 NotebookApp] Serving notebooks from local directory: /home/alord/git/adhoc_notebooks/onefs_jobs | |
[I 20:11:41.327 NotebookApp] 0 active kernels | |
[I 20:11:41.327 NotebookApp] The Jupyter Notebook is running at: http://****:8888/ | |
[I 20:11:41.327 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). | |
[I 20:11:50.383 NotebookApp] 302 GET / (****) 1.21ms | |
[E 20:18:01.631 NotebookApp] Unhandled error in API request |
test | test2 | test3 | |
---|---|---|---|
test4 | test5 | test6 |
On this guided tour we will cover the fundamentals of Flask. Comme learn how to use SSL certifications, Flask's debug console, Routing, HTTP Responses, and the basic Flask objects. You'll walk away with the foundation (aka, things to google later) for writing web applications using Flask.
In addition this tour comes with a Juypter (IPython) notebook. This notebook is meant to be a supplemental for the tour itself and a index to use as a refresher when you take this knowledge out into the wild.
{% macro form_field(field) -%} | |
{% set with_label = kwargs.pop('with_label', False) %} | |
{% set placeholder = '' %} | |
{% if not with_label %} | |
{% set placeholder = field.label.text %} | |
{% endif %} | |
<div class="control-group {% if field.errors %}error{% endif %}"> | |
{% if with_label %} | |
<label for="{{ field.id }}" class="control-label"> | |
{{ field.label.text }}{% if field.flags.required %} *{% endif %}: |