Skip to content

Instantly share code, notes, and snippets.

View stepney141's full-sized avatar

stepney141 stepney141

View GitHub Profile
@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();
@stepney141
stepney141 / .env
Last active September 26, 2023 07:58
履修ポチポチ楽しい!
LOYOLA_ID=A1234567
LOYOLA_PASSWORD=password
@stepney141
stepney141 / BookmarkAPI_en.md
Last active April 4, 2023 01:45
(DEPRECATED) Twitter Undocumented Endpoints for Bookmark
@stepney141
stepney141 / calc_weather.md
Last active January 13, 2023 05:53
関数電卓を使った天気予報 (改訂版)

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:

  • universal
  • cross-platform
  • easy to implement games

The current version of Dagaz (v1.3.5) is based on Zillions of Games the general game playing software, but Dagaz has much wider flexibility. Dagaz makes it possible to develop abstract games that it is hard to implement even with Zillions of Games! In order to help your rapid development, we provide a special Java utility named "Z2J". It loads game descriptions written in Zillions Rules File format and converts them into JavaScript/HTML files that Dagaz understands. This transpiling system will be deprecated in future updates so that you will be able to start writing your own games directly in JavaScript.

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());
}

話題のゲーム『Rust』のレビュー

原文:https://llogiq.github.io/2019/06/07/game.html
この翻訳は、原文と同じくパブリックドメインです。


この文章について:/r/rustのモデレータをやっていると、同名のゲームのための場所だと勘違いしてやってくる人をよく見かけます。そこでネタとしてこんなものを書いてみました。

"Rust"というゲームは、よりにもよってMozillaとかいう名前のメーカーが4年もかけて作っていて、

#!/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://{}" ';'