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
from flask import Flask, request, jsonify | |
from flask_cors import CORS | |
import pandas as pd | |
app = Flask(__name__) | |
cors = CORS(app) | |
@app.route('/', methods=['GET', 'POST']) | |
def main(): | |
return "você acessou o /" |
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
from flask import Flask, request, jsonify | |
from flask_cors import CORS | |
import pymongo | |
import dateutil.parser | |
app = Flask(__name__) | |
cors = CORS(app) | |
@app.route('/', methods=['GET', 'POST']) | |
def main(): |
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
from flask import Flask, request, jsonify | |
from flask_cors import CORS | |
import dateutil.parser | |
import requests | |
from bs4 import BeautifulSoup | |
import pandas as pd | |
app = Flask(__name__) | |
cors = CORS(app) |
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
from flask import Flask, request, jsonify | |
from flask_cors import CORS | |
import dateutil.parser | |
app = Flask(__name__) | |
cors = CORS(app) | |
@app.route('/', methods=['GET', 'POST']) | |
def main(): | |
return "você acessou o /" |
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
from flask import Flask, request, jsonify | |
from flask_cors import CORS | |
app = Flask(__name__) | |
cors = CORS(app) | |
@app.route('/', methods=['GET', 'POST']) | |
def main(): | |
return "você acessou o /" |
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
from flask import Flask, request, jsonify | |
from flask_cors import CORS | |
app = Flask(__name__) | |
cors = CORS(app) | |
@app.route('/', methods=['GET', 'POST']) | |
def main(): | |
return "você acessou o /" |
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
import json | |
import boto3 | |
from contextlib import closing | |
import tempfile | |
import base64 | |
from io import BytesIO | |
import random | |
def lambda_handler(event, context): | |
# TODO implement |
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
<html> | |
<head> | |
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script> | |
<script type="text/javascript"> | |
function playRadar(){ | |
let audiourl = "http://radar-sound.mp3 | |
let bgaudio = new Audio(audiourl) |
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
import falcon | |
import json | |
class CORSComponent(object): | |
def process_response(self, req, resp, resource, req_succeeded): | |
resp.set_header('Access-Control-Allow-Origin', '*') | |
class AlertHistory(object): | |
alerts = [] | |
def aq(self): |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder