Skip to content

Instantly share code, notes, and snippets.

@rocknard
rocknard / ep.tampermonkey.js
Last active June 1, 2020 04:27
[Tampermonkey] EP links' fix.
// ==UserScript==
// @name emuparadise.me
// @match https://www.emuparadise.me/*/*/*
// ==/UserScript==
var _el = document.querySelectorAll('.download-link a[href*="-download"]'), _url = document.URL.split('/');
if(_url[3] == 'Sega_Dreamcast_ISOs') {
for(var _i = 0; _i < _el.length; _i++) {
_el[_i].href = 'http://50.7.189.186/happyxhJ1ACmlTrxJQpol71nBc/Dreamcast/' + _el[_i].title.split('Download ').pop().split(' ISO for Sega Dreamcast')[0];
}
// ==UserScript==
// @name EmuParadise download script
// @version 1
// @description Downloads games directly after clicking their name
// @author Eptun
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// @match https://www.emuparadise.me/*/*/*
// @grant none
// ==/UserScript==
// ==UserScript==
// @name EmuParadise Download Workaround - 1.1.1
// @version 1.1.2
// @description Replaces the download button link with a working one
// @author Eptun
// @match https://www.emuparadise.me/*/*/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// @grant none
// ==/UserScript==
@PixelSergey
PixelSergey / dump.md
Last active November 2, 2024 04:32
Dump games with godmode9

Dumping games with Godmode9

Dumping games is the act of taking a game from your system or gamecart and copying it into a readable format onto your SD card. Dumping is perfectly legal if you keep the dumps to yourself, however sharing these dumps is piracy and is illegal.

This guide will tell you how to dump games from various formats and for various purposes. Dumping 3DS cartriges as .cia files is good if you want to install them to your system. Dumping them as .3ds files is good for emulators. Installed titles cannot be dumped as .3ds files. NDS cartiges can only be dumped as .nds files and cannot be installed (however, you can play them with emulators or flashcarts).

Dumping the RomFS of a game is primarily for romhacking purposess.

@drojf
drojf / batoto_follows_to_mangadex.js
Last active January 25, 2018 01:13 — forked from akrolsmir/batoto_follows_to_mangadex.js
Import your manga from Batoto to Mangadex
/*
Instructions:
1) Go to https://mangadex.com on Chrome.
2) Open the Chrome console (Ctrl+Shift+J on Windows).
3) Copy + paste the code in this file.
If using JSON export, use (A).
If using raw CSV Text (copy from a text editor), use (B).
If using exel/newline separated values, use (C).
4) Hit Enter.
#!/usr/bin/env python
# Linux usage: ./extract_tampermonkey_script.py "/home/<USER>/.config/<BROWSER>/Default/Local Extension Settings/<EXTENSION_ID>"
# i.e.: ./extract_tampermonkey_script.py "/home/foo/.config/google-chrome-beta/Default/Local Extension Settings/gcalenpjmijncebpfijmoaglllgpjagf"
# Mac usage: ./extract_tampermonkey_script.py "/Users/<USER>/Library/Application Support/Google/Chrome/Default/Local Extension Settings/<EXTENSION_ID>/"
# i.e.: ./extract_tampermonkey_script.py "/Users/foo/Library/Application Support/Google/Chrome/Default/Local Extension Settings/dhdgffkkebhmkfjojejmpbldmpobfkfo/"
import leveldb
import sys
import re
@PBXg33k
PBXg33k / VGMdb#Search by &Album
Last active March 21, 2024 09:16
MP3Tag - VGMdb source file
# ###################################################################
# Mp3tag (v2.39+) parsing for VGMdb.net, created by dano on 2010-01-20
# Updated and maintained by PBX_g33k starting from 2015-09-01
#
#
# This file should be in your sources directory
# On Windows XP it's
# C:\Documents and Settings\*username*\Application Data\Mp3tag\data\sources
#
# Changelog:
@pietrop
pietrop / issuu_downloader.rb
Created June 29, 2014 18:04
To download magazine from issuu.com when the download option has been disabled. in practice the script doesn't actually download the pdf, but rather download the images of the pages of the flash object and then combines those into a pdf
require 'mechanize'
require 'prawn'
=begin
running from terminal to download any pdf from issuu.com, given
- magazine name
- page count
- document-id
=end