got basic terminal working

This commit is contained in:
Nick
2019-04-02 23:28:02 -06:00
parent 5b9130b5f9
commit 7872dedf6d
5 changed files with 6 additions and 14 deletions
Binary file not shown.
+1 -6
View File
@@ -24,11 +24,6 @@ app = Flask(__name__)
def root():
# For the sake of example, use static information to inflate the template.
# This will be replaced with real information in later steps.
dummy_times = [datetime.datetime(2018, 1, 1, 10, 0, 0),
datetime.datetime(2018, 1, 2, 10, 30, 0),
datetime.datetime(2018, 1, 3, 11, 0, 0),
]
return render_template('index.html')
@@ -40,5 +35,5 @@ if __name__ == '__main__':
# the "static" directory. See:
# http://flask.pocoo.org/docs/1.0/quickstart/#static-files. Once deployed,
# App Engine itself will serve those files as configured in app.yaml.
app.run(host='127.0.0.1', port=8080, debug=True)
app.run(host='127.0.0.1', port=8090, debug=True)
# [START gae_python37_render_template]
+3
View File
@@ -0,0 +1,3 @@
<span id="a">Adventurer@DungeonDream</span>:<span id="b">~</span><span id="c">$</span>
Welcome to the Dungeon.<!-- laglaglaglag--><p>Here you will embark on an epic journey through the dreams of an AI to claim victory on your quest. </p><!-- qowifjqwoeijfoqweijfqweoifjqweofijqweoqwoijefoqwijefoijfqiwoefjj -->
<p>Good luck</p>
-6
View File
@@ -1,6 +0,0 @@
<span id="a">jeff@weisbein</span>:<span id="b">~</span><span id="c">$</span> cat jeffweisbein.txt<br/><br/>
Hi, I'm Jeff Weisbein.<!-- laglaglaglaglaglaglaglaglaglaglaglag --><p>I majored in Business Administration with a concentration in Finance. I graduated Summa Cum Laude.</p><!-- qowifjqwoeijfoqweijfqweoifjqweofijqweoqwoijefoqwijefoijfqiwoefjj -->
<p>I'm the founder and CEO of <a href="http://www.besttechie.com">BestTechie</a> and <a href="https://getkya.com">KYA</a>.</p><!- oqwipjefqwioefjwioqfjoiqwjfeioqwjefoi -->
<p>I love to read, listen to music, and travel.</p><!-- owlsqweoifjqwoefijqwoeifjqwoefijwef -->
If you would like to get in touch with me, whether it be for tech support, a business venture, or to just say hi<!-- slightdelayhere-->, feel free to send me an email or a tweet.<!-- longlongcomment --> My email address is: <a href="mailto:jeff@besttechie.com">jeff@besttechie.com</a> and my Twitter is: <a href="http://twitter.com/jeffweisbein">@jeffweisbein</a>.
<p>And if you haven't already, be sure to check out my tech publication <a href="http://www.besttechie.com">http://www.besttechie.com</a> and analytics startup <a href="https://getkya.com">https://getkya.com</a>.</p>
+2 -2
View File
@@ -21,7 +21,7 @@ THE SOFTWARE.
-->
<html>
<head>
<title>Jeff Weisbein</title>
<title>Dungeon Dream</title>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<style type="text/css">
body {
@@ -159,7 +159,7 @@ function replaceUrls(text) {
}
}
Typer.speed=3;
Typer.file="dungeondream.txt";
Typer.file="static/dungeondream.txt";
Typer.init();
var timer = setInterval("t();", 30);