Skip to content

Instantly share code, notes, and snippets.

View KrisDevelopment's full-sized avatar
😃

Histo Ivanov KrisDevelopment

😃
View GitHub Profile
@KrisDevelopment
KrisDevelopment / lazygitinstall.sh
Created August 12, 2024 10:52
LazyGit Install Debian
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[^"]*')
curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz"
tar xf lazygit.tar.gz lazygit
sudo install lazygit /usr/local/bin
@KrisDevelopment
KrisDevelopment / fixcontroller.py
Last active August 8, 2024 12:59 — forked from dnmodder/fixcontroller.py
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
print("Usage: fixcontroller.py [--safe], or use the run.sh script") # safety mode to prevent infinite loop
# Gamepad USB fix
if len(sys.argv) == 1:
# A shell script wrapper generation for externally managed environemnts (eg. deb12).