Skip to content

Instantly share code, notes, and snippets.

View playday3008's full-sized avatar
🦄

PlayDay playday3008

🦄
  • Trias.Dev
  • Speeks: English/Ukrainian/Polish/Russian
  • 03:37 (UTC +02:00)
View GitHub Profile
@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
@lbrame
lbrame / framework_16_linux_fedora.md
Last active March 30, 2026 11:44
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 / _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