Skip to content

Instantly share code, notes, and snippets.

View class101's full-sized avatar

Arnaud Dovi class101

  • dgfip.finances.gouv.fr, pole-emploi.fr
  • France
View GitHub Profile
@class101
class101 / script.sh
Created February 28, 2023 21:15
/etc/fstab for a chroot in a read-only Steam Deck
# Static information about the filesystems.
# See fstab(5) for details.
# <file system> <dir> <type> <options> <dump> <pass>
# SteamOS partitions
#/dev/disk/by-partsets/self/rootfs / ext4 defaults 0 1
#/dev/disk/by-partsets/self/var /var ext4 defaults 0 2
/dev/disk/by-partsets/self/efi /efi vfat defaults,nofail,umask=0077,x-systemd.automount,x-systemd.idle-timeout=1min 0 2
/dev/disk/by-partsets/shared/esp /esp vfat defaults,nofail,umask=0077,x-systemd.automount,x-systemd.idle-timeout=1min 0 2
/dev/disk/by-partsets/shared/home /home ext4 defaults,nofail,x-systemd.growfs 0 2
@class101
class101 / filter.sh
Last active June 26, 2021 14:43
Hide any !command in a Steam Stream Chat with Adblock Plus
# Add the following filters in Adblock Plus > Settings > Advanced > MY FILTER LIST and/or update to your need
steamcommunity.com#?#div.broadcastchat_MessageChat_22PB4:-abp-has(> span.broadcastchat_MessageContents_PNYZa:-abp-contains(!contest))
steamcommunity.com#?#div.broadcastchat_MessageChat_22PB4:-abp-has(> span.broadcastchat_MessageContents_PNYZa:-abp-contains(!titan))
@class101
class101 / 0001-Add-Load-On-Demand-support-for-the-services-of-aur-v.patch
Created June 9, 2021 09:41
Add Load-On-Demand support for the services of ArchLinux aur/vmware-workstation
From 31d0cce5d03127d69c5628881b300066f0602f94 Mon Sep 17 00:00:00 2001
From: Arnaud Dovi <[email protected]>
Date: Wed, 9 Jun 2021 11:40:24 +0200
Subject: [PATCH] Add Load-On-Demand support for the services of
aur/vmware-workstation
PKGBUILD: added vmware-*.path files
vmware-*.service: removed the [Install] section in order to prevent the activation of the service by the user
vmware-*.install: enable path files automatically, disable service files
---
@class101
class101 / 0001-Added-pacman-6.0-support.patch
Last active April 13, 2023 12:46
alpm_octopi_utils: Pacman 6.x support
From 87de5068f5ad5b03b77c3e071e7f2213460a75f1 Mon Sep 17 00:00:00 2001
From: Arnaud Dovi <[email protected]>
Date: Tue, 1 Jun 2021 15:00:24 +0200
Subject: [PATCH 1/2] Added pacman 6.0 support.
---
src/alpm_config.vala | 14 +++++++-------
src/alpm_octopi_utils.vala | 9 ++++++---
vapi/libalpm.vapi | 8 ++++----
3 files changed, 17 insertions(+), 14 deletions(-)
@class101
class101 / proton_user_settings.py
Last active October 14, 2022 16:18
Global user_settings.py file for Proton : More informations -> https://steamcommunity.com/sharedfiles/filedetails/?id=2386287653
#!/usr/bin/env python3
"""Settings here will take effect for all games run in this Proton version.
To enable these settings, name this file "user_settings.py"""
# pylint: disable=
import os
def nonzero(string):
"""Check string length."""
return len(string) > 0 and string != "0"
@class101
class101 / 99_prescripted_countries.txt
Created April 16, 2021 16:46
Stellaris 99_prescripted_countries.txt
# Tzynn
tzynn = {
name = "tzynn"
adjective = "PRESCRIPTED_adjective_tzynn"
spawn_enabled = yes # yes / no / always
ship_prefix = "PRESCRIPTED_ship_prefix_tzynn"
species = {
class = "REP"
@class101
class101 / user_empire_designs.txt
Created April 16, 2021 16:44
Stellaris Humanoids user_empire_designs.txt
"United Nations of Earth"
={
key="United Nations of Earth"
ship_prefix="UNS"
species={
class="HUM"
portrait="human"
name="Human"
plural="Humans"
adjective="Human"
@class101
class101 / steam-250900.log
Created April 13, 2021 08:56
The Binding of Isaac Repentance crash specific to 4.0.2
======================
Proton: 1617809035 proton-6.3-2
SteamGameId: 250900
Command: ['/home/arno/.local/share/Steam/steamapps/common/The Binding of Isaac Rebirth/isaac-ng.exe']
Options: {'noesync', 'forcelgadd'}
SteamLinuxRuntime: v0.20210309.0-0-gb38a1fb
pressure-vessel: 0.20210305.0+srt1 scout 0.20210309.0
soldier: 0.20210309.0 soldier 0.20210309.0
======================
ERROR: ld.so: object '/home/arno/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
@class101
class101 / arch-linux-installation.sh
Last active April 28, 2023 23:51
Arch Linux Installation w/ or w/o Encryption w/ Cinnamon and Nemo
# Arch Linux Installation with
# - UEFI Bios
# - w/ or w/o Disk encryption
# - GRUB, LightDM, cinnamon/Nemo
#
# https://wiki.archlinux.org/index.php/Installation_Guide
# https://wiki.archlinux.org/index.php/Dm-crypt/Encrypting_an_entire_system
# [OPTIONAL] Creating a bootable usb disk (sha1sum /home/arno/archlinux-2020.02.01-x86_64.iso to verify iso integrity)
dd bs=4M if=/home/arno/archlinux-2021.04.01-x86_64.iso of=/dev/sde status=progress oflag=sync # (Linux)