Skip to content

Instantly share code, notes, and snippets.

View playday3008's full-sized avatar
πŸ¦„

PlayDay playday3008

πŸ¦„
  • Trias.Dev
  • Speeks: English/Polish/Russian/Ukrainian
  • 03:57 (UTC +01:00)
View GitHub Profile
@playday3008
playday3008 / _README.md
Last active March 9, 2026 02:46
PBP-files pattern for ImHex, supports: EBOOT, PBOOT, PARAM, and maybe more

PlayStation Boot Package (PBP) in ImHex

image

Any suggestions on improvement are welcome

@lbrame
lbrame / framework_16_linux_fedora.md
Last active February 3, 2026 22:58
Framework Laptop 16 Linux configuration tips

βš™οΈπŸ§ Framework 16 comprehensive Linux set-up gist

DSC_3274

The Framework Laptop 16 is my new laptop of choice that I purchased to replace my dying older machine. While this laptop enjoys official Linux support, there are still a few things to take care of post-install.

Hardware configuration

This might be useful for people who stumble onto this gist to debug. My laptop is configured as such, with notes on the Linux support:

@playday3008
playday3008 / defer.hpp
Last active December 1, 2024 23:57
Defer in C++ (Requires C++20)
#pragma once
#include <type_traits>
template <typename Func>
requires std::is_nothrow_invocable_v<Func>
struct DeferAction {
explicit DeferAction(Func a) : act{a} {}
~DeferAction() { act(); }
// Disallow copy and move
@famellad
famellad / frosty_on_ice_i_mean_linux.md
Last active March 8, 2026 16:34
How I got NFS:Heat UNITE running on Linux, this probably works on Steam Deck as well

What is this??

Ok first of all why are you here if you don't know what this is, touch grass.

So I was unable to find one guide that would walk me through the process of installing a NFS: Heat mod on Linux from start to finish without running into some issue without running into some issue or another, this is what worked for me, your mileage may vary, but even if you succeed I hope you learned something, got some inspiration to try something else, and keep trying, I wish you luck <3.

If you're still here I will assume you have no interest in touching grass and you want to read this full-of-nonsense guide on how to install UNITE on your Linux machine, where nothing is ever easy. Fear not, I gotcha.

Full disclaimer: This guide is the combination of two tutorials, and resources, I came up with very little of what you're about to read.

@shmup
shmup / proton
Last active February 19, 2026 00:17
easily run an .exe with proton on linux
#!/usr/bin/env bash
# This script launches a Windows executable using Proton within a Linux environment.
# It requires exactly one argument: the path to the executable to run.
# It sets up a separate Proton prefix for each executable to avoid conflicts.
# Usage: proton <path-to-executable>
if [ "$#" -ne 1 ]; then
echo "Usage: $0 <executable-path>"
exit 1
@ayoubzulfiqar
ayoubzulfiqar / folder_structure.md
Created September 5, 2023 06:12
The Folder Structure for Every Golang Project

Go - The Ultimate Folder Structure

Organizing your Go (Golang) project's folder structure can help improve code readability, maintainability, and scalability. While there is no one-size-fits-all structure, here's a common folder structure for a Go project:

project-root/
    β”œβ”€β”€ cmd/
    β”‚   β”œβ”€β”€ your-app-name/
    β”‚   β”‚   β”œβ”€β”€ main.go         # Application entry point
    β”‚   β”‚   └── ...             # Other application-specific files
@dogtopus
dogtopus / jdm_mcu.md
Last active December 10, 2023 18:36
Jedi MCU

Jedi/Banana Info

Identification

FCCID

  • AK8CUHZCT1: JDM-001, JDM-020(?, uses similar BT module)
  • AK8CUHZCT1F1: JDM-011(D2?)
  • AK8CUHZCT1A: JDM-030
  • AK8CUHZCT2: JDM-040
@playday3008
playday3008 / README.md
Last active June 30, 2021 13:36
rEFInd best configuration for dualboot Ubuntu 20.04 (kernel/GRUB) and Windows 10

You need to replace volume token with your PARTUUID

  • Use this command to find PARTUUID blkid -s PARTUUID -o value /dev/sdXY Where sdXX is your partition where located efi/kernel file

  • Replace here, here, and here

You need to replace "options" token with your options located in /boot/grub/grub.cfg

@ntamvl
ntamvl / Increasing-the-amount-of-inotify-watchers.md
Created August 16, 2017 03:10
Increasing the amount of inotify watchers

Increasing the amount of inotify watchers

If you are not interested in the technical details and only want to get Listen to work:

  • If you are running Debian, RedHat, or another similar Linux distribution, run the following in a terminal:
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
@Darkhogg
Darkhogg / !RebootToOs.md
Last active March 19, 2026 18:45
"Reboot to {OS}" scripts for rEFInd Next Boot selection

Reboot to {OS}

This a collection of notes and files used in my quest to create "Reboot to Windows" and "Reboot to Linux" scripts (and desktop shortcuts) for Linux and Windows respectively that automatically reboot my system and instruct rEFInd to auto-select the appropriate OS entry.

General Information

The key for achieving this is to modify the EFI Variable PreviousBoot with GUID 36d08fa7-cf0b-42f5-8f14-68df73ed3740, which rEFInd uses to store the last entry selected in the menu and, if using the + default entry, will be used to select the default OS. By doing this, we trick rEFInd into booting the OS we choose without having to be physically there to press the keyboard.