Skip to content

Instantly share code, notes, and snippets.

@kkrypt0nn
kkrypt0nn / ansi-colors-discord.md
Last active July 9, 2026 23:39
A guide to ANSI on Discord

A guide to ANSI on Discord

Discord is now slowly rolling out the ability to send colored messages within code blocks. It uses the ANSI color codes, so if you've tried to print colored text in your terminal or console with Python or other languages then it will be easy for you.

Quick Explanation

To be able to send a colored text, you need to use the ansi language for your code block and provide a prefix of this format before writing your text:

\u001b[{format};{color}m
@maggi373
maggi373 / altibox.md
Last active June 28, 2026 20:59
[Guide] Altibox fiber directly to pfsense

[Guide] How to set up pfsense with Altibox directly to fiber without any isp crap

Newer installs for altibox fiber includes an sfp transmitter in the isp router that comes with the install. This can be taken out and used in pfsense. Instalations from 2019 should be fine in this regard.

SFP+ Cards tested and works:

  • Mellanox mnpa19-xtr ✔️

Cards that does not work:

  • Broadcom 57810S
@ZoomTen
ZoomTen / 00-COMPATIBILITY.md
Last active March 3, 2025 13:07
MBC30 Compatibility Reference

MBC30 Compatibility Reference Table

MBC30 is a variant of the common MBC3 mapper that can access twice the memory as the regular variant. MBC30 allows for up to 4mb ROM and 64kb SRAM over MBC3's 2mb ROM and 32kb SRAM. It is only known to be used in the Japanese version of Pokemon Crystal, mainly for Mobile System GB features.

The added space provided by this variant is considered beneficial especially for ROM hacks. For example, Pokemon Coral (2022 demo and up) uses it for sampled cries and other extra content.

Note on hardware compatibility

Everdrives will not work, unless an OS update is released. Until then, you'll need to make/buy an MBC30 flashcart (such as this project, or BennVenn's custom cart), and have reflashing tools.

@dafta
dafta / usb-ether.sh
Last active May 10, 2026 17:32
Steam Deck USB Ethernet
#!/bin/sh
if [ "$UID" -ne 0 ]; then
echo "This script needs to be executed as root"
exit 1
fi
vendor_id="0x3000" # Valve
product_id="0x28DE"
serial_number="$(dmidecode -s system-serial-number)" # The Steam Deck's serial number