Skip to content

Instantly share code, notes, and snippets.

View AtsushiA's full-sized avatar

Atsushi Ando AtsushiA

View GitHub Profile
@fumikito
fumikito / local-wp.sh
Created September 16, 2025 06:08
Local by FlyWheelのWordPressサイト(Docker)に生成AIが直接アクセスできるようにするCLIのショートハンドスクリプト
#!/usr/bin/env bash
# local-wp — Run commands inside a Local by Flywheel site shell non-interactively.
#
# About:
# このシェルスクリプトはClaude Codeなどの生成AIツールがLocalのDocker内でCLIコマンドを実行するためのヘルパースクリプトです。
# CLAUDE.mdなどに書いておくと、Vibe Codingが捗ります。
# ChatGPT 5と一緒に作りました。
#
# Installation:
# 1. パスの通った場所にインストールしてください。たとえば、 `~/bin/local-wp` として保存します。
@kasparsd
kasparsd / readme.md
Last active June 13, 2025 14:26
WordPress handbooks as a single markdown file for LLMs (source https://developer.wordpress.org)
@mt8
mt8 / memo.sh
Last active July 12, 2022 02:19
Homebrewでインストールしたterraformを任意のバージョンに戻す🍺
# terraformのGitコミットログを確認
$ brew log terraform
Warning: homebrew/core is a shallow clone so only partial output will be shown.
To get a full clone run:
git -C "$(brew --repo homebrew/core)" fetch --unshallow
commit 74f8f0f9c5cd3703dd36031cfada22e721b244e5
Author: BrewTestBot <[email protected]>
Date: Tue Jun 4 19:00:44 2019 +0000
@wokamoto
wokamoto / cloudfront-input.json
Last active April 8, 2016 07:43
[AWS][WordPress] WordPress 用 CloudFront 設定サンプル
{
"DistributionConfig": {
"Comment": "",
"CacheBehaviors": {
"Items": [
{
"TrustedSigners": {
"Enabled": false,
"Quantity": 0
},
@hissy
hissy / backlog-deploy.php
Last active April 11, 2023 02:04
Git Webhookを使ったCPIへのデプロイスクリプト
<?php
// CPIユーザーID(契約情報で確認してください)
$user_id = 'abc123defg';
// リポジトリ名(Backlogで確認してください)
$repo_name = 'repository_name';
// Gitレポジトリの位置の指定
$git_dir = '/usr/home/' . $user_id . '/' . $repo_name . '.git';
// 展開先ディレクトリの指定
$work_tree = '/usr/home/' . $user_id . '/html';
// logファイルの指定