Skip to content

Instantly share code, notes, and snippets.

View flask_auth.py
from flask import Flask, jsonify, abort, request, Response
from flask_login import LoginManager, UserMixin, login_required
from apscheduler.schedulers.background import BackgroundScheduler
from apscheduler.executors.pool import ThreadPoolExecutor, ProcessPoolExecutor
import mysql.connector
import json
import os
View Anaconda
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/Users/Patchivic/opt/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
__conda_setup="$('/Users/Patchivic/opt/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/Users/Patchivic/opt/anaconda3/etc/profile.d/conda.sh" ]; then
. "/Users/Patchivic/opt/anaconda3/etc/profile.d/conda.sh"
else