Skip to content

Instantly share code, notes, and snippets.

@bakugo
bakugo / mysqldump.py
Last active May 27, 2021 08:09
Basic MySQL data dumper with support for excluding columns
#!/usr/bin/python3
import sys
import os
import time
import argparse
import threading
import queue
import pymysql
@bakugo
bakugo / nin-bars-fwav-extract.py
Last active May 18, 2018 19:44
Python script to extract FWAVs from BARS files in Nintendo Switch & Wii U games
import sys
import os
def main(argv):
files = argv[1:]
if len(files) == 0:
return 1
for file in files:
@bakugo
bakugo / nsw-ticket-dump.py
Last active June 28, 2018 08:49
Python script to dump eshop tickets from Nintendo Switch system save archives
import sys
import os
# arg1 should be the path to a "save" folder from nand's system partition
# arg2 should be the path where the extracted tickets will be saved
def main(argv):
if len(argv) < 3:
return 1

Keybase proof

I hereby claim:

  • I am bakugo on github.
  • I am bakugo (https://keybase.io/bakugo) on keybase.
  • I have a public key whose fingerprint is 5058 D409 0552 01D0 55FF C665 D880 F7FA 57ED 4129

To claim this, I am signing this object: