Gist with files I have used for managing Git repositories
- Naming of overlay parameters, by scope
- Allow
mkShell
do the heavy lifting, usepackages
andinputsFrom
- Proper usage of
nixpkgs.lib.extend
using more overlays (TODO)- Also avoid
import
ing your own global functions everywhere, and registering functions inconfig
.
- Also avoid
- Use
nix-systems
andpkgsFor.${system}
I have multiple monitors connected to a Thunderbolt 4 hub, and the monitors must be connected in a specific order to ensure that their respective profiles (position, refresh rate, resolution) are applied.
DEVICE NAME | Description |
---|---|
HOST |
ThinkPad P14s Gen 4 (AMD). |
MASTER_HUB |
Anker PowerExpand 5-in-1. Has one THUNDERBOLT4_HOST and 10gb/s USB-A on the front, and 3x Thunderbolt 4 (USB-C) split passthru and a DC power jack on the back. |
For the sake of brevity, I will refer to the path
D:\Program Files (x86)\Steam\steamapps\common\Baldurs Gate 3
as GAMEDIR
.
This path will be different for your computer.
I do not recommend NexusMods' Vortex. It just doesn't work, and UI is confusing.
I hereby claim:
- I am spikespaz on github.
- I am spikespaz (https://keybase.io/spikespaz) on keybase.
- I have a public key ASAzP28yonIhOdu2z7XlFOEoqCBqJeyyJ7dNlnbzrTlanAo
To claim this, I am signing this object:
This is a script to embed raw text into a page as highlighted code. It uses ajax requests to fetch the raw content from the URL inside of an anchor element, and then [highlight.js][0] to render the code.
The benefit of this over Github's gist embedding is that it can be used in a full page. If you want to mirror a Gist to [StackOverflow][1] for example, this script can be wrapped inside of a code snippet. Every time the gist that the code snippet points to is updated, the code rendered on StackOverflow will also update.