Skip to content

Instantly share code, notes, and snippets.

View kergoth's full-sized avatar

Christopher Larson kergoth

  • Siemens Digital Industries Software
  • X @kergoth
View GitHub Profile
@dvessel
dvessel / dolphin-texture-notes.md
Created January 2, 2023 17:52
notes on working with texture packs.

Texture Packs and Resource Packs Information

https://forums.dolphin-emu.org/Thread-how-to-install-texture-packs-custom-textures-info

DDS vs. PNG Packs:

You NEVER want to use both a PNG and DDS pack together, always pick one or the other. The short version is, if a texture pack author provides both a DDS and PNG version of their texture/resource pack, you most likely want to use the DDS version. The reason is that DDS is much faster to load than PNG and is less likely to "stutter" when textures are loaded in. There is a caveat to DDS textures, and that is reduced image quality. But, a properly created DDS texture pack will be nearly indistinguishable from its PNG counterpart.

There are several types of DDS formats, ranging from BC1-BC7, and can also be known as DXT1-DXT5. The format that users should be concerned about in regards to Dolphin texture packs is the BC7 format. If a texture pack is using BC7 DDS textures, the user must have a DX11 capable GPU or the textures will not load. In this case, the

@sanyer
sanyer / README.md
Last active April 15, 2025 10:08
Awesome Steam Deck
@icedream
icedream / steamos-ssh.sh
Last active January 15, 2025 04:46
SteamOS SSH preparation
#!/bin/bash
set -e
set -u
# following stuff kinda copied from /usr/bin/steamos-chroot
[ -e /usr/lib/steamos/steamos-partitions-lib ] && \
. /usr/lib/steamos/steamos-partitions-lib || \
{ echo "Failed to source '/usr/lib/steamos/steamos-partitions-lib'"; exit 1; }
@toricls
toricls / lima-on-m1-mac-installation-guide.md
Last active November 9, 2024 23:03
Using Lima to run containers with containerd and nerdctl (without Docker Desktop) on M1 Macs

Lima (Linux virtual machines, on macOS) installation guide for M1 Mac.

Sep. 27th 2021 UPDATED

Now we can install patched version of QEMU via Homebrew (thank you everyone for the info!). Here is the updated instruction with it:

Used M1 Mac mini 2020 with macOS Big Sur Version 11.6.

1. Install QEMU & Lima

@LanceMcCarthy
LanceMcCarthy / UltimateListIds.md
Last active May 25, 2025 10:35
List of Package Ids
Name Package Id Version Source
7Zip 7zip.7zip 19.0.0 winget
Altap Salamander salamander choco
Alt-Tab Terminator alt-tab-terminator choco
AutoHotkey Lexikos.AutoHotkey 1.1.33.02 winget
AutoHotkey Store Edition HaukeGtze.AutoHotkeypoweredbyweatherlights.com Latest msstore (via winget)
Carnac
@marccarre
marccarre / list_kindle_releases.py
Created October 24, 2020 08:46
List all available versions of Kindle for Mac and Kindle for PC.
#!/usr/bin/env python
'''
List all available versions of Kindle for Mac and Kindle for PC.
Dependencies:
- asyncio==3.4.3
- aiohttp==3.6.3
'''
import os
import sys
@mrcomoraes
mrcomoraes / clear_cache_MS_Teams.sh
Last active May 10, 2024 12:07
Clear cache Microsoft Teams on Linux
#!/bin/bash
# This script cleans all cache for Microsoft Teams on Linux
# Tested on Ubuntu-like, Debian by @necrifede, Arch Linux by @lucas-dclrcq and Manjaro with flatpak by @danie1k. Feel free to test/use in other distributions.
# Tested Teams via snap package.
# Tested Teams via flatpak package.
#
# How to use in terminal:
# ./clear_cache_MS_Teams.sh ( deb-stable | deb-insider | snap | flatpak )
# or
@tomcritchlow
tomcritchlow / book-urlnotes.json
Last active August 28, 2024 12:40
V0.1 for a library.json spec as outlined here: https://tomcritchlow.com/2020/04/15/library-json/
{
"title": "Tempo - timing, tactics and strategy in narrative-driven decision-making",
"id": null,
"author": "Venkatesh Rao",
"link": "https://www.amazon.com/Tempo-tactics-strategy-narrative-driven-decision-making-ebook/dp/B0069CHSLW",
"image": null,
"date_finished": "09/09/19",
"notes": [
"https://tomcritchlow.com/2020/04/13/tempo-notes-chapter-2/",
"https://tomcritchlow.com/2020/04/13/tempo-notes-chapter-1/"

Vim will move the cursor to the beginning of an object after invoking operator upon it. From an interactive editing perspective this may be considered annoying however it is the consistent choice as operators can be destructive. As such restoring the cursor to its prior position after invoking an operator on an object may not make sense.

There are many ways possible to alter this behaviour to your preference with mappings and/or scripting. But with custom operator mappings this can be particularly ugly.

@SystemDisc
SystemDisc / ynab-improvements.user.js
Last active December 18, 2019 02:48
YNAB's new web software is a million times worse than their desktop software was
// ==UserScript==
// @name YNAB Improvements
// @namespace https://zornco.com/
// @version 0.0.7
// @description Improvements to the YNAB web app by Timothy Zorn (SystemDisc)
// @author SystemDisc
// @updateURL https://rawgit.com/SystemDisc/dc0f2745e8b3cf9e7dd7522c0609299d/raw/50c2268551b5f60d593e3a138e8b1bc4b4e048c8/ynab-improvements.user.js
// @downloadURL https://rawgit.com/SystemDisc/dc0f2745e8b3cf9e7dd7522c0609299d/raw/50c2268551b5f60d593e3a138e8b1bc4b4e048c8/ynab-improvements.user.js
// @match https://app.youneedabudget.com/*
// @run-at document-end