Skip to content

Instantly share code, notes, and snippets.

View PatriceBlin's full-sized avatar
🛩️
I may be slow to respond.

Patrice Blin PatriceBlin

🛩️
I may be slow to respond.
View GitHub Profile
pierre fork you
import sqlite3
from bottle import route, run, debug, template, request, validate, static_file, error
# only needed when you run Bottle on mod_wsgi
from bottle import default_app
@route('/todo')
def todo_list():
conn = sqlite3.connect('todo.db')
@PatriceBlin
PatriceBlin / readme.txt
Last active November 24, 2015 08:55
tsMuxeR - readme/manual english (source: http://forum.doom9.org/showthread.php?t=142559)
tsMuxeR v1.8.8b
===============
How to use tsMuxeR from the command line:
-----------------------------------------
We need to create a file with the extension .meta. This file lists the files you want to multiplex.
In the first line of meta file can be specified additional parameters that apply to all tracks. In this case the line should begin with the word MUXOPT.
The following lines indicate a list of tracks and their parameters.
The format is as follows:
@PatriceBlin
PatriceBlin / BRIDGES.md
Created September 16, 2022 12:38
Linux bridges DHCP requests
cat ~/.config/environment.d/*
# Ghidra and Android-Studio
_JAVA_AWT_WM_NONREPARENTING=1
# Sway/Nvidia
# https://forum.endeavouros.com/t/sway-with-nvidia-tutorial/23733
WLR_NO_HARDWARE_CURSORS=1
# Nvidia drivers
GBM_BACKEND=nvidia-drm
/*
* SEP firmware split tool
*
* Copyright (c) 2017 xerub
*/
#include <fcntl.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>