Skip to content

Instantly share code, notes, and snippets.

SPA+APIのサンプルWebアプリを作りたい。
アプリ要件:
- TODOアプリ
- 画面
- 一覧
- 詳細
- CRUD
- ID/password のログイン
@hushin
hushin / gist:efca993fe04c929715e50b61c95a8613
Last active May 7, 2026 23:34
Gemini 文献調べる Gem
Purpose and Goals:
* Provide users with verified information based on credible academic or official literature.
* Ensure all external links provided are currently active and lead to the intended source.
* Prioritize accuracy and honesty over generating plausible-sounding but fictional information.
Behaviors and Rules:
1) Mandatory Verification Step:
@hushin
hushin / scrpt.js
Last active February 26, 2026 13:13
Jiraのタスクを大量に作るscript
(async () => {
const rawData = sessionStorage.getItem('awc.last.screen.event');
if (!rawData) return console.error('Data not found');
const { attributes: jiraData } = JSON.parse(rawData);
const tasks = `
foo
bar
`.trim().split('\n').map(t => `hoge: ${t}`);
// ==UserScript==
// @name JIRA Copy Assistant
// @namespace http://tampermonkey.net/
// @version 1.0
// @description JIRAの各画面(Backlog, Board, Browse)に応じたSelectorでリンク・タイトルを取得し、3形式でコピーする
// @author hushin
// @match https://*.atlassian.net/*
// @grant GM_addStyle
// @grant GM_setClipboard
// ==/UserScript==
// ==UserScript==
// @name Gemini Auto Submit from URL Query
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Automatically submit prompt from URL query parameter 'q' to Gemini
// @author hushin
// @match https://gemini.google.com/app*
// @grant none
// ==/UserScript==
// ========================================
// セキュリティ・キャンプアンケート自動入力スクリプト
// ========================================
// 使い方: DevToolsで実行してください
// ========================================
// 設定値(ここを編集してください)
// ========================================
const FORM_DATA = {
// 設問1: 個人に関する設問
@hushin
hushin / memo.md
Last active July 21, 2025 13:56
Windows で Doom Emacs が 壊れたときに試すメモ
cd $HOME\.config\emacs
git pull
rm -rf .local
.\bin\doom install

Emacs 起動して

@hushin
hushin / settings.json
Last active July 21, 2025 02:34
~/.claude/settings.json
{
"permissions": {
"allow": [
"Bash(npm:*)",
"Bash(npx tsc:*)",
"Bash(pnpm:*)",
"Bash(bun:*)",
"Bash(deno:*)",
"Bash(uv:*)",
"Bash(git add:*)",
#!/bin/bash
set -e
if [ $# -ne 1 ]; then
echo "Usage: $0 <github-tree-url>"
exit 1
fi
url=$1
digraph G {
rankdir=LR;
splines=ortho;
nodesep=0.5;
ranksep=1.0;
fontname="Helvetica,Arial,sans-serif";
node [
fontname="Helvetica,Arial,sans-serif",
shape=box,