I hereby claim:
- I am pathtolife on github.
- I am pathtolife (https://keybase.io/pathtolife) on keybase.
- I have a public key ASBsiNP1uZTiTFgBRHoHJ6uJ2Jw-y_xWahcJUrtTV--Dawo
To claim this, I am signing this object:
| document.body.appendChild(document.querySelector(".markdown-body"));document.querySelector("header").remove();document.querySelector(".application-main").remove();document.querySelector("footer").remove();window.print(); |
| // Run individually in console to not trigger redirect | |
| $('.article-offer').style.display='none'; | |
| $$('.GIZOHyucobDOBz').forEach(e => e.style.display='block'); | |
| $$('.GIZOHyucobDOBz').forEach(e => e.style.opacity='1'); | |
| $$('.GIZOHyucobDOBz').forEach(e => e.style.color='black'); |
| import os | |
| from typing import List | |
| import shutil | |
| dirs = os.listdir(os.getcwd()) | |
| srtpaths = [x for x in dirs if x[-4:] == '.srt'] | |
| class SrtLine: | |
| num: int | |
| timeStr: str |
| import os | |
| # https://gist.github.com/PathToLife/0669d9fe89a70d43f52edcccc0531c03 | |
| # cleans anime file and folder names | |
| # OLD: [Something] Some Anime [1080p].mkv | |
| # NEW: Some Anime [1080p].mkv | |
| def clean_name(name): | |
| name = name.strip() | |
| import os | |
| import requests | |
| from time import time as timer | |
| from typing import List, Tuple | |
| from multiprocessing.pool import ThreadPool | |
| import shutil | |
| def download_file(entry: Tuple[str, str]): | |
| path, uri = entry |
| // paste in chrome devtools console | |
| $('.css-mcm29f').style.overflowY = 'scroll'; | |
| $('.css-1bd8bfl').style.display = 'none'; | |
| $('#gateway-content').style.display = 'none'; |
I hereby claim:
To claim this, I am signing this object:
| /* | |
| * Run these commands in the directory that will be exposed to the network: | |
| * $optional: wget "http://gist raw of this js file" | |
| * $npm i serve-static serve-index finalhandler ip | |
| * $node fileserver.js | |
| */ | |
| var http = require('http'), | |
| fs = require('fs'), | |
| util = require('util'), | |
| url = require('url'), |