Skip to content

Instantly share code, notes, and snippets.

@zuazo
zuazo / emuparadise.py
Last active May 21, 2021 16:09 — forked from fopina/emuparadise.py
Scraper script for emuparadise.me modified to support roms with multiple links (e.g. Dreamcast)
#!/usr/bin/env python
"""
Scraper script for emuparadise.me
Forked from https://gist.github.com/fopina/8d2ce0b0b03f34e117dd
Modified to support roms with multiple download links like Dreamcast games.
Usage
=====
@zuazo
zuazo / hb_all_books_dl.js
Last active September 10, 2022 14:36 — forked from p0kR/hb_all_books_dl.js
Humble bundle book bundles - download all books at once
/*
Forked from https://gist.github.com/p0kR/95e05e689be4e59b1b8fb6e383b9e25a
After purchasing a humble book bundle, go to your download page for that bundle.
Open a console window for the page and paste in the below javascript
this fork downloads all formats and does so without using jquery (since that didnt work for me)
note that if you are in chrome, chrome will not download the pdfs for you by default, to fix this
Settings (chrome://settings) --> Advanced --> Privacy and security --> Content settings --> PDF documents --> Download PDF files instead of automatically opening them in Chrome --> Turn ON
import os
import os.path
import sys
from carbon.hashing import ConsistentHashRing
from carbon.conf import settings
## Settings
# Absolute path to the Graphite Data Directory
DATA_DIR = '/data/graphite/whisper'