Skip to content

Instantly share code, notes, and snippets.

View rippernor's full-sized avatar

RIPPER rippernor

View GitHub Profile
# app.py
import datetime
import logging
import os
import requests
from flask import Flask, render_template, make_response, send_from_directory, abort, jsonify, request
app = Flask(__name__, static_folder='static', static_url_path='/static')
log_file_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'prayer.log')
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=5, minimum-scale=0.5, user-scalable=yes" />
# app.py
import datetime
import logging
import os
import requests
from flask import Flask, render_template, make_response, send_from_directory, abort, jsonify, request
app = Flask(__name__, static_folder='static', static_url_path='/static')
log_file_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'prayer.log')
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=5, minimum-scale=0.5, user-scalable=yes" />