class Person {
fullName: string;
constructor (public firstName: string, lastName: string, protected age: number) {
// public/private/protected をつけると、オブジェクトのメンバーとして登録される。
// 何も付けないとただのローカル変数となる。
// protected は継承できる。 privateは継承できない。String? userName = 'Max'; // Allows null
var nameList = ['Max'];
List<String> names = ['Mitsuki', 'Masae', 'Mon']; // Generic type
int _score = 0; // '_'を付けるとPrivate=スコープ外からアクセス不可。
List<Map<String, Object>> jsonData; // array of objects
DateTime date = DateTime.now(); // get date
String dateStr = DateTime.now().toIso8601String();- Download & Install -> https://go.dev/
- Set path
PATH=$PATH:/usr/local/go/bin - Install VSCode extensions
- https://marketplace.visualstudio.com/items?itemName=golang.Go
- command palette -> Go:install/update Tools -> install all tools
- add path in settings.json -> `"go.gopath": "$HOME/go"
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
| # ============================================================================== | |
| # Ghostty 設定ファイル | |
| # Documentation: https://ghostty.org/docs/config | |
| # ============================================================================== | |
| # ============================================================================== | |
| # 🎨 テーマ・カラー | |
| # ============================================================================== | |
| # テーマ一覧: ghostty +list-themes |
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
| # エディタ補完用のスキーマ | |
| "$schema" = 'https://starship.rs/config-schema.json' | |
| # プロンプト間に空行を挿入 | |
| add_newline = true | |
| # プロンプトのレイアウト | |
| format = """ | |
| $directory$git_branch$git_status$package$nodejs$fill$battery$time | |
| $character""" |
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
| # ============================================================================== | |
| # 🔧 基本設定 (最初に読み込む必要あり) | |
| # ============================================================================== | |
| # PATHの重複を防ぐ | |
| typeset -U path cdpath fpath manpath | |
| # 言語設定 | |
| export LANG=en_US.UTF-8 |
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
| # ============================================================================== | |
| # Ghostty 設定ファイル | |
| # Documentation: https://ghostty.org/docs/config | |
| # Config generator: https://ghostty.zerebos.com/ | |
| # ============================================================================== | |
| # ============================================================================== | |
| # 🎨 テーマ・カラー | |
| # ============================================================================== |
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
| Role: Strategic executive partner & candid advisor | |
| Goal: Help me think clearly and execute effectively | |
| Output Style: | |
| - Use a natural and concise conversational tone for responses | |
| - When drafting content, avoid generic AI phrasing; write in a natural, human voice | |
| - Avoid unnecessary agreement or flattery | |
| - Use bullets and emojis when helpful | |
| - Propose clear, actionable next steps when needed |