| Timeline of Black MIDI Comparison Block | |||
|---|---|---|---|
| Previous | |||
| Timeline of Black MIDI Comparison Block | |||
|---|---|---|---|
| Previous | |||
| javascript:fetch('https://touhoudb.com/api/songs/findDuplicate?pv[]='+document.location).then((t=>t.json())).then((t=>{t.matches.length>0&&(document.location='https://touhoudb.com/S/'+t.matches[0].entry.id)})); |
This script rips (protected/view-only) PDFs from Google Drive by copying all the page images provided by Google Drive, and then put it on a PDF. It is a ripper (not a downloader) because it does not download the PDF file directly, and it involves some sort of conversion (PDF > images > PDF).
This script is based on https://gist.github.com/dpaluy/74258794f7930401cc27262e0ea794dd and https://gist.github.com/cirippo/86edfbddc3125eb64ee4b2d8faa52caa, with updates made since I was quite bored, and didn't want to adjust parts of the code to my own when I'm using it.
- Uses latest jsPDF version and modern JavaScript techniques
- Supports Trusted Types API (for Google Chrome/Chromium users)
-
Convert from template literal format.
Find:
chalk`(.*)\{([a-z]+) (.+)\}
Replace:$1${chalk.$2(`$3`)}
sed syntax:s/chalk`(.*)\{([a-z]+) (.+)\}/$1${chalk.$2(`$3`)}/g -
Convert
chalk.foo(`${bar}`)tochalk.foo(bar).Find:
\(`\$\{([^`{}]+)\}`\)
Replace:($1)
Assalamualaikum warahmatullahi wabarakatuh.
Ada yang mengatakan bahwa komunis di negara lain sudah tidak eksis lagi, jadi dia juga mungkin beranggapan di Indonesia tidak eksis lagi. Matamu picek. Justru kewaspadaan perlu diterapkan sedini mungkin. Matamu picek! Matamu picek. Jangan selalu bilang ke negara lain tidak eksis lagi.
Justru harus kamu jaga di negara ini jangan sampai penghianatan itu kembali lagi di Indonesia. Ingat, darah keturunan PKI akan tetap mengalir kepada anak cucunya dia akan tetap menjadi penghianat. Bohong kalau tidak kamu. Picek yang mengatakan bahwa [di] negara lain tidak eksis lagi. Picek! Picek! Matamu picek!
Wassalamualaikum warohmatullohi wabarokatuh.
| Timeline of Black MIDI Comparison Block | |||
|---|---|---|---|
| Previous | |||
| import os | |
| import json | |
| import praw | |
| import subprocess | |
| # Run gallery-dl, get first 10 since a gallery can have at least 10 | |
| # subprocess.run(["gallery-dl", "--range", "1-10", "--write-metadata", "-D", "fetch", "https://instagram.com/glitch_prod"]) | |
| print("Done fetching") |
Scraped canvas images of 2023 edition of r/place, mainly for usage on The 2023 r/place Atlas.
Scraper provided by Alex Tsernoh: https://github.com/ProstoSanja/place-2022
Adjusted scraper: https://github.com/placeAtlas/place-scraper
- images2_alex
Scraped by Alex Tsernoh (https://github.com/ProstoSanja).
r/place of 2023 is underway! We will be active managing the Atlas, primarily updating the canvas, while accepting submission from time to time, depending on availability.
This just an abstract period that we made. This does not mean we don't accept submissions after this Discord event is over.
Speculated end date of r/place based on the event made on the Google Play page of the app. (+ 30 minutes for canvas addition)
Overview: https://discord.com/channels/960791635342524496/961502799579983932/1131277338496217188