Skip to content

Instantly share code, notes, and snippets.

View strzlee's full-sized avatar

Straussn strzlee

View GitHub Profile
@strzlee
strzlee / google-dorks
Created June 30, 2020 08:32 — forked from stevenswafford/google-dorks
Listing of a number of useful Google dorks.
" _ _ "
" _ /|| . . ||\ _ "
" ( } \||D ' ' ' C||/ { % "
" | /\__,=_[_] ' . . ' [_]_=,__/\ |"
" |_\_ |----| |----| _/_|"
" | |/ | | | | \| |"
" | /_ | | | | _\ |"
It is all fun and games until someone gets hacked!
@strzlee
strzlee / proton
Created August 28, 2021 18:33 — forked from brunoais/proton
Proton script
#!/bin/bash
# Execute Windows programs with Proton from Steams installation folder, without
# starting Steam client.
#
# 1. Create a directory for Proton environment to run in. As an example make a
# folder "proton" in your home directory. This folder must exist in order
# to make Proton work.
#
# 2. Point the variable "env_dir" in this script to that folder or...
@strzlee
strzlee / README.md
Created March 30, 2022 09:13 — forked from mbbx6spp/README.md
How to install Nix in your home directory

Nix

Prerequisites

  • wget is installed
  • tar is installed

Purpose

If you really don't want to install Nix under /nix (or you can't) then you can install Nix

#!/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

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
GITHUB_TOKEN=
PATH=
CODECLIMATE_REPO_TOKEN=
DOCKER_PASSWORD=
NPM_TOKEN=
GH_TOKEN=
encrypted_02ddd67d5586_iv=
encrypted_517c5824cb79_key=
encrypted_02ddd67d5586_key=
encrypted_517c5824cb79_iv=
@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
@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 / 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 / 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