This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"creativity" : "low", | |
"highlightEdits" : false, | |
"icon" : "globe-01", | |
"model" : "anthropic-claude-sonnet-4", | |
"prompt" : "You are an elite technical writer and multilingual linguist specializing in distilling webpages for a tech-savvy audience in Japan. Produce a concise, comprehensive, engaging, and accurate summary of the webpage below for inclusion in a curated Japanese tech newsletter.\n\n## Source\n\nUse only this content; do not browse or rely on prior knowledge:\n\n<webpage>\n{browser-tab}\n<\/webpage>\n\n## Task\n\n1. Read the entire content carefully. Identify the main theme, key claims, evidence\/data, scope, audience, and any timelines, pricing, availability, limitations, or risks.\n2. Extract and write the following elements:\n - Headline: Page title and URL of the original webpage (for the headline section), formatted as a Markdown link `[Title](URL)`. The URL must not include a query string or a fragment.\n - Overview: 2–3 sentences covering the most important informa |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"creativity" : "medium", | |
"icon" : "person", | |
"instructions" : "- Prefer a structured, machine-readable style; no fancy emojis or decorations.\n- Insert a half-width space between Latin letters (A–Z, a–z) and adjacent CJK characters on either side, except for symbols and punctuation.\n- Insert a half-width space between Arabic numerals (0–9) and adjacent CJK characters on either side, except for symbols and punctuation.\n- Use a trailing prolonged sound mark (ー) when transcribing loanwords into katakana (e.g., コンピューター not コンピュータ) except for established short forms.\n- Be direct and honest while acknowledging uncertainty when appropriate.\n- When uncertain, state limitations explicitly.\n- Take a forward-thinking view.\n- Express clear positions with supporting rationale.\n- Prioritize actionable solutions over theoretical discussions.\n- Be innovative and think outside the box.\n- Provide evidence or reasoning for claims.\n- Adapt technical depth to user's apparent expertise level.\n- Clarify |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"description": "Change left_command/right_command pressed alone to japanese_eisuu/japanese_kana, respectively.", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "left_command", | |
"modifiers": { "optional": ["any"] } | |
}, | |
"to": [{ "key_code": "left_command" }], | |
"to_if_alone": [{ "key_code": "japanese_eisuu" }], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
^(?<type>build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(?<scope>\([\w\-]+(?:[,\/\\] [\w\-]+)*\))?!?: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import plugin from 'tailwindcss/plugin'; | |
/** | |
* 参照: https://piccalil.li/tutorial/create-a-responsive-grid-layout-with-no-media-queries-using-css-grid/ | |
*/ | |
const autoGrid = plugin( | |
({ addComponents, matchComponents, theme }) => { | |
matchComponents( | |
{ | |
'auto-grid': (value) => ({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
// 参照: https://tama-san.com/resolve-kanji/ | |
const table = { | |
'⺃': '乚', | |
'⺅': '亻', | |
'⺇': '𠘨', | |
'⺉': '刂', | |
'⺋': '㔾', | |
'⺍': '𭕄', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function () { const load = async () => { await new Promise((resolve, reject) => { const button = document.querySelector('.ajax-pagination-btn'); if (!button) { reject(); return; } button.click(); (function loop() { if (button.disabled) { setTimeout(loop, 200); } else { resolve(); } })(); }); }; document.scrollingElement.scrollIntoView(false); (function loop() { load().then(() => { loop(); }).catch(() => { for (const el of document.querySelectorAll('#dashboard .js-details-target')) el.ariaExpanded === 'false' && el.click(); }).finally(() => { document.scrollingElement.scrollIntoView(false); }); })(); })(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: (function () {const settingsButton = document.querySelector('[data-testid="room-header_room-settings-button"]',);const unreadRooms = document.querySelectorAll('#RoomList [role="listitem"]:has(._unreadBadge)',);let currentUnreadRoomIndex = 0;const handleHashChange = () => {settingsButton.click();Array.from(document.querySelector('[role="menu"]').children).find((item) => item.textContent.includes('メッセージをすべて既読にする')).click();if (currentUnreadRoomIndex < unreadRooms.length) {unreadRooms[currentUnreadRoomIndex].click();currentUnreadRoomIndex += 1;} else {window.removeEventListener('hashchange', handleHashChange);}};window.addEventListener('hashchange', handleHashChange);handleHashChange();})(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stages: | |
- main | |
renovate: | |
stage: main | |
image: node:alpine | |
variables: | |
RENOVATE_PLATFORM: gitlab | |
RENOVATE_ENDPOINT: https://gitlab.example.com/api/v4 | |
RENOVATE_TOKEN: $RENOVATE_TOKEN |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
. "$(dirname "$0")/_/husky.sh" | |
COMMIT_MSG_FILE=$1 | |
STAGED_FILES=$(git diff --cached --name-only) | |
PATTERN='package-lock.json' | |
MESSAGE='Please rerun `npm install`' | |
if echo "$STAGED_FILES" | grep --quiet --line-regexp --max-count 1 "$PATTERN"; then |
NewerOlder