Skip to content

Instantly share code, notes, and snippets.

@red-dragon65
red-dragon65 / Deck ui.md
Last active February 21, 2024 16:26
How to properly run Steam Decks UI on Manjaro

This guide is deprecated! Please take a look at the alternative solutions below.

This guide was created to run the steam deck ui on a linux desktop before valve officially updated big picture mode for the steam client. This guide no longer serves any purpose.

Big Picture Mode

  • The steam client now officially uses the steam deck ui (gamepad ui) for big picture mode.

HoloISO

  • A reversed engineered version of valves steam deck OS
@Chattille
Chattille / auto_refresh_codelens.lua
Last active June 20, 2024 12:29
Refresh Codelens on LSP attachment in Neovim
-- trigger upon LSP attachment
vim.api.nvim_create_autocmd('User', {
pattern = 'LspAttached',
once = true,
callback = vim.lsp.codelens.refresh,
})
-- ... servers and enhanced_opts ...
for _, lsp in ipairs(servers) do
@aaronmdjones
aaronmdjones / freenode-resign-letter.txt
Created May 19, 2021 10:20
My resignation from freenode
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
My resignation from freenode staff
==================================
I joined the freenode staff in March 2019 [1].
Before I joined the staff, Freenode Ltd was sold [2] to a person named
Andrew Lee as part of a sponsorship deal. The informal terms of that
@bonbombs
bonbombs / customFields.json
Last active January 30, 2023 19:44
custom streamlabs follower goal widget
{
"font_type": {
"label": "Font",
"type": "fontpicker",
"value": "Fredoka One"
},
"barBackground": {
"label": "BG Color",
"type": "colorpicker",
"value": "#43342e"
@bjesus
bjesus / README.md
Last active September 19, 2024 22:17
Weather widget for waybar
@oofnikj
oofnikj / answerfile
Last active November 15, 2024 20:14
Install Docker on Termux
KEYMAPOPTS="us us"
HOSTNAMEOPTS="-n alpine"
INTERFACESOPTS="auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
hostname alpine
"
TIMEZONEOPTS="-z UTC"
@dshoreman
dshoreman / slurp.md
Last active July 31, 2024 03:56
Swaymsg commands for listing windows and outputs

i3

Get Active Window ID

xdotool getactivewindow

Get Current Desktop ID

xdotool get_desktop_for_window "$(xdotool getactivewindow)"
@MiyacoGBF
MiyacoGBF / 01_NieR_FAR.md
Last active August 20, 2024 04:13
How to Install FAR, HD Texture Pack, and ReShade (GShade) for NieR:Automata on Linux
@da-n
da-n / usb-unlock-luks.md
Created August 24, 2019 13:11
Unlock LUKS full disk with USB stick

Configuration for passwordless root filesystem

Source: https://www.howtoforge.com/tutorial/passwordless-encryption-of-linux-root-partition/

The process of entering the passphrase at boot time will now be automated using an USB memory stick. Instead of using a passphrase , the secret key on the USB will decrypt the encrypted volumes. Connect an USB stick to the VM and locate it using the dmesg command. It is detected as /dev/sdb in my VM.

The secret key of 8192 random byte is extracted from the usb stick using the dd command.

dd if=/dev/sdb of=/root/secret.key bs=512 skip=4 count=16