Skip to content

Instantly share code, notes, and snippets.

View GustavoSchip's full-sized avatar
:dependabot:
Managing life

Gustavo Schip GustavoSchip

:dependabot:
Managing life
View GitHub Profile
@anadius
anadius / reverse_extract.py
Created April 26, 2023 12:09
Extract ZIP when you're low on space
"""
Quick and dirty script to extract ZIP files when you don't have enough space
for both ZIP and extracted files at the same time.
It extracts files from the end of the ZIP and then removes them from the archive.
Even if you abort with Ctrl+C the ZIP file should be valid.
First parameter is the ZIP file.
Second parameter is the output dir.
"""
@theodric
theodric / steam-deck-arch-chroot.txt
Last active December 26, 2023 13:16
Setting up an Arch chroot environment on the Steam Deck, then using as NOT a chroot environment
## So you want to use stuff like 'tmux' and 'lolcat' on the Steam Deck, but they haven't been included in the base OS?
# One way to do it is this.
# 1. setup a chroot environment so there is a file structure in which Pacman can download/unpack packages and their dependencies.
# 2. don't use it as a chroot environment; rather, add the various /bin directories inside it to your $PATH, and create an /etc/ld.so.conf.d/deck-local-arch.conf to permit the bins to find the libs they need.
mkdir -p ~/.local/packer
cd ~/.local
#these steps are required, or else the pacstrap will fail with 'marginal trust' errors
pacman -Sy archlinux-keyring
pacman-key --populate archlinux
@davispuh
davispuh / steam_console_params.txt
Last active November 16, 2024 17:43
Steam client parameters, consoles commands and variables
-480p - Run tenfoot in 480p rather than 1080p
-720p - Run tenfoot in 720p rather than 1080p
-accesscode -
-all_languages - show longest loc string from any language
-batterytestmode - rapidly cycle battery percentages for testing
-bigpicture - Start in Steam Big Picture mode
-blefw -
-cafeapplaunch - Launch apps in a cyber cafe context
-candidates - Show libjingle candidates for local connection as they are processed
-ccsyntax - Spew details about the localized strings we load