This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import express from 'express' | |
import fs from 'fs' | |
import path, { dirname } from 'path' | |
import { fileURLToPath } from 'url' | |
import { Impit } from 'impit' | |
const impit = new Impit({ | |
browser: 'chrome', | |
ignoreTlsErrors: true, | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import argparse | |
import os | |
import os.path as path | |
import shutil | |
parser = argparse.ArgumentParser() | |
parser.add_argument('gallery_path') | |
parser.add_argument('output_path') | |
args = parser.parse_args() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Hentaiverse Monsterbation | |
// @namespace hvmonsterbate | |
// @version 1.4.1.1 | |
// @description M-M-M-MONSTERBATE!! | |
// @match *://*.hentaiverse.org/* | |
// @exclude *hentaiverse.org/equip/* | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
set -o pipefail # without this line the script messed up everything | |
ssh_host="root@server" | |
# must have a trailing slash | |
ssh_host_seed_dir="/var/lib/qbittorrent/downloads/incomplete/" | |
if [[ -z "$1" ]]; then | |
echo "$0: missing url" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from time import time | |
from textwrap import fill | |
from pywikibot import Site, Page, warning | |
from pywikibot.bot import SingleSiteBot, ExistingPageBot, NoRedirectPageBot | |
from pywikibot.editor import TextEditor | |
class ReferenceFixer( |