commit b3298d5f56f6bcdcc1b892164ff398decebbe521 Author: junikimm717 <68165832+junikimm717@users.noreply.github.com> Date: Wed May 5 22:26:55 2021 -0400 first commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bcf3bbc --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.DS_Store +venv +__pycache__ diff --git a/first/Procfile b/first/Procfile new file mode 100644 index 0000000..1945201 --- /dev/null +++ b/first/Procfile @@ -0,0 +1 @@ +web: gunicorn main:app diff --git a/first/main.py b/first/main.py new file mode 100755 index 0000000..f60fa61 --- /dev/null +++ b/first/main.py @@ -0,0 +1,26 @@ +#!/usr/bin/env python3 + +from flask import Flask, url_for, request, render_template, abort + +app = Flask(__name__) + +@app.route('/') +def index(): + return render_template('index.html') + +@app.route('/achievements') +def achievements(): + return render_template('achievements.html') + +@app.route('/school') +def school(): + return render_template('school.html') + +""" +@app.route('/projects') +def projects(): + return "school" +""" + +if __name__ == "__main__": + app.run() diff --git a/first/requirements.txt b/first/requirements.txt new file mode 100644 index 0000000..692abe1 --- /dev/null +++ b/first/requirements.txt @@ -0,0 +1,11 @@ +click==7.1.2 +Flask==1.1.2 +greenlet==1.0.0 +gunicorn==20.1.0 +itsdangerous==1.1.0 +Jinja2==2.11.3 +MarkupSafe==1.1.1 +msgpack==1.0.2 +pynvim==0.4.3 +SQLAlchemy==1.4.13 +Werkzeug==1.0.1 diff --git a/first/static/.gitignore b/first/static/.gitignore new file mode 100644 index 0000000..c2e3abf --- /dev/null +++ b/first/static/.gitignore @@ -0,0 +1,3 @@ +bootstrap-5.0.0-beta3-dist +bootstrap-5.0.0-beta3-dist.zip +bootstrap diff --git a/first/static/images/pixel.png b/first/static/images/pixel.png new file mode 100644 index 0000000..8886531 Binary files /dev/null and b/first/static/images/pixel.png differ diff --git a/first/static/install.sh b/first/static/install.sh new file mode 100755 index 0000000..f1fdb7b --- /dev/null +++ b/first/static/install.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +curl -LO https://github.com/twbs/bootstrap/releases/download/v5.0.0-beta3/bootstrap-5.0.0-beta3-dist.zip + +unzip bootstrap-5.0.0-beta3-dist.zip + +mv bootstrap-5.0.0-beta3-dist bootstrap + +rm -rf bootstrap-5.0.0-beta3-dist.zip diff --git a/first/static/remove.sh b/first/static/remove.sh new file mode 100755 index 0000000..49b0c93 --- /dev/null +++ b/first/static/remove.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +rm -rf bootstrap diff --git a/first/templates/achievements.html b/first/templates/achievements.html new file mode 100644 index 0000000..2570507 --- /dev/null +++ b/first/templates/achievements.html @@ -0,0 +1,50 @@ +{% extends "base.html" %} + +{% block content %} +
I have competed in numerous olympiads and academic competitions as + of this date.
++ In the 2020-21 MAA Season, I obtained a USAJMO qualification + index of 241 and was thus eligible to participate in the + USA Junior Mathematical Olympiad. +
++ In the 2021 USACO January Contest, I was promoted to the + Platinum Division of the USA Computing Olympiad. +
++ In the 2019-20 MAA season, I scored a 109.5 on the AMC 10A 2020 + and qualified for the AIME 2020. +
++ In the 2021 USNCO Local Exam, I was nominated by the Silicon + Valley Division of ACS to take the USNCO National exam. +
+
+ My first true experience with programming was when I learned about the
+ USACO (and sought to reach Platinum Division) as an 8th grader. After
+ learning the ins and outs of using C++, I sought to expand my knowledge
+ base of other programming languages and incidentally landed upon web
+ development.
+
+ I continue to explore the annals of web development and
+ write scripts whenever possible in order to make my life as
+ convenient as possible.
+
+ Although I spend most of my free time generating and debugging
+ small scripts, I have also extensively competed within USA Fencing
+ and have been heavily involved in competition math.
+
+ I currently attend Stanford Online High School full-time, where I
+ participate in the following activities:
+