Skip to content

Instantly share code, notes, and snippets.

View Epicpkmn11's full-sized avatar

Pk11 Epicpkmn11

View GitHub Profile
@Epicpkmn11
Epicpkmn11 / concom.py
Last active October 26, 2023 08:06
concom.py - Creates a vCard from a CSV
#!/usr/bin/env python3
# SPDX-License-Identifier: CC0-1.0
# SPDX-FileContributer: Pk11, 2023
# Source: https://gist.github.com/Epicpkmn11/df4623f79c0d4aefb6b0b2506d71f614
from argparse import ArgumentParser, FileType
from datetime import datetime
import csv
@Epicpkmn11
Epicpkmn11 / ntrbootbanner.py
Last active December 9, 2023 21:47
ntrbootbanner.py - Extracts/Injects a banner from/to an ntrboot backup
#!/usr/bin/env python3
"""
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
@Epicpkmn11
Epicpkmn11 / dsibanner.py
Last active February 21, 2024 01:05
dsibanner.py - Creates a DS(i) banner file
#!/usr/bin/env python3
# Requirements:
# pip3 install libscrc pillow
# For example files, see Wordle DS:
# https://github.com/Epicpkmn11/WordleDS/tree/main/resources/icon
# python3 dsibanner.py -i icon.*.png -d icon.0.png -t Wordle DS;Pk11 -a icon.json -o banner.bin
"""
@Epicpkmn11
Epicpkmn11 / eulasetter.py
Last active April 21, 2022 21:27
eulasetter.py - Sets the EULA status of a DSi config file
#!/usr/bin/env python3
"""
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
@Epicpkmn11
Epicpkmn11 / bbs.php
Last active October 24, 2023 16:39
bbs.php - crappy php bbs because I was bored lol http://bbs.xn--rck9c.xn--tckwe/index.php
<?php
/* This is free and unencumbered software released into the public domain.
*
* Anyone is free to copy, modify, publish, use, compile, sell, or
* distribute this software, either in source code form or as a compiled
* binary, for any purpose, commercial or non-commercial, and by any
* means.
*
* In jurisdictions that recognize copyright laws, the author or authors
* of this software dedicate any and all copyright interest in the
@Epicpkmn11
Epicpkmn11 / gif-input-flag.py
Last active April 21, 2022 21:28
gif-input-flag.py - Sets the user input flag on specified frames of a GIF
#!/usr/bin/env python3
"""
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
@Epicpkmn11
Epicpkmn11 / bannerpng.c
Last active April 21, 2022 21:28
bannerpng.c - Extracts the icon from a DS(i) ROM to a PNG, see bannergif.py for a better extractor capable of extracting animated icons but in Python
/* This is free and unencumbered software released into the public domain.
*
* Anyone is free to copy, modify, publish, use, compile, sell, or
* distribute this software, either in source code form or as a compiled
* binary, for any purpose, commercial or non-commercial, and by any
* means.
*
* In jurisdictions that recognize copyright laws, the author or authors
* of this software dedicate any and all copyright interest in the
* software to the public domain. We make this dedication for the benefit
@Epicpkmn11
Epicpkmn11 / pkg2png.py
Last active April 6, 2022 09:00
Cut the Rope DSiWare image conversion scripts
#!/usr/bin/env python3
# Requirements:
# pip3 install pillow
"""
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
@Epicpkmn11
Epicpkmn11 / gettmd.py
Last active July 16, 2023 04:15
gettmd.py - Downloads a TMD for a DSiWare from NUS
#!/usr/bin/env python3
# Requirements:
# pip3 install requests
"""
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
@Epicpkmn11
Epicpkmn11 / json2csv.py
Last active April 21, 2022 21:28
json2csv.py - Converts a JSON to a CSV
#!/usr/bin/env python3
"""
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.