Skip to content

Instantly share code, notes, and snippets.

View gamingrobot's full-sized avatar
🤖
Doing Stuff

Morgan Creekmore gamingrobot

🤖
Doing Stuff
View GitHub Profile
@CGArtPython
CGArtPython / basic_ui_list_panel.py
Created November 18, 2024 06:41
[Blender Python] basic UI list pane (explanation https://www.skool.com/cgpython/ui-guide?p=47cf4527)
import random
import bpy
# Define a custom property group for our list items
class MyItem(bpy.types.PropertyGroup):
name: bpy.props.StringProperty(name="Item Name", default="New Item")
number: bpy.props.IntProperty(name="Item Number", default=0)
@HarmfulBreeze
HarmfulBreeze / hyperv-esm-fedora.md
Last active December 10, 2025 12:26
Setting up Hyper-V Enhanced Session Mode with Fedora 43

Tested working on Fedora Workstation 39, 40, 41, 42, and 43.

(Commands prefixed with a # should be run as the root user or with sudo. Commands prefixed with a $ should be run as a regular/unprivileged user.)

  1. # dnf install xrdp (with Xorg session support: # dnf install xrdp xorgxrdp)
  2. If using GNOME: # $EDITOR /etc/pam.d/xrdp-sesman and comment and uncomment the appropriate lines.
  3. If using Xfce: $ echo startxfce4 > $HOME/.xsession and $ chmod +x $HOME/.xsession.
  4. Optionally, rename the shared drives mount: # $EDITOR /etc/xrdp/sesman.ini and set FuseMountName=shared-drives
  5. # $EDITOR /etc/xrdp/xrdp.ini and set:
  • port=vsock://-1:3389 ([Globals] section)
@kirbah
kirbah / dual-boot-windows-and-ubuntu-with-luks-tpm2-encryption.md
Last active November 8, 2025 17:40
Dual booting Windows 11 and Ubuntu 22.04 LTS with LUKS and TPM2 encryption

Dual booting Windows 11 and Ubuntu 22.04 LTS with LUKS and TPM2 encryption

Note

Ubuntu 24.04 Compatibility

This guide is not compatible with Ubuntu 24.04 and a clear migration path from the Ubuntu 22.04 setup described here is not available. A guide for Ubuntu 24.04 has not been prepared.

The major differences in Ubuntu 24.04 are:

  • LUKS Setup: The setup for LUKS during installation is tricky and requires the following steps:
    1. When you get to the "Disk setup" step, select "Erase disk and install Ubuntu".
@QuietNoise
QuietNoise / auto_filename.py
Last active May 10, 2025 15:13 — forked from robertguetzkow/auto_filepath.py
Blender add-on for automatic unique output file name generation based on the current timestamp
# Inspired by original code by Robert Guetzkow: https://gist.github.com/robertguetzkow/8dacd4b565538d657b72efcaf0afe07e
# If you want save still image renders (F12) you must have at least one File Output node connected to image output in your compositor.
# The node's name will be prepended to the filename as well as the timestamp.
# The timestamp is created when the job is started and not when the frame is rendered thus for animation renders the timestamp
# will be the same for all frames.
# There is also an option to put entire animation renders in its own timestampted subfolder and to give animation frames a prefix.
bl_info = {
"name": "Auto-Filename",
@alejandro-martin
alejandro-martin / add-sublime-text-windows-action.md
Created August 10, 2023 08:51
Add "Open with Sublime Text" Windows action to right click

Add "Open with Sublime Text" windows action to right click

Create a sublime-text-option.reg, save it and execute it:

Windows Registry Editor Version 5.00

; Option will appear when you right click on a file
[HKEY_CLASSES_ROOT\*\shell\sublime]
@="Open with &Sublime"
@tetele
tetele / README.md
Last active August 2, 2025 14:15
ESPHome config - Raspiaudio Muse Luxe as a voice assistant satellite in Home Assistant

Introduction

The purpose of this ESPHome config is to be able to use the Raspiaudio Muse Luxe as a voice assistant satellite in Home Assistant.

Features

  • wake word, push to talk and continuous conversation support
  • response playback
  • service exposed in HA to start and stop the voice assistant from another device/trigger
  • visual feedback of the recording/success/error status via the Luxe's onboard LED
@martinlabate
martinlabate / blish-on-steam-deck.md
Last active December 5, 2025 13:26
How to run BlishHUD on Steam Deck

Getting BlishHUD to work correctly on the Deck

Intro

This guide will show you how to use BlishHUD while playing GuildWars2 on the Steam Deck, but requires you to launch the game from the Steam Desktop without BigPicture.

Requirements

  • Guild Wars 2 installed via Steam
  • Blish HUD downloaded

Configure the Deck

@lucsoft
lucsoft / GnomeNested.sh
Last active September 27, 2025 00:52 — forked from davidedmundson/PlasmaNested.sh
Run plasma from within gamescope
#!/bin/sh
# Remove the performance overlay, it meddles with some tasks
unset LD_PRELOAD
# Fetch Resolution
RES=$(xdpyinfo | awk '/dimensions/{print $2}')
# Apply Resolution in env and start a new nested gnome with a new dbus
env MUTTER_DEBUG_DUMMY_MODE_SPECS=$RES dbus-run-session -- gnome-shell --wayland --nested
@davidedmundson
davidedmundson / PlasmaNested.sh
Last active August 20, 2025 14:23
Run plasma from within gamescope
#!/bin/sh
# Remove the performance overlay, it meddles with some tasks
unset LD_PRELOAD
## Shadow kwin_wayland_wrapper so that we can pass args to kwin wrapper
## whilst being launched by plasma-session
mkdir $XDG_RUNTIME_DIR/nested_plasma -p
cat <<EOF > $XDG_RUNTIME_DIR/nested_plasma/kwin_wayland_wrapper
#!/bin/sh
@Schneegans
Schneegans / main.js
Last active December 2, 2025 04:57
Test-Effect
/*
KWin - the KDE window manager
This file is part of the KDE project.
SPDX-FileCopyrightText: 2018, 2021, 2022 Vlad Zahorodnii <[email protected]>, Martin Flöser <[email protected]>, Simon Schneegans
SPDX-License-Identifier: GPL-3.0-or-later
*/
"use strict";