Skip to content

Instantly share code, notes, and snippets.

View MP3Martin's full-sized avatar
💭
🇨🇿

MP3Martin

💭
🇨🇿
View GitHub Profile
@tkrotoff
tkrotoff / #deepFreeze.ts
Last active May 6, 2025 09:26
Deeply freezes an object
import { ReadonlyDeep } from 'type-fest';
/**
* Deeply freezes an object by recursively freezing all of its properties.
*
* - https://gist.github.com/tkrotoff/e997cd6ff8d6cf6e51e6bb6146407fc3
* - https://stackoverflow.com/a/69656011
*
* FIXME Should be part of Lodash and related: https://github.com/Maggi64/moderndash/issues/139
*
@ehsan18t
ehsan18t / processor-boost-mode.md
Last active July 13, 2025 19:47
Enable Processor Boost Mode Control in Advanced Power Settings

Enable Processor Boost Mode Control in Windows

Disable Turbo Boost to Reduce Power Consumption and Heat

Why Do We Need It?

If your laptop’s CPU is running very hot and you’ve tried to undervolt it, you’ve probably discovered there’s no easy way to do so—especially on laptops whose BIOS doesn’t expose those controls. I ran into the same issue with my Ryzen 7 5800H, despite numerous attempts, I couldn’t undervolt because the firmware simply wouldn’t allow it. While it may seem drastic, disabling Turbo Boost is one workaround—and you might be surprised how little real-world performance you lose by turning it off.

@irazasyed
irazasyed / outbound-email-with-cloudflare.md
Last active July 15, 2025 14:16
Using Gmail SMTP with Cloudflare Email Routing: A Step-by-Step Guide

Using Gmail SMTP with Cloudflare Email Routing: Step-by-Step Guide

Learn how to send emails through Gmail SMTP with Cloudflare Email Routing in this comprehensive guide.

Step 1: Enable 2-Factor Authentication

To proceed with this method, ensure that you have enabled two-factor authentication for your Google account. If you haven't done so already, you can follow the link to set it up → Enable 2FA in your Google account.

Step 2: Create an App Password for Mail

@qyurila
qyurila / quickCss.css
Last active April 17, 2025 07:18
A personal Vencord QuickCSS
/** NOTES
You'd like to change the font families if you aren't Korean and/or don't use Momotalk theme (https://github.com/MiyakuKage/discord-momotalk)
**/
/** IMPORTS **/
/* Revert Old Icons */
@import url(https://davart154.github.io/Themes/Icon%20Revert%202023/2023%20Icon%20Revert.css);
/* Import Fonts */
@import url(https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/variable/pretendardvariable-jp.min.css);
@aphilas
aphilas / zustand-immer-persist.ts
Created October 13, 2022 19:00
Zustand with immer and persist
import create, { StateCreator } from "zustand"
import { persist } from "zustand/middleware"
import { immer } from "zustand/middleware/immer"
// Custom persist storage
import { zustandStorage } from "@app/services/zustand"
export interface Entry {
sourceId: string
quantity: number
unitPrice: number
@NordicGamerFE
NordicGamerFE / performancemods18.md
Last active February 23, 2025 23:28
Performance Mods 1.18

Performance Mods

A list of performance-enhancing mods for 1.18.x forge/fabric versions.

Any suggestions/complaints?
Join our discord or use the gist comments.

Home

Fabric 1.18.X

@NordicGamerFE
NordicGamerFE / performancemods12.md
Last active July 16, 2025 04:49
Performance mods 1.12

Performance Mods

A list of performance-enhancing mods for 1.12.x versions.

Any suggestions/complaints?
Join our discord or use the gist comments.

Mods marked as "Dangerous" might be unstable, and cause some unexpected behaviour.

Home

@NordicGamerFE
NordicGamerFE / performancemods.md
Last active March 31, 2024 00:50
Useful mods list

Useful Mods

Notice

This list has moved to a repo you can find here https://github.com/NordicGamerFE/usefulmods

Alkyaly has stopped maintaining their list they have given me the responsibility to maintain their list original list
A list of usefull mods for most major-played versions.
Any suggestions/complaints?
Join our discord or use the gist comments.

@tomasdev
tomasdev / minecraft-emoji.md
Last active July 7, 2025 19:18
Minecraft allowed emojis

Minecraft allowed emojis

Ever wondered how to insert emoji in minecraft? Well turns out Minecraft supports only a subset of emoji (old one) but you can copy-paste these in it!

Screenshot of the emojis being rendered in Minecraft

These also look great on signs!

Minecraft sign with glowing effect showcasing arrows