Skip to content

Instantly share code, notes, and snippets.

@dawei1
dawei1 / simple_python_datasource.py
Created Oct 11, 2017 — forked from hirolovesbeer/simple_python_datasource.py
Grafana python datasource - using pandas for timeseries and table data. inspired by and compatible with the simple json datasource
View simple_python_datasource.py
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'
View openvpn-2.3.12-obfs.patch
--- options_orig.c 2016-09-29 11:30:57.761475911 +0800
+++ options.c 2016-09-29 11:37:34.348475911 +0800
@@ -59,6 +59,9 @@
#include <ctype.h>
#include "memdbg.h"
+extern char* _socket_obfs_salt;
+extern int _socket_obfs_salt_len;
+extern int _socket_obfs_padlen;