Skip to content

Instantly share code, notes, and snippets.

Avatar
🐈
CatHub 365 Personal Subscription

Coxxs

🐈
CatHub 365 Personal Subscription
View GitHub Profile
@Coxxs
Coxxs / switch-gdb-cheatsheet.md
Created Oct 29, 2022 — forked from jam1garner/switch-gdb-cheatsheet.md
GDB for Switch Modding Cheatsheet/Tutorial
View switch-gdb-cheatsheet.md

This is a mini-tutorial of sorts for getting started with gdb on the Switch, with the target audience being people who want to mod and/or reverse games, with no prerequisite knowledge of gdb. The goal will be to walk you through some of the basic workflows needed to use a debugger on the Switch, while being brief enough for skimming for when you forget things.

If some part is unclear, your OS doesn't have install instructions, or you feel part of your workflow should be added here, feel free to comment any additions.

(If you only need a quick reference Jump to the Appendix)

Installing GDB

First off you'll need a version of GDB compatible with aarch64. This can be obtained via either a distribution of

@Coxxs
Coxxs / stylish-font-replacement.css
Created Jan 2, 2022 — forked from Hexcles/stylish-font-replacement.css
Font substitute CSS for web pages
View stylish-font-replacement.css
/*
* Replace ugly Chinese bitmap fonts with system default sans-serif.
* ATTENTION: this will intentionally change the appearance of web pages!
* Most Chinese websites do not mean to use serif fonts, especially for these ugly ones.
*/
@font-face {
font-family: "宋体";
src: local("sans-serif");
}
@Coxxs
Coxxs / serve_img.sh
Created Dec 14, 2021 — forked from sleirsgoevy/serve_img.sh
Script for enabling mass storage emulation on rooted Samsung phones
View serve_img.sh
A=/sys/class/android_usb/android0
set -x
killall -STOP adbd
sleep 1
echo 0 > $A/enable
echo mass_storage > $A/functions
echo disk > $A/f_mass_storage/luns
echo 1 > $A/enable
sleep 1
View keybase.md

Keybase proof

I hereby claim:

  • I am coxxs on github.
  • I am coxxs (https://keybase.io/coxxs) on keybase.
  • I have a public key whose fingerprint is A66C FD9B A141 0ECC BCF7 76A6 B175 732B AA84 EC40

To claim this, I am signing this object:

@Coxxs
Coxxs / PowerSerttings.Unhide.reg
Created Nov 22, 2021 — forked from Dark4Codrutz/PowerSerttings.Unhide.reg
Reveals the most used hidden power settings in Windows 10. The value Attributes=2 means reveal, where value of 1 or 0 means hide from Power Options. Good Tweaking!
View PowerSerttings.Unhide.reg
Windows Registry Editor Version 5.00
;Reveals the most used hidden power settings in Windows 10. The value Attributes=2 means reveal, where value of 1 or 0 means hide from Power Options.
;Good Tweaking!
;WLAN
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\19cbb8fa-5279-450e-9fac-8a3d5fedd0c1\12bbebe6-58d6-4636-95bb-3217ef867c1a]
"Attributes"=dword:00000002
;Power Scheme Personality
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\245d8541-3943-4422-b025-13a784f679b7]
@Coxxs
Coxxs / README.md
Created Mar 11, 2018 — forked from dd-han/README.md
using Cloudflare as DDNS in ASUSWRT-Merlin firmware
View README.md

ASUSWRT-MERLIN custom DDNS Script for Cloudflare

for Cloudflare as DDNS

using Cloudflare API v4

Using

put ddns-start at /jffs/scripts/, setting values and set DDNS type to Custom at web Admin panel.

View gist:f0277ac2181d9403937d5ed23840bcc8
Verifying my Blockstack ID is secured with the address 13M8BMahzNpyvJHDkP7xvrgHWkzkDU5Ca9 https://explorer.blockstack.org/address/13M8BMahzNpyvJHDkP7xvrgHWkzkDU5Ca9
@Coxxs
Coxxs / GAME_MASTER_v0_1.protobuf
Created Jul 18, 2016 — forked from anonymous/GAME_MASTER_v0_1.protobuf
Pokemon Go decoded GAME_MASTER protobuf file v0.1
View GAME_MASTER_v0_1.protobuf
Result: 1
Items {
TemplateId: "BADGE_BATTLE_ATTACK_WON"
Badge {
BadgeType: BADGE_BATTLE_ATTACK_WON
BadgeRanks: 4
Targets: "\nd\350\007"
}
}
Items {
View keybase.md

Keybase proof

I hereby claim:

  • I am coxxs on github.
  • I am coxxs (https://keybase.io/coxxs) on keybase.
  • I have a public key whose fingerprint is A66C FD9B A141 0ECC BCF7 76A6 B175 732B AA84 EC40

To claim this, I am signing this object: