Skip to content

Instantly share code, notes, and snippets.

View juno's full-sized avatar
🏠
Working from home

Junya Ogura juno

🏠
Working from home
View GitHub Profile
@juno
juno / SKILL.md
Created July 16, 2026 07:22 — forked from k16shikano/SKILL.md
cognitive-rhythm-writing/SKILL.md
name cognitive-rhythm-writing
description 説明的な文章に緩急を設計するための規範。緩急を装飾ではなく認知モードの切替(観察→逡巡→断定→再観察)と未回収の緊張の管理として扱い、文の拍、段落の密度波形、節の入り方、緩みと駄文の判別、執筆後の機械的な点検手順を定める。読み物として読ませたい章・記事・解説文を生成するとき、または「密度はあるが平坦でおもしろくない」文章を診断・修正するときに使用する。

認知リズムを生むための日本語ライティング規範

密度の高い文章が退屈になるのは、情報が多いからではなく、全文が同じ認知モードで書かれているからである。 この規範は、読者の認知モード(観察する、迷う、確信する、確かめ直す)を意図的に切り替え、常に「続きを読む理由」を維持することで、読み進める推進力を作る。

@juno
juno / script.sh
Last active April 11, 2026 02:21
Hatchbox.io Post Deploy Script for New Relic Releases
# --- Configuration ---
# If these are defined in Hatchbox Environment Variables, keep the variable names as is.
# Otherwise, replace them with your actual strings (e.g., "NRAK-...").
NR_API_KEY="${NEW_RELIC_API_KEY}"
NR_ENTITY_GUID="${NEW_RELIC_ENTITY_GUID}"
# 1. Get version information (Use REVISION file if available, otherwise use timestamp)
DEPLOY_VERSION=$(cat REVISION 2>/dev/null || date +%Y%m%d-%H%M%S)
# 2. Build GraphQL query
@juno
juno / stack.md
Created April 8, 2026 07:33
My web app stack

My web app stack

Backend

  • Ruby on Rails
  • PostgreSQL (public app), SQLite (in-house app)
  • authentication_zero for User authentication

Deployment

@juno
juno / README.md
Last active June 22, 2025 04:37
claude-code-github-remote-mcp.md

Prerequisite

  • GitHub Personal Access Token with repository access permissions

Add GitHub Remote MCP server to Claude Code

  • Set your token in the Authorization header
  • The MCP server name should be "github"
@juno
juno / README.md
Last active June 16, 2022 01:24
💎 Update rubygems and bundler for all installed (via asdf) ruby versions.

Usage

$ asdf list ruby
  2.7.4
  2.7.5
  2.7.6
  3.0.3
  3.1.2
 3.2.0-preview1
@juno
juno / design-documents.md
Created July 5, 2020 11:15
Awesome design documents on internet.
@juno
juno / devdocs.json
Last active February 4, 2020 06:09
My exported preferences for DevDocs.
{
"analyticsConsentAsked": "1",
"hideIntro": "1",
"docs": "crystal~0.31/css/dom/dom_events/eslint/html/immutable/javascript/jest/jquery/pony/react/redis/ruby~2.6/rails~6.0/rails~5.2/rust/sass",
"hideDisabled": "1",
"tips": "KeyNav",
"analyticsConsent": "1",
"layout": "_max-width",
"theme": "auto"
}
@juno
juno / custom.json
Last active April 13, 2021 05:47
My Karabiner Elements configuration
{
"title": "My Customize for Dvorak",
"rules": [
{
"description": "Ctrl+i to Tab",
"manipulators": [
{
"description": "Dvorakでは物理キーgがiとなる",
"type": "basic",
"from": {
@juno
juno / 📊 Weekly development breakdown
Last active August 2, 2026 03:21
📊 Weekly development breakdown
Python 9 hrs 8 mins ████████░░░░░░░░░░░░░ 38.1%
Markdown 6 hrs 58 mins ██████░░░░░░░░░░░░░░░ 29.1%
TypeScript 5 hrs 10 mins ████▌░░░░░░░░░░░░░░░░ 21.6%
HTML 1 hr 31 mins █▎░░░░░░░░░░░░░░░░░░░ 6.4%
JSON 16 mins ▏░░░░░░░░░░░░░░░░░░░░ 1.1%
@juno
juno / circleci-config.yml
Created September 6, 2019 01:53
CircleCI config step to install bundler which compatible BUNDLED_WITH in Gemfile (workaround for bundler 2)
steps:
# ...
- run:
name: "Configure Bundler"
command: |
echo 'export BUNDLER_VERSION=$(cat Gemfile.lock | tail -1 | tr -d " ")' >> $BASH_ENV
source $BASH_ENV
gem install bundler