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
''' | |
flask.org suggests to use snipets of cache buster as below | |
http://flask.pocoo.org/snippets/40/ | |
''' | |
@app.context_processor | |
def override_url_for(): | |
return dict(url_for=dated_url_for) | |
def dated_url_for(endpoint, **values): |
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
FORM_INTRO='''\ | |
================================= | |
\tVEHICLE INFORMATION | |
--------------------------------- | |
1. MODEL : %s (%s) | |
2. MAX SPEED : %d km/h | |
3. ACCELARAT : +_ %d kmh | |
4. STATUS : %d kmh | |
---------------------------------\n\n\n''' |
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
""" | |
# 3년전 이맘때 쯤, 블링킹 xmas 트리 | |
""" | |
import os | |
import time | |
import random | |
# print(__doc__) | |
filler = '.' |
NewerOlder