Skip to content

Instantly share code, notes, and snippets.

View Epicpkmn11's full-sized avatar

Pk11 Epicpkmn11

View GitHub Profile
@Epicpkmn11
Epicpkmn11 / discord.css
Last active April 6, 2022 09:28
My custom Discord theme
/*
* Makes Discord be pink when in light theme, dark
* theme is mostly completely unaffected except for
* hiding the, gift Nitro button, voice channels,
* and the channel invite buttons and showing full
* user bios, all of which are in the first
* three CSS rules.
*
* Works in Safari and with BeautifulDiscord.
*/
@Epicpkmn11
Epicpkmn11 / discord.css
Created January 30, 2021 08:23
Discord light theme, but it's not super harsh
.theme-light {
--header-primary: #070707;
--header-secondary: #606060;
--text-normal: #383838;
--text-muted: #8d8d8d;
--text-link: #0067e0;
--channels-default: #808080;
--interactive-normal: #606060;
--interactive-hover: #383838;
--interactive-active: #070707;
@Epicpkmn11
Epicpkmn11 / safari.css
Last active March 26, 2021 08:53
My Safari custom CSS
/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans&family=Noto+Sans+KR:wght@500&family=Noto+Sans+SC:wght@500&family=Noto+Sans+TC:wght@500&display=swap');
@font-face {
font-family: Noto Sans Hebrew;
src: url("https://cdn.discordapp.com/attachments/625519299666378753/803296532996161587/NotoSansHebrew-Regular.ttf");
font-weight: 500;
}
@font-face {
@Epicpkmn11
Epicpkmn11 / font.bin.py
Last active November 29, 2021 23:32
Converts an image to a font bin for DS or PSP
#!/usr/bin/env python3
# Requirements:
# pip3 install pillow
"""
Copyright © 2021 Pk11
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
@Epicpkmn11
Epicpkmn11 / theme.json
Last active May 2, 2021 09:35
Element theme
{
"name": "ピンク",
"is_dark": false,
"colors": {
"accent-color": "#b2d9ea",
"warning-color": "#bf616a",
"sidebar-color": "#ffe2e2",
"roomlist-background-color": "#ffeeee",
"roomlist-text-color": "#241919",
@Epicpkmn11
Epicpkmn11 / bannergif.py
Last active February 21, 2024 00:52
bannergif.py - Extracts a DS(i) ROM's icon to an image
#!/usr/bin/env python3
# Requirements:
# pip3 install libscrc 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 / nextrip.php
Last active April 21, 2022 21:28
nextrip.php - PHP webpage for getting NexTrip stop info https://nextrip.xn--rck9c.xn--tckwe/
<?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 / 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.
@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 / title-copier.py
Last active January 19, 2022 06:20
Copies a title into any blank titles in a DS ROM
#!/usr/bin/env python3
# Requirements:
# pip3 install libscrc
"""
title copier © 2022 Pk11
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal