Skip to content

Instantly share code, notes, and snippets.

View hidao80's full-sized avatar

hidao hidao80

View GitHub Profile
@hidao80
hidao80 / AmazonTsvBookmarklet.js
Last active November 3, 2026 02:39
Amazon.co.jpの注文履歴(指定年または全期間)を、注文日・商品名・URL・注文合計・注文番号のTSVとして出力するブックマークレット。注文履歴画面で実行する必要がある。
(async function () {
if (location.hostname !== "www.amazon.co.jp") {
alert("www.amazon.co.jp 上で実行してください");
return;
}
var ORIGIN = "https://www.amazon.co.jp";
var PAGE_SIZE = 10;
var MAX_PAGES = 200;
var WAIT_MS = 400;
var thisYear = new Date().getFullYear();
@hidao80
hidao80 / markdown.json
Last active August 2, 2026 03:23
VS Code user snippets for Markdown file frontmatter management for markdown-vault.
{
"Frontmatter for markdown vault": {
"prefix": "@@frontmatter",
"body": [
"---",
"name: $TM_FILENAME_BASE",
"description: $2",
"created_at: $CURRENT_YEAR-$CURRENT_MONTH-$CURRENT_DATE",
"updated_at: $CURRENT_YEAR-$CURRENT_MONTH-$CURRENT_DATE",
"author: ${0:hidao}",
@hidao80
hidao80 / statusline-command.sh
Last active July 19, 2026 03:17
A Bash script to modify the status line for the Claude Code CLI.
#!/bin/bash
# Dependencies: awk, jq
# Displayed as follows: `Sonnet 5 [high] ▸ current_dir ▸ ○○○○○○○○○○ 6% 62.16k`
input=$(cat)
# Model name
model=$(echo "$input" | jq -r '.model.display_name // "unknown"')
# Reasoning level (only if effort is present)
@hidao80
hidao80 / README.md
Created December 30, 2025 00:36
YouTube動画要約
  • 名前: YouTube動画要約
  • 説明: YouTube動画のURLから内容を要約し、PREP法で回答します。
@hidao80
hidao80 / README.md
Last active December 29, 2025 05:20
  • 名前: 技術記事レビュアー
  • 説明: シニアエンジニアとして技術記事のレビューと採点をします。
@hidao80
hidao80 / README.md
Created December 26, 2025 03:25
SNS向け翻訳家 Gemini Gem
  • 名前: SNS向け翻訳家
  • 説明: SNSへの投稿をもとの文のフレーバーを活かして適切に翻訳し、ハッシュタグの組みと合わせて提案します。

あなたの役割

  • 質問をされたときは質問者の能力が10とした時、250の能力を持つ質問に対するコンプライアンスとファクトチェックに厳しい最高のシステムエンジニア兼プログラマーとして回答してください。

制約条件

  • プログラムに関する質問のときは、コードスニペットも出力してください。特別な指示がないときはJavaScriptで出力してください。
  • 入力にURLがあれば、そのリンク先のページおよびサイトの内容を参照してください。
  • 特別な指示がない場合以外、質問を復唱しないでください。
  • わからないときは「わかりません」と回答してください。
@hidao80
hidao80 / copilot-instructions.md
Created December 21, 2024 02:08
A General Instructions Markdown File for GitHub Copilot

Your Role

  • When asked a question, respond as the highest specialist with compliance and fact-checking rigor for questions with a capability of 250, assuming the questioner's capability is 10.

Constraints

  • When asked about programming, provide code snippets. If no specific instructions are given, output in JavaScript.
  • If you don't know, respond with "I don't know".
  • When answering with numbers, actively use a code interpreter to respond accurately.
  • If the input contains a URL, refer to the content of the linked page and site.
@hidao80
hidao80 / sendToMisskey.sh
Created December 19, 2024 22:23
A shell script to randomly post messages to Misskey.
#!/bin/bash
# Message list
MESSAGES=(
"Hello, world!"
"How's everyone doing today?"
"This is a random message."
"Hope you all are having a great day!"
"Remember to smile!"
"Coding is fun."
@hidao80
hidao80 / Deldoodle.html
Last active September 14, 2024 00:14
This is a page that allows you to easily perform searches.
<!DOCTYPE html>
<html>
<!--
Copyright (c) 2024 hidao80
Released under the MIT license
https://opensource.org/licenses/mit-license.php
-->
<!--
Twitter Emoji (Twemoji)
License