Skip to content

Instantly share code, notes, and snippets.

View amotl's full-sized avatar

Andreas Motl amotl

  • $PYTHONPATH
View GitHub Profile
@amotl
amotl / hrrr_best_explore.ipynb
Created December 11, 2022 00:12 — forked from rsignell-usgs/hrrr_best_explore.ipynb
hrrr_best_explore.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@amotl
amotl / simple_python_datasource.py
Created December 14, 2020 19:50 — forked from linar-jether/simple_python_datasource.py
Grafana python datasource - using pandas for timeseries and table data. inspired by and compatible with the simple json datasource
from flask import Flask, request, jsonify, json, abort
from flask_cors import CORS, cross_origin
import pandas as pd
app = Flask(__name__)
cors = CORS(app)
app.config['CORS_HEADERS'] = 'Content-Type'
@amotl
amotl / httpd-reflector.py
Last active March 26, 2024 08:04 — forked from 1kastner/reflect.py
A simple HTTP server reflecting HTTP requests for inspection
#!/usr/bin/env python3
"""
httpd-reflector
A simple HTTP server reflecting HTTP requests for inspection.
It will print the contents of incoming HTTP requests to STDOUT
making it suitable for development and debugging purposes.
- Written by Nathan Hamiel (2010)
https://gist.github.com/huyng/814831