Skip to content

Instantly share code, notes, and snippets.

View nsikorskiy's full-sized avatar

nicknnn nsikorskiy

View GitHub Profile
@dnmodder
dnmodder / fixcontroller.py
Last active January 28, 2025 13:57
This script should no longer be necessary thanks to the latest changes made to the master branch of the xpad [https://github.com/paroj/xpad] driver, please give it a try and report any regressions you find.
#!/usr/bin/env python3
import os
import sys
try:
import usb.core
import usb.util
except ImportError:
@MawKKe
MawKKe / cryptsetup-with-luks2-and-integrity-demo.sh
Last active October 25, 2025 07:05
dm-crypt + dm-integrity + dm-raid = awesome!
#!/usr/bin/env bash
#
# Author: Markus (MawKKe) [email protected]
# Date: 2018-03-19
#
#
# What?
#
# Linux dm-crypt + dm-integrity + dm-raid (RAID1)
#