Skip to content

Instantly share code, notes, and snippets.

View leo60228's full-sized avatar
🦀
🦀

leo60228 leo60228

🦀
🦀
View GitHub Profile
#!/usr/bin/env nix-shell
#!nix-shell -i python -p python3 python3Packages.yt-dlp python3Packages.mpd2 python3Packages.pyyaml
from yt_dlp import YoutubeDL
import sys
import mpd
from yaml import dump
pl = []
with YoutubeDL({'logtostderr': True, 'extract_flat': True}) as ydl:
#!/usr/bin/python3
import os, platform, time, shutil, binascii, sys, fs, codecs
VERSION = "v1.1"
def prgood(content):
print(f"[\033[0;32m✓\033[0m] {content}")
def prbad(content):
print(f"[\033[0;91mX\033[0m] {content}")
28K ./Nintendo - Nintendo Entertainment System/Pac-Man (USA) (Namco) (Virtual Console).nes
44K ./Nintendo - Nintendo Entertainment System/Super Mario Bros. (World).nes
260K ./Nintendo - Nintendo Entertainment System/Super Mario Bros. 2 (USA) (Rev 1) (Virtual Console).nes
388K ./Nintendo - Nintendo Entertainment System/Super Mario Bros. 3 (USA) (Rev 1) (Virtual Console).nes
512K ./Nintendo - Super Nintendo Entertainment System/F-Zero (USA, Europe) (Virtual Console, Classic Mini, Switch Online).sfc
512K ./Nintendo - Super Nintendo Entertainment System/Super Mario Kart (USA).sfc
512K ./Nintendo - Super Nintendo Entertainment System/Super Mario World (USA, Europe) (Virtual Console, Classic Mini, Switch Online).sfc
1.0M ./Nintendo - Game Boy Color/Pokemon Trading Card Game (USA, Australia) (SGB Enhanced) (GB Compatible).gbc
1.0M ./Nintendo - Game Boy/Pokemon - Blue Version (USA, Europe) (SGB Enhanced).gb
1.0M ./Nintendo - Game Boy/Pokemon - Red Version (USA, Europe) (SGB Enhanced).gb
This file has been truncated, but you can view the full file.
{
"Table": [
{
"Id": 1,
"ItemType": 5,
"IconName": "item_001",
"Price": 0,
"BP": 0,
"EquipEffect": 0,
"EquipPower": 0,
#workskin .test {
background-image: url(https://example.com/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
This file has been truncated, but you can view the full file.
.text section layout
00000000 000084 80006e00 00002fe0 4 __dt__Q44nw4r2ut6detail12LinkListImplFv libnw4r_ut.a ut_LinkList.o
00000084 000048 80006e84 00003064 4 Erase__Q44nw4r2ut6detail12LinkListImplFQ54nw4r2ut6detail12LinkListImpl8Iterator libnw4r_ut.a ut_LinkList.o
000000cc 00002c 80006ecc 000030ac 4 Insert__Q44nw4r2ut6detail12LinkListImplFQ54nw4r2ut6detail12LinkListImpl8IteratorPQ34nw4r2ut12LinkListNode libnw4r_ut.a ut_LinkList.o
000000f8 000030 80006ef8 000030d8 4 Erase__Q44nw4r2ut6detail12LinkListImplFPQ34nw4r2ut12LinkListNode libnw4r_ut.a ut_LinkList.o
00000128 000074 80006f28 00003108 4 IsValidBinaryFile__Q24nw4r2utFPCQ34nw4r2ut16BinaryFileHeaderUlUsUs libnw4r_ut.a ut_binaryFileFormat.o
0000019c 000078 80006f9c 0000317c 4 ReadNextCharUTF8__Q34nw4r2ut14CharStrmReaderFv libnw4r_ut.a ut_CharStrmReader.o
00000214 00001c 80007014 000031f4 4 ReadNextCharUTF16__Q34nw4r2ut14CharStrmReaderFv libnw4r_ut.a ut_CharStrmReader.o
00000230 00001c 80007030 00003210 4 ReadNextCharCP1252__Q
  • ds
  • ds1
  • ds2
  • ds3
  • ds4
  • ds5
  • ds6
  • ds7
  • ds8
  • dsearch
#[cxx_qt::bridge]
mod instances_model {
use helixlauncher_core::config::Config;
use helixlauncher_core::game::{merge_components, prepare_launch, LaunchOptions};
use helixlauncher_core::instance::{Instance, InstanceLaunch, Modloader};
use helixlauncher_core::launcher::launch;
use tokio::runtime::Runtime;
unsafe extern "C++" {
include!(< QAbstractListModel >);
Bulbasaur
Ivysaur
Charmander
Charmeleon
Squirtle
Wartortle
Caterpie
Metapod
Weedle
Kakuna
const {Dex} = require('@pkmn/dex');
const {Generations} = require('@pkmn/data');
const fs = require('fs');
const nonT5File = fs.readFileSync('non_t5.txt').toString().split('\n');
// These species are unobtainable outside of their own generations, but @pkmn/dex doesn't contain
// the artificial 'natDexTier' field which allows Pokémon Showdown to track this so we harcode it.
// If using @pkmn/sim instead, this list can be replaced with a `d.natDexTier !== 'Illegal'` check.
const NATDEX_UNOBTAINABLE_SPECIES = [