Skip to content

Instantly share code, notes, and snippets.

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

PlayDay playday3008

πŸ¦„
  • Trias.Dev
  • Speeks: English/Ukrainian/Polish/Russian
  • 02:26 (UTC +02:00)
View GitHub Profile
@Fonger
Fonger / HideModule.cpp
Last active September 6, 2024 15:43
Hide DLL ( 32bit and 64bit support)
#include "stdafx.h"
#include "HideModule.h"
std::vector<UNLINKED_MODULE> UnlinkedModules;
void RelinkModuleToPEB(HMODULE hModule)
{
std::vector<UNLINKED_MODULE>::iterator it = std::find_if(UnlinkedModules.begin(), UnlinkedModules.end(), FindModuleHandle(hModule));
if (it == UnlinkedModules.end())
@0xjac
0xjac / private_fork.md
Last active May 16, 2026 00:47
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare git@github.com:usi-systems/easytrace.git

@skarllot
skarllot / net35-cf.md
Last active March 18, 2026 01:54
Build .NET Compact Framework 3.5

Install

Force MSBuild support

  • Copy files and directories from 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\*' to 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v3.5';
  • Copy files from 'C:\Program Files (x86)\Microsoft.NET\SDK\CompactFramework\v3.5\Debugger\BCL\*' to 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v3.5\Profile\CompactFramework' directory;
  • Create 'RedistList' directory inside created 'CompactFramework' directory;
  • Create 'FrameworkList.xml' inside 'RedistList' directory and type the following:
@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.

@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
@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

@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
@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
@shmup
shmup / proton
Last active May 7, 2026 22:55
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
@famellad
famellad / frosty_on_ice_i_mean_linux.md
Last active April 27, 2026 20:28
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.