Skip to content

Instantly share code, notes, and snippets.

View tallero's full-sized avatar

Pellegrino Prevete tallero

View GitHub Profile
@tallero
tallero / deploy_flask_lighttpd.py
Last active December 5, 2018 04:57 — forked from mahenzon/deploy_flask_lighttpd.py
Flask (Python 3) + flup + Lighttpd project deploy
#!/usr/bin/env python3
import os
import stat
import argparse
template_fcgi = '''#!/usr/bin/env python3
from flup.server.fcgi import WSGIServer
from %s import app
@tallero
tallero / default.prop
Created April 23, 2020 18:37
HOW TO: Modify boot.img to allow usb debugging from recovery adb
ro.secure=0
ro.allow.mock.location=1
ro.debuggable=1
persist.sys.usb.config=adb
ro.adb.secure=0