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
apiVersion: networking.istio.io/v1alpha3 | |
kind: ServiceEntry | |
metadata: | |
name: myapp | |
spec: | |
hosts: | |
- myapp.backendengineer.net | |
ports: | |
- number: 80 | |
name: http |
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
# FTP all the way with flask | |
import flask | |
from flask import request | |
from werkzeug import secure_filename | |
import os | |
from glob import glob | |
app = flask.Flask(__name__) | |
app.config["UPLOAD_FOLDER"] = "uploads" |