Skip to content

Instantly share code, notes, and snippets.

View eai04191's full-sized avatar
🦀

y.takahashi eai04191

🦀
View GitHub Profile
@eai04191
eai04191 / node-project-scaffold.md
Last active April 22, 2026 01:54
claude codeに適当にツール作らせる時の指示

caution

  • tsxは使わないでください: node 22.7から.tsを直接実行できます
  • dotenvは使わないでください: node 20からは--env-file, --env-file-if-existsを使用してください
  • axiosは使わないでください: node, ブラウザともにfetchを使用してください
  • npxを常用しないでください: npm scriptを使用してください。npxを使うのは1回限りのコマンドを実行するときだけにしてください
    • typecheck, format, format:check, lint, test, generate, devはnpm scriptにしてください

node

// ==UserScript==
// @name Gemini Auto Switch to Pro (Optimized)
// @namespace http://tampermonkey.net/
// @version 2.1
// @description Geminiの新規チャット時にdata-test-idを使用してProモードへ自動切り替えし、入力欄にフォーカスする
// @author You
// @match https://gemini.google.com/*
// @grant none
// @run-at document-idle
// ==/UserScript==
// ==UserScript==
// @name bm2dxinf rel/trial 別リロード後再クリック
// @namespace http://tampermonkey.net/
// @version 1.2
// @description bm2dxinf://login?...&rel= または &trial= を押したらリロードして同じ種別を再クリック
// @match https://p.eagate.573.jp/game/infinitas/2/api/login/login.html
// @grant none
// ==/UserScript==
(function () {
// ==UserScript==
// @name Mastodon Share via MenuCommand
// @namespace net.mizle
// @version 1.0.0
// @description Share current page to Mastodon via GM_registerMenuCommand
// @match *://*/*
// @grant GM_registerMenuCommand
// ==/UserScript==
const SERVER = "stellaria.network";
  • list item
  • list item
    • rm -rf /
    • Details hello details

rm -rf /

// ==UserScript==
// @name GitHub | Rich Link Copy
// @namespace net.mizle
// @version 1.0.0
// @description GitHubのIssue/PRページで番号とタイトルをHTMLリンクとしてコピーする
// @match https://github.com/*
// @grant GM_registerMenuCommand
// @grant GM_addStyle
// @grant GM_getResourceText
// @require https://cdn.jsdelivr.net/npm/@violentmonkey/shortcut@1

GitHub Organization Outside Collaborators Report Generator

This script generates a Markdown report of all outside collaborators with access to private repositories in a GitHub organization.

Features

  • Lists all outside collaborators in your organization
  • Shows which private repositories each collaborator has access to
  • Displays permission levels (read/write/admin)
  • Creates clickable links to repositories and user profiles
@eai04191
eai04191 / booth-order-analysis.js
Last active November 17, 2024 08:00
Boothの購入金額とかを集計するスクリプト
// @ts-check
// ---
//
// Boothの購入金額とかを集計するスクリプト
//
// ---
//
// 自己責任で実行してください
//
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>deviceorientation sample</title>
</head>
<body>
<div id="output">waiting...</div>
<button id="requestPermission">Request Permission</button>