Skip to content

Instantly share code, notes, and snippets.

View slabua's full-sized avatar
🛠️
Tinkering

Salvatore La Bua slabua

🛠️
Tinkering
View GitHub Profile
@slabua
slabua / comprehensive_header.py
Created July 4, 2021 07:16 — forked from NicolasBizzozzero/comprehensive_header.py
Python template of a comprehensive header, with shebang, docstring, GPLv3 license and all metadata.
#!/usr/bin/env python
""" Short description of this Python module.
Longer description of this module.
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.
@slabua
slabua / tmux-cheatsheet.markdown
Created June 19, 2018 15:10 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@slabua
slabua / twrp.sh
Last active April 30, 2020 21:39 — forked from inhies/twrp.sh
#!/bin/bash
#
# Version 1.4
#
# twrp.sh -- a TWRP compatible backup script for your computer
# Brought to you by inhies
#
# This script creates TWRP compatible backups over usb using adb and magikz
# By default it makes a folder in the standard TWRP date--time format (I think)
# To restore these backups, place the folder in /sdcard/TWRP/BACKUPS/<serialnumber>/