Skip to content

Instantly share code, notes, and snippets.

View stepney141's full-sized avatar

stepney141 stepney141

View GitHub Profile
#!/bin/bash
# ref: https://webapps.stackexchange.com/questions/115369/how-to-archive-the-whole-website
wget -m -nv -o logfile.txt $1
find . -name '*.htm' -or -name '*.html' -exec curl -v "https://web.archive.org/save/https://{}" ';'
import { getRandomValue } from "../src/zobrist.js";
import * as fs from 'fs/promises';
(async () => {
let list = [];
for (let i = 1; i <= 100000; i++) {
list.push(getRandomValue());
}
@stepney141
stepney141 / .env
Last active September 26, 2023 07:58
履修ポチポチ楽しい!
LOYOLA_ID=A1234567
LOYOLA_PASSWORD=password

Keybase proof

I hereby claim:

  • I am stepney141 on github.
  • I am stepney141 (https://keybase.io/stepney141) on keybase.
  • I have a public key ASCN5V3_SANf082_Fdrw0hS0LopFf2sBzpM4upmXps0VLAo

To claim this, I am signing this object:

@stepney141
stepney141 / clickcat.ts
Last active March 31, 2024 17:04
popcat.click を無限に自動クリックする(bot検知回避済み)
import { executablePath } from "puppeteer";
import puppeteer from "puppeteer-extra";
import AdblockerPlugin from "puppeteer-extra-plugin-adblocker";
import StealthPlugin from "puppeteer-extra-plugin-stealth";
import { sleep } from "./.libs/utils";
import type { ElementHandle } from "puppeteer";
const adblockerPlugin = AdblockerPlugin();