Skip to content

Instantly share code, notes, and snippets.

View strzlee's full-sized avatar

Straussn strzlee

View GitHub Profile
Setting, DefaultValue, INIValue, CurrentValue, Origin
fSpatialGraphSpaceCollectionGridDistance:Pathfinding, 15000.000000, 15000.000000, 15000.000000, INI
fSpatialGraphSpaceCollectionGridUpdateDistance:Pathfinding, 500.000000, 500.000000, 500.000000, INI
bMergeInstStatCol:Packin, True, True, True, INI
bSkipFurnitureMarkerVisualization:AI, False, False, False, INI
bShowFurnitureEntryMarkers:AI, True, True, True, INI
bShowFurnitureExitMarkers:AI, True, True, True, INI
bShowFurnitureMarkersForSelectedOnly:AI, False, False, False, INI
bPlanetContentLogDiffing:Planet, False, False, False, INI
bDebugCombatCoverReservations:Combat, False, False, False, INI
@strzlee
strzlee / mesa-howto.md
Created September 12, 2023 09:14 — forked from Venemo/mesa-howto.md
How to build and use mesa from source

Building and using mesa for development and testing

This explains how to build mesa from source, and how to use the custom built mesa to run some apps and games, without needing to replace the mesa libraries that your operating system runs on.

Let's assume that you are using an x86_64 system.

Building mesa

Overview

@strzlee
strzlee / steam_console_params.txt
Created July 14, 2023 08:30 — forked from davispuh/steam_console_params.txt
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
@strzlee
strzlee / photoshop2021-wine-install.sh
Created May 17, 2023 13:00
create wine-prefix for photoshop 2021 on linux
#!/bin/bash
mkdir $1/Adobe-Photoshop
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks
WINEPREFIX=$1/Adobe-Photoshop wineboot
rm -rf $1/install.log
@strzlee
strzlee / german_locale_enabler.sh
Last active February 7, 2023 14:43 — forked from XargonWan/japanese_locale_enabler.sh
Enable German locale on Steam Deck
#!/bin/bash
# This script is enabling (uncommenting) the German locale and regenerates them
sudo steamos-readonly disable
sudo pacman-key --init
sudo pacman-key --populate archlinux
sudo pacman -S glibc
sudo sed -i "s%#de_DE.UTF-8 UTF-8%de_DE.UTF-8 UTF-8%" /etc/locale.gen
sudo locale-gen
@strzlee
strzlee / UMM on Steam Deck.md
Created December 6, 2022 18:24 — forked from Ishindri/UMM on Steam Deck.md
Installing Unity Mod Manager into Pathfinder: Kingmaker and Pathfinder: Wrath of the Righteous on Steam Deck

Installing Unity Mod Manager into Pathfinder: Kingmaker and Pathfinder: Wrath of the Righteous on Steam Deck

n.b. These are the steps that worked for me. I can't guarantee that they'll work for you, but I don't have any reason to believe they won't. I tested this process on the GOG version of Pathfinder: Wrath of the Righteous installed via Heroic Games Launcher. If you test it and find that different steps are needed, please comment below!

  1. Install the Pathfinder game of your choice, via Steam or otherwise. Make sure you note down the install location of the game - in my case I installed it to the SD card via Heroic, so it ended up in /run/media/mmcblk0p1/Heroic/Pathfinder Wrath of the Righteous/.
  2. In Desktop mode, download Unity Mod Manager and extract it wherever you like. I personally put it in /home/deck/Games/Unity Mod Manager/.
  3. In Steam, still in Desktop mode, navigate to Library > Add A Game > Add a Non-Steam Game > Browse and select UnityModMan
GITHUB_TOKEN=
PATH=
CODECLIMATE_REPO_TOKEN=
DOCKER_PASSWORD=
NPM_TOKEN=
GH_TOKEN=
encrypted_02ddd67d5586_iv=
encrypted_517c5824cb79_key=
encrypted_02ddd67d5586_key=
encrypted_517c5824cb79_iv=

How to install Homebrew package manager on Steam Deck

You can install Homebrew (a package manager for macOS and Linux) without disabling the read-only partition with sudo steamos-readonly disable.
The package manager can be used alongside Flatpaks. Some software is only available on Flathub, and some software is only available on Homebrew.

  1. Switch to desktop mode (hold power button until a menu appears, then select "Switch to desktop mode")
  2. Click the logo at the bottom left, go to System, then go to Konsole
  3. Set a password (needed for sudo access):
    passwd
#!/bin/sh
# New resolution calculate command example:
# $ cvt 640 400 60
#
# outputs:
# Modeline "640x400_60.00" 20.00 640 664 720 800 400 403 409 417 -hsync +vsync
#
# Add new modes below such as:
xrandr --newmode "640x400_60.00" 20.00 640 664 720 800 400 403 409 417 -hsync +vsync
We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 8 columns, instead of 6 in line 4.
cveID,vendorProject,product,vulnerabilityName,dateAdded,shortDescription,requiredAction,dueDate
CVE-2021-27104,Accellion,FTA,Accellion FTA OS Command Injection Vulnerability,2021-11-03,Accellion FTA 9_12_370 and earlier is affected by OS command execution via a crafted POST request to various admin endpoints.,Apply updates per vendor instructions.,2021-11-17
CVE-2021-27102,Accellion,FTA,Accellion FTA OS Command Injection Vulnerability,2021-11-03,Accellion FTA 9_12_411 and earlier is affected by OS command execution via a local web service call.,Apply updates per vendor instructions.,2021-11-17
CVE-2021-27101,Accellion,FTA,Accellion FTA SQL Injection Vulnerability,2021-11-03,Accellion FTA 9_12_370 and earlier is affected by SQL injection via a crafted Host header in a request to document_root.html.,Apply updates per vendor instructions.,2021-11-17
CVE-2021-27103,Accellion,FTA,Accellion FTA SSRF Vulnerability,2021-11-03,Accellion FTA 9_12_411 and earlier is affected by SSRF via a crafted POST request to wmProgr