diff --git a/ai/claude.md b/ai/claude.md new file mode 100644 index 0000000..c9d4b66 --- /dev/null +++ b/ai/claude.md @@ -0,0 +1,54 @@ +# Claude Code + +Claude Code is Anthropic's official agentic coding tool that lives in your terminal and IDE. + +## Installation + +### Standalone (Terminal) + +**Prerequisites:** +- Node.js 18+ + +**Option 1: npm (Recommended)** +```bash +npm install -g @anthropic-ai/claude-code +``` + +**Option 2: Homebrew (macOS/Linux)** +```bash +brew install claude-code +``` + +**First Run:** +```bash +claude +``` + +On first launch, you'll be prompted to authenticate with your Anthropic account. + +### VSCode Extension + +1. Open VSCode +2. Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X) +3. Search for "Claude Code" +4. Click **Install** on the official Anthropic extension +5. After installation, open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P) +6. Run `Claude Code: Open` + +Alternatively, install from the terminal: +```bash +code --install-extension anthropic.claude-code +``` + +## Authentication + +Claude Code requires an Anthropic account. On first use: +1. Run `claude` in terminal or open Claude Code in VSCode +2. Follow the browser authentication flow +3. Your session will be saved for future use + +## Usage + +- **Terminal:** Run `claude` to start an interactive session +- **VSCode:** Use the Claude Code panel or Command Palette commands +- **Help:** Run `claude --help` or type `/help` in a session diff --git a/ai/copilot.md b/ai/copilot.md new file mode 100644 index 0000000..cf69c50 --- /dev/null +++ b/ai/copilot.md @@ -0,0 +1,54 @@ +# GitHub Copilot + +GitHub Copilot is GitHub's AI-powered coding assistant. + +## Installation + +### Prerequisites + +**Subscription:** Ensure you have one of the following: +- GitHub Copilot Individual subscription +- GitHub Copilot Business (via organization) +- GitHub Copilot Enterprise (via organization) +- GitHub Copilot Free (limited features) + +### VSCode Extension + +1. **Install Extension:** + - Open VSCode + - Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X) + - Search for "GitHub Copilot" + - Click **Install** + + Alternatively, install from the terminal: + ```bash + code --install-extension GitHub.copilot + ``` + +2. **Install Copilot Chat (Recommended):** + - Search for "GitHub Copilot Chat" in Extensions + - Click **Install** + + Or via terminal: + ```bash + code --install-extension GitHub.copilot-chat + ``` + +3. **Sign In:** + - Click the Copilot icon in the status bar + - Follow the GitHub authentication flow + - Authorize the extension + +### Agent Mode + +To enable Copilot's agent mode for multi-step tasks: +1. Open VSCode Settings (Ctrl+, / Cmd+,) +2. Search for "Copilot Agent" +3. Enable agent mode features + +## Usage + +- **Inline Completions:** Start typing and Copilot suggests code +- **Chat:** Open Copilot Chat panel (Ctrl+Shift+I / Cmd+Shift+I) +- **Inline Chat:** Select code and press Ctrl+I / Cmd+I +- **Agent Mode:** Use `@workspace` in chat for multi-file tasks diff --git a/ai/gemini.md b/ai/gemini.md new file mode 100644 index 0000000..e4dee6b --- /dev/null +++ b/ai/gemini.md @@ -0,0 +1,43 @@ +# Gemini Code Assist + +Gemini Code Assist is Google's AI-powered coding assistant for VS Code. + +## Installation - "Most Features" Version + +### Prerequisites + +**Subscription:** Ensure you have one of the following: +- Gemini for Google Cloud license (Enterprise is best for private repos) +- Google AI Pro subscription + +### Setup Steps + +1. **Install Extension:** + Download the Gemini Code Assist extension from the VS Code Marketplace. + - Open VSCode + - Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X) + - Search for "Gemini Code Assist" + - Click **Install** + +2. **Enable Agent Mode:** + - Open VSCode Settings (Ctrl+, / Cmd+,) + - Search for "Gemini Agent Mode" + - Toggle **"Enable Agent Mode (Preview/GA)"** to enabled + +3. **Install Gemini CLI:** + In your integrated terminal, run: + ```bash + npm install -g @google/gemini-cli + ``` + + Then link it to your VS Code: + ```bash + /ide install + ``` + +## Usage + +Once configured, Gemini Code Assist provides: +- Code completions and suggestions +- Agent mode for multi-step coding tasks +- Integration with Google Cloud services diff --git a/img/obs_screen_config.png b/img/obs_screen_config.png new file mode 100755 index 0000000..c4c840c Binary files /dev/null and b/img/obs_screen_config.png differ diff --git a/minsc/Laptop_display_resolution.md b/minsc/Laptop_display_resolution.md new file mode 100644 index 0000000..f5fdb00 --- /dev/null +++ b/minsc/Laptop_display_resolution.md @@ -0,0 +1,28 @@ +# Laptop display resolution + +## Standard + +1. Right-click your Desktop > Display Settings. +2. In Display Resolution, change it to a 16:9 option like 2560x1440 (1440p) or 3840x2160 (4K). +3. If 4K doesn't show up, click Advanced display settings > Display adapter properties > List All Modes to see every resolution your GPU can handle. + +## GPU Scaling + +If your laptop doesn't natively show "3840x2160" in the settings, use your GPU to force it. + +On an MSI laptop, enable "Discrete Graphics Mode" (MUX Switch): + +1. Launch MSI Center: Ensure you have the latest version installed. +2. Navigate to Features: Go to Features > User Scenario. +3. Select Graphics Mode: Look for the GPU Switch or Graphics Mode section. +4. Choose Discrete Graphics Mode: Select this mode and click OK. +5. Restart: Your laptop must restart for this change to take effect + +Now force 4K Resolution: + +1. Open NVIDIA Control Panel > Manage 3D Settings. +2. Find `DSR - Factors` and check 2.25x DL (for AI-enhanced 4K). +3. Apply this, then go back to Windows Display Settings—4K will now appear as an option. + +*NOTE: In the laptop MSI Stealth A16 AI+, 4K is 3800x2400 (16:10), instead of the standard 3840x2160 (16:9).* + diff --git a/minsc/Screen_recording.md b/minsc/Screen_recording.md new file mode 100644 index 0000000..d2f12d5 --- /dev/null +++ b/minsc/Screen_recording.md @@ -0,0 +1,99 @@ +# Screen recording + +## OBS + +### Installation + +**Windows:** +1. Download OBS Studio from [obsproject.com](https://obsproject.com) +2. Run the installer and follow the prompts +3. Launch OBS and complete the auto-configuration wizard + +**Alternative (winget):** +```bash +winget install OBSProject.OBSStudio +``` + +### 4K Recording Setup with NVIDIA DSR + +To record in 4K on a laptop display, use NVIDIA's Deep Learning Super Resolution. + +#### Step 1: Enable NVIDIA DSR + +1. Right-click desktop → **NVIDIA Control Panel** +2. Go to **Manage 3D settings** → **Global Settings** +3. Find **DSR - Factors** +4. Check **2.25x DL (3840 x 2400)** + - "DL" = Deep Learning - uses AI-powered scaling with ~half the performance cost of legacy DSR +5. Click **OK** +6. Click **Apply** in the main window + +#### Step 2: Configure OBS for 4K Output + +1. Open OBS Studio +2. Go to **Settings** → **Video** +3. Configure the following: + +| Setting | Value | +|---------|-------| +| Base (Canvas) Resolution | 3840x2160 (16:9 for YouTube) | +| Output (Scaled) Resolution | 3840x2160 (16:9 for YouTube) | +| Downscale Filter | Lanczos | +| FPS | 60 | + +*NOTE: If the resolution 3840x2160 doesn't appear, just add it manually.* + +4. Click **Apply** → **OK** + +#### Step 3: Recording Settings (Recommended) + +1. Go to **Settings** → **Output** +2. Set Output Mode to **Advanced** +3. Under **Recording** tab: + - Encoder: NVIDIA NVENC H.264 (or HEVC for smaller files) + - Rate Control: CQP + - CQ Level: 18-20 (lower = better quality, larger files) + +4. Click **Apply** → **OK** + +### Create Three Scenes + +In OBS, you'll create a scene for each recording mode: + +#### Scene 1: Screen Only + +- Click + under Scenes, name it "Screen Only" +- Add source → Display Capture (or Game Capture if recording games) +- The 16:9 Alignment (Precision Method): + - Press Ctrl + E to open the Edit Transform window. + - Set Bounding Box Type to No bounding box. + - Set Size to 3840 x 2400. + - Set Position Y to -112.0000 px. This hides the top browser tabs and aligns the stripe above your taskbar perfectly with the bottom of the frame. +- Your Rode mic will automatically be included from global settings. + +
+
+