Skip to content

Instantly share code, notes, and snippets.

View hax4dazy's full-sized avatar
🤔
Somethings wrong I can feel it

hax4dazy

🤔
Somethings wrong I can feel it
View GitHub Profile
@parkerlreed
parkerlreed / loader.py
Last active November 3, 2024 07:46
Lists ISOs in given folder and allows you to turn the Steam Deck into a flash drive - Currently requires passwordless sudo for rmmod and modprobe to be setup
#!/usr/bin/env python
import os
import subprocess
from PyQt6.QtWidgets import (
QApplication, QMainWindow, QVBoxLayout, QPushButton, QWidget, QMessageBox, QScrollArea, QVBoxLayout
)
class IsoLoaderApp(QMainWindow):
def __init__(self, iso_directory):
super().__init__()
@aamiaa
aamiaa / RevertNewLayout.md
Last active November 8, 2024 23:16
Revert New Discord Layout

The original snippet no longer works!

On 02/09/2024 at around 8pm UTC, Discord flipped an experiment (2023-09_mobile_redesign_override_toggles) which ignores the layout toggle that this script relied on.

If you want to continue using the old layout, you can either use a modded mobile client (such as Vendetta) to disable that experiment, or downgrade to an old version of the app.

Method 1 - Downgrading (Android)

Tip

Use this one if you want a fast, beginner-friendly solution and don't mind using a version from November 2023

  1. Download version 205.15 of Discord mobile app from ApkMirror

17.0.0 Save File Management

Hello! It's been a while since I've done any write-ups, but I thought I'd do one to (hopefully) bring a little clarity to a situation that's been causing a lot of confusion and misinformation.

I'm thinking I'll go through what the problem is and why it happens. So, I guess, let's dive in:

What's happening?

Some people are finding that upon updating to 17.0.0, their consoles are getting a blackscreen and refusing to boot further.

@Slluxx
Slluxx / patchNXapps.md
Last active July 22, 2024 15:56
How to patch Nintendo Switch Applications in IDA

Patching the Youtube App

In short

  1. Extract the main NSO
  2. Convert it into an ELF (to strip header/hashes)
  3. Load it into Ida, find the function and patch the bytes back into the binary
  4. Convert the ELF back into NSO
  5. Use the nso as exefs patch or re-import it into the NCA/NSP
@kkrypt0nn
kkrypt0nn / ansi-colors-discord.md
Last active October 31, 2024 21:33
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
@rlaphoenix
rlaphoenix / bdsp-glitch.md
Last active April 14, 2024 19:27
Pokémon Brilliant Diamond & Shining Pearl Glitching

Pokémon Brilliant Diamond & Shining Pearl Glitching

Note: This document is fairly out of date. While a lot of the information within it is valid, the strategies to various tricks in here has since been improved or trumped by another strategy.

I might not be updating this document in this future, so if anyone wants to fork this git to continue it, feel free. In the meantime check out BLAINES YouTube as he has covered glitches found since I stopped documenting them.

Do note that I do not agree with BLAINES strategy of obtaining information on some of those glitches

Sometimes you need a 2048-bit RSA keypair for testing various things.

If you, like myself, have a child's sense of humor, I offer the following for your general use:

P = 19
Q = 1696986749729493925354392349339746171297507422986462747526968361144447230710192316397327889522451749459854070558277878297255552508603806832852079596337539247651161831569525505882103311631577368514276343192042634740927726070847704397913856975832811679847928433261678072951551065705680482548543833651752439700272736498378724153330763357721354498194000536297732323628263256733931353143625854828275237159155585342783077681713929284136658773985266864804093157854331138230313706015557050002740810464618031715670281442110238274404626065924786185264268216336867948322976979393032640085259926883014490947373494538254895109731

N = 0xFF69696969696969696969696969696969696969696969696969696969696969696969696969696969696969696969696969696969696969696969696969696969696969696969696969696969696969696969696969696969696969696969696969696969696969696969696