This has been moved to github.com/kasparsd/wp-docs-md →
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
| #!/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` として保存します。 |
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
| # 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 |
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
| { | |
| "DistributionConfig": { | |
| "Comment": "", | |
| "CacheBehaviors": { | |
| "Items": [ | |
| { | |
| "TrustedSigners": { | |
| "Enabled": false, | |
| "Quantity": 0 | |
| }, |
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
| <?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ファイルの指定 |