Skip to content

Instantly share code, notes, and snippets.

@dvdveer
dvdveer / create_lfs_bundle.sh
Created April 29, 2020 16:38
Shell script to create a git bundle including changed LFS files
#!/bin/sh
# This script creates a bundle of git commits between START and END.
# It also tars the lfs files that changed in those commits.
# When you unbundle on the receiving side you should untar the LFS tar *before*
# running 'git pull' on the bundle file.
# Note that this is just an example script that doesn't do error checking, and
# also doesn't account for submodules, etc. YMMV
# Start and end commits of bundle
@khang06
khang06 / 0-SD-GUIDE.md
Last active December 21, 2024 18:03
Switch SD Dumping 101

https://gbatemp.net/threads/nintendo-switch-sd-to-nsp-dumper.514816/ for a more automated and easier way to do this

This guide assumes you have previous experience with hactool and messing with your NAND. You aren't supposed to blindly copy commands in this, so read before pasting!

Also, the Python sections require Python 2.7 and pycrypto. Make sure your hactool is v1.2 or above.

Obtaining Your SD Seed

  1. Run https://cdn.discordapp.com/attachments/432400335235973120/478053328857726976/Compelled-Disclosure.nro (source at https://github.com/shadowninja108/Compelled-Disclosure, thx Shadów#6239)
@agentcooper
agentcooper / 0.README.md
Last active January 23, 2025 13:51
Telegram chat backup/export

How to use

  1. Login to https://web.telegram.org
  2. Copy-paste contents of telegram-scripts.js into JS console
  3. Run showContacts() to get the list of contacts with ids
  4. Run saveChat(userId) where userId is the id from step 3

Process can take a while, check console for progress. Occasionall FLOOD_WAIT errors are expected. Once done, browser will download the JSON file.

Motivation