<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Notes on Clarence | Backend, AI, DevOps, Infrastructure</title>
    <link>https://clarence.tw/en/notes/</link>
    <description>Recent content in Notes on Clarence | Backend, AI, DevOps, Infrastructure</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Sat, 11 Jul 2026 00:00:00 +0800</lastBuildDate><atom:link href="https://clarence.tw/en/notes/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>AWS CDK Tips</title>
      <link>https://clarence.tw/en/notes/aws/cdk-tips/</link>
      <pubDate>Sat, 11 Jul 2026 00:00:00 +0800</pubDate>
      
      <guid>https://clarence.tw/en/notes/aws/cdk-tips/</guid>
      <description>&lt;section class=&#34;note-card &#34; aria-labelledby=&#34;note-section-version-and-safety-scope&#34;&gt;
  &lt;div class=&#34;item&#34;&gt;
    &lt;h2 class=&#34;note-title&#34; id=&#34;note-section-version-and-safety-scope&#34;&gt;&lt;span&gt;Version and safety scope&lt;/span&gt;&lt;/h2&gt;
    
      &lt;div class=&#34;card&#34;&gt;
        &lt;div class=&#34;card-body&#34;&gt;&lt;p&gt;&lt;strong&gt;Last reviewed: July 11, 2026&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This is a general command reference, not a version-pinned runbook. Check the installed version, current official documentation, and the target account, host, and path before use. Commands that deploy, destroy, delete, prune, sync, upgrade, or change system settings can cause cost, downtime, or data loss; preview changes and back up where appropriate.&lt;/p&gt;
&lt;/div&gt;
      &lt;/div&gt;
    
  &lt;/div&gt;
&lt;/section&gt;










&lt;section class=&#34;note-card &#34; aria-labelledby=&#34;note-section-daily-commands&#34;&gt;
  &lt;div class=&#34;item&#34;&gt;
    &lt;h2 class=&#34;note-title&#34; id=&#34;note-section-daily-commands&#34;&gt;&lt;span&gt;Daily commands&lt;/span&gt;&lt;/h2&gt;
    
      &lt;div class=&#34;card&#34;&gt;
        &lt;div class=&#34;card-body&#34;&gt;&lt;div class=&#34;code-shell&#34; data-code-shell&gt;
  &lt;div class=&#34;code-shell__toolbar&#34;&gt;
    &lt;span class=&#34;code-shell__language&#34; data-code-language&gt;BASH&lt;/span&gt;
    &lt;button
      class=&#34;code-shell__copy&#34;
      type=&#34;button&#34;
      data-copy-code
      data-copy-label=&#34;Copy&#34;
      data-copied-label=&#34;Copied&#34;
      data-copy-error-label=&#34;Copy failed&#34;
      aria-label=&#34;Copy&#34;
    &gt;
      &lt;i class=&#34;fa-regular fa-copy&#34; aria-hidden=&#34;true&#34;&gt;&lt;/i&gt;
      &lt;span data-copy-button-label&gt;Copy&lt;/span&gt;
    &lt;/button&gt;
  &lt;/div&gt;
  &lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#e6edf3;background-color:#0d1117;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;cdk init app --language typescript
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;cdk synth
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;cdk diff
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;cdk deploy
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;cdk deploy --all
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;cdk destroy&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
  &lt;span class=&#34;visually-hidden code-shell__status&#34; data-copy-status role=&#34;status&#34; aria-live=&#34;polite&#34; aria-atomic=&#34;true&#34;&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;p&gt;Run &lt;code&gt;cdk diff&lt;/code&gt; before deployment and keep environment-specific values out of construct code.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>AWS CLI Quick Reference</title>
      <link>https://clarence.tw/en/notes/aws/aws-cli/</link>
      <pubDate>Sat, 11 Jul 2026 00:00:00 +0800</pubDate>
      
      <guid>https://clarence.tw/en/notes/aws/aws-cli/</guid>
      <description>&lt;section class=&#34;note-card &#34; aria-labelledby=&#34;note-section-version-and-safety-scope&#34;&gt;
  &lt;div class=&#34;item&#34;&gt;
    &lt;h2 class=&#34;note-title&#34; id=&#34;note-section-version-and-safety-scope&#34;&gt;&lt;span&gt;Version and safety scope&lt;/span&gt;&lt;/h2&gt;
    
      &lt;div class=&#34;card&#34;&gt;
        &lt;div class=&#34;card-body&#34;&gt;&lt;p&gt;&lt;strong&gt;Last reviewed: July 11, 2026&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This is a general command reference, not a version-pinned runbook. Check the installed version, current official documentation, and the target account, host, and path before use. Commands that deploy, destroy, delete, prune, sync, upgrade, or change system settings can cause cost, downtime, or data loss; preview changes and back up where appropriate.&lt;/p&gt;
&lt;/div&gt;
      &lt;/div&gt;
    
  &lt;/div&gt;
&lt;/section&gt;










&lt;section class=&#34;note-card &#34; aria-labelledby=&#34;note-section-install-and-configure&#34;&gt;
  &lt;div class=&#34;item&#34;&gt;
    &lt;h2 class=&#34;note-title&#34; id=&#34;note-section-install-and-configure&#34;&gt;&lt;span&gt;Install and configure&lt;/span&gt;&lt;/h2&gt;
    
      &lt;div class=&#34;card&#34;&gt;
        &lt;div class=&#34;card-body&#34;&gt;&lt;div class=&#34;code-shell&#34; data-code-shell&gt;
  &lt;div class=&#34;code-shell__toolbar&#34;&gt;
    &lt;span class=&#34;code-shell__language&#34; data-code-language&gt;BASH&lt;/span&gt;
    &lt;button
      class=&#34;code-shell__copy&#34;
      type=&#34;button&#34;
      data-copy-code
      data-copy-label=&#34;Copy&#34;
      data-copied-label=&#34;Copied&#34;
      data-copy-error-label=&#34;Copy failed&#34;
      aria-label=&#34;Copy&#34;
    &gt;
      &lt;i class=&#34;fa-regular fa-copy&#34; aria-hidden=&#34;true&#34;&gt;&lt;/i&gt;
      &lt;span data-copy-button-label&gt;Copy&lt;/span&gt;
    &lt;/button&gt;
  &lt;/div&gt;
  &lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#e6edf3;background-color:#0d1117;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;brew install awscli
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;aws --version
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;aws configure
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;aws configure --profile production
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;aws configure list --profile production
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;aws sts get-caller-identity --profile production&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
  &lt;span class=&#34;visually-hidden code-shell__status&#34; data-copy-status role=&#34;status&#34; aria-live=&#34;polite&#34; aria-atomic=&#34;true&#34;&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;p&gt;Use named profiles for production or customer accounts. Avoid long-lived credentials in shell history or shared notes.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>macOS Administration Commands</title>
      <link>https://clarence.tw/en/notes/mac/launchpad/</link>
      <pubDate>Sat, 11 Jul 2026 00:00:00 +0800</pubDate>
      
      <guid>https://clarence.tw/en/notes/mac/launchpad/</guid>
      <description>&lt;section class=&#34;note-card &#34; aria-labelledby=&#34;note-section-version-and-safety-scope&#34;&gt;
  &lt;div class=&#34;item&#34;&gt;
    &lt;h2 class=&#34;note-title&#34; id=&#34;note-section-version-and-safety-scope&#34;&gt;&lt;span&gt;Version and safety scope&lt;/span&gt;&lt;/h2&gt;
    
      &lt;div class=&#34;card&#34;&gt;
        &lt;div class=&#34;card-body&#34;&gt;&lt;p&gt;&lt;strong&gt;Last reviewed: July 11, 2026&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This is a general command reference, not a version-pinned runbook. Check the installed version, current official documentation, and the target account, host, and path before use. Commands that deploy, destroy, delete, prune, sync, upgrade, or change system settings can cause cost, downtime, or data loss; preview changes and back up where appropriate.&lt;/p&gt;
&lt;/div&gt;
      &lt;/div&gt;
    
  &lt;/div&gt;
&lt;/section&gt;










&lt;section class=&#34;note-card &#34; aria-labelledby=&#34;note-section-launchpad-and-dock&#34;&gt;
  &lt;div class=&#34;item&#34;&gt;
    &lt;h2 class=&#34;note-title&#34; id=&#34;note-section-launchpad-and-dock&#34;&gt;&lt;span&gt;Launchpad and Dock&lt;/span&gt;&lt;/h2&gt;
    
      &lt;div class=&#34;card&#34;&gt;
        &lt;div class=&#34;card-body&#34;&gt;&lt;div class=&#34;code-shell&#34; data-code-shell&gt;
  &lt;div class=&#34;code-shell__toolbar&#34;&gt;
    &lt;span class=&#34;code-shell__language&#34; data-code-language&gt;BASH&lt;/span&gt;
    &lt;button
      class=&#34;code-shell__copy&#34;
      type=&#34;button&#34;
      data-copy-code
      data-copy-label=&#34;Copy&#34;
      data-copied-label=&#34;Copied&#34;
      data-copy-error-label=&#34;Copy failed&#34;
      aria-label=&#34;Copy&#34;
    &gt;
      &lt;i class=&#34;fa-regular fa-copy&#34; aria-hidden=&#34;true&#34;&gt;&lt;/i&gt;
      &lt;span data-copy-button-label&gt;Copy&lt;/span&gt;
    &lt;/button&gt;
  &lt;/div&gt;
  &lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#e6edf3;background-color:#0d1117;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;defaults write com.apple.dock ResetLaunchPad -bool true
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;killall Dock
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;defaults write com.apple.dock autohide -bool true
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;defaults write com.apple.dock tilesize -int &lt;span style=&#34;color:#a5d6ff&#34;&gt;50&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;killall Dock&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
  &lt;span class=&#34;visually-hidden code-shell__status&#34; data-copy-status role=&#34;status&#34; aria-live=&#34;polite&#34; aria-atomic=&#34;true&#34;&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;p&gt;Dock changes usually need &lt;code&gt;killall Dock&lt;/code&gt; before they appear.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Ollama Setup and Usage</title>
      <link>https://clarence.tw/en/notes/llm/ollama-setup/</link>
      <pubDate>Sat, 11 Jul 2026 00:00:00 +0800</pubDate>
      
      <guid>https://clarence.tw/en/notes/llm/ollama-setup/</guid>
      <description>&lt;section class=&#34;note-card &#34; aria-labelledby=&#34;note-section-version-and-safety-scope&#34;&gt;
  &lt;div class=&#34;item&#34;&gt;
    &lt;h2 class=&#34;note-title&#34; id=&#34;note-section-version-and-safety-scope&#34;&gt;&lt;span&gt;Version and safety scope&lt;/span&gt;&lt;/h2&gt;
    
      &lt;div class=&#34;card&#34;&gt;
        &lt;div class=&#34;card-body&#34;&gt;&lt;p&gt;&lt;strong&gt;Last reviewed: July 11, 2026&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This is a general command reference, not a version-pinned runbook. Check the installed version, current official documentation, and the target account, host, and path before use. Commands that deploy, destroy, delete, prune, sync, upgrade, or change system settings can cause cost, downtime, or data loss; preview changes and back up where appropriate.&lt;/p&gt;
&lt;/div&gt;
      &lt;/div&gt;
    
  &lt;/div&gt;
&lt;/section&gt;










&lt;section class=&#34;note-card &#34; aria-labelledby=&#34;note-section-install-and-run&#34;&gt;
  &lt;div class=&#34;item&#34;&gt;
    &lt;h2 class=&#34;note-title&#34; id=&#34;note-section-install-and-run&#34;&gt;&lt;span&gt;Install and run&lt;/span&gt;&lt;/h2&gt;
    
      &lt;div class=&#34;card&#34;&gt;
        &lt;div class=&#34;card-body&#34;&gt;&lt;div class=&#34;code-shell&#34; data-code-shell&gt;
  &lt;div class=&#34;code-shell__toolbar&#34;&gt;
    &lt;span class=&#34;code-shell__language&#34; data-code-language&gt;BASH&lt;/span&gt;
    &lt;button
      class=&#34;code-shell__copy&#34;
      type=&#34;button&#34;
      data-copy-code
      data-copy-label=&#34;Copy&#34;
      data-copied-label=&#34;Copied&#34;
      data-copy-error-label=&#34;Copy failed&#34;
      aria-label=&#34;Copy&#34;
    &gt;
      &lt;i class=&#34;fa-regular fa-copy&#34; aria-hidden=&#34;true&#34;&gt;&lt;/i&gt;
      &lt;span data-copy-button-label&gt;Copy&lt;/span&gt;
    &lt;/button&gt;
  &lt;/div&gt;
  &lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#e6edf3;background-color:#0d1117;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;curl -fsSL https://ollama.com/install.sh | sh
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ollama serve
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ollama pull gemma2:9b
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ollama pull llama3.1:8b
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ollama list&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
  &lt;span class=&#34;visually-hidden code-shell__status&#34; data-copy-status role=&#34;status&#34; aria-live=&#34;polite&#34; aria-atomic=&#34;true&#34;&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;p&gt;Use smaller models first when testing prompts, then move to larger models after the workflow is stable.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Package Management Commands</title>
      <link>https://clarence.tw/en/notes/system/package-management/</link>
      <pubDate>Sat, 11 Jul 2026 00:00:00 +0800</pubDate>
      
      <guid>https://clarence.tw/en/notes/system/package-management/</guid>
      <description>&lt;section class=&#34;note-card &#34; aria-labelledby=&#34;note-section-version-and-safety-scope&#34;&gt;
  &lt;div class=&#34;item&#34;&gt;
    &lt;h2 class=&#34;note-title&#34; id=&#34;note-section-version-and-safety-scope&#34;&gt;&lt;span&gt;Version and safety scope&lt;/span&gt;&lt;/h2&gt;
    
      &lt;div class=&#34;card&#34;&gt;
        &lt;div class=&#34;card-body&#34;&gt;&lt;p&gt;&lt;strong&gt;Last reviewed: July 11, 2026&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This is a general command reference, not a version-pinned runbook. Check the installed version, current official documentation, and the target account, host, and path before use. Commands that deploy, destroy, delete, prune, sync, upgrade, or change system settings can cause cost, downtime, or data loss; preview changes and back up where appropriate.&lt;/p&gt;
&lt;/div&gt;
      &lt;/div&gt;
    
  &lt;/div&gt;
&lt;/section&gt;










&lt;section class=&#34;note-card &#34; aria-labelledby=&#34;note-section-homebrew&#34;&gt;
  &lt;div class=&#34;item&#34;&gt;
    &lt;h2 class=&#34;note-title&#34; id=&#34;note-section-homebrew&#34;&gt;&lt;span&gt;Homebrew&lt;/span&gt;&lt;/h2&gt;
    
      &lt;div class=&#34;card&#34;&gt;
        &lt;div class=&#34;card-body&#34;&gt;&lt;div class=&#34;code-shell&#34; data-code-shell&gt;
  &lt;div class=&#34;code-shell__toolbar&#34;&gt;
    &lt;span class=&#34;code-shell__language&#34; data-code-language&gt;BASH&lt;/span&gt;
    &lt;button
      class=&#34;code-shell__copy&#34;
      type=&#34;button&#34;
      data-copy-code
      data-copy-label=&#34;Copy&#34;
      data-copied-label=&#34;Copied&#34;
      data-copy-error-label=&#34;Copy failed&#34;
      aria-label=&#34;Copy&#34;
    &gt;
      &lt;i class=&#34;fa-regular fa-copy&#34; aria-hidden=&#34;true&#34;&gt;&lt;/i&gt;
      &lt;span data-copy-button-label&gt;Copy&lt;/span&gt;
    &lt;/button&gt;
  &lt;/div&gt;
  &lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#e6edf3;background-color:#0d1117;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;brew update
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;brew install git node hugo
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;brew install --cask visual-studio-code
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;brew list
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;brew outdated
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;brew upgrade
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;brew cleanup&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
  &lt;span class=&#34;visually-hidden code-shell__status&#34; data-copy-status role=&#34;status&#34; aria-live=&#34;polite&#34; aria-atomic=&#34;true&#34;&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;p&gt;Use &lt;code&gt;brew outdated&lt;/code&gt; before broad upgrades on machines used for active development.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>System Administration Commands</title>
      <link>https://clarence.tw/en/notes/system/system-commands/</link>
      <pubDate>Sat, 11 Jul 2026 00:00:00 +0800</pubDate>
      
      <guid>https://clarence.tw/en/notes/system/system-commands/</guid>
      <description>&lt;section class=&#34;note-card &#34; aria-labelledby=&#34;note-section-version-and-safety-scope&#34;&gt;
  &lt;div class=&#34;item&#34;&gt;
    &lt;h2 class=&#34;note-title&#34; id=&#34;note-section-version-and-safety-scope&#34;&gt;&lt;span&gt;Version and safety scope&lt;/span&gt;&lt;/h2&gt;
    
      &lt;div class=&#34;card&#34;&gt;
        &lt;div class=&#34;card-body&#34;&gt;&lt;p&gt;&lt;strong&gt;Last reviewed: July 11, 2026&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This is a general command reference, not a version-pinned runbook. Check the installed version, current official documentation, and the target account, host, and path before use. Commands that deploy, destroy, delete, prune, sync, upgrade, or change system settings can cause cost, downtime, or data loss; preview changes and back up where appropriate.&lt;/p&gt;
&lt;/div&gt;
      &lt;/div&gt;
    
  &lt;/div&gt;
&lt;/section&gt;










&lt;section class=&#34;note-card &#34; aria-labelledby=&#34;note-section-system-inspection&#34;&gt;
  &lt;div class=&#34;item&#34;&gt;
    &lt;h2 class=&#34;note-title&#34; id=&#34;note-section-system-inspection&#34;&gt;&lt;span&gt;System inspection&lt;/span&gt;&lt;/h2&gt;
    
      &lt;div class=&#34;card&#34;&gt;
        &lt;div class=&#34;card-body&#34;&gt;&lt;div class=&#34;code-shell&#34; data-code-shell&gt;
  &lt;div class=&#34;code-shell__toolbar&#34;&gt;
    &lt;span class=&#34;code-shell__language&#34; data-code-language&gt;BASH&lt;/span&gt;
    &lt;button
      class=&#34;code-shell__copy&#34;
      type=&#34;button&#34;
      data-copy-code
      data-copy-label=&#34;Copy&#34;
      data-copied-label=&#34;Copied&#34;
      data-copy-error-label=&#34;Copy failed&#34;
      aria-label=&#34;Copy&#34;
    &gt;
      &lt;i class=&#34;fa-regular fa-copy&#34; aria-hidden=&#34;true&#34;&gt;&lt;/i&gt;
      &lt;span data-copy-button-label&gt;Copy&lt;/span&gt;
    &lt;/button&gt;
  &lt;/div&gt;
  &lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#e6edf3;background-color:#0d1117;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;uname -a
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;cat /etc/os-release
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;lscpu
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;free -h
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;df -h
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;lsblk
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ip addr show
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ip route show&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
  &lt;span class=&#34;visually-hidden code-shell__status&#34; data-copy-status role=&#34;status&#34; aria-live=&#34;polite&#34; aria-atomic=&#34;true&#34;&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;p&gt;Capture these basics first when documenting a server incident.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Docker Commands</title>
      <link>https://clarence.tw/en/notes/docker/docker-commands/</link>
      <pubDate>Sat, 11 Jul 2026 00:00:00 +0800</pubDate>
      
      <guid>https://clarence.tw/en/notes/docker/docker-commands/</guid>
      <description>&lt;section class=&#34;note-card &#34; aria-labelledby=&#34;note-section-version-and-safety-scope&#34;&gt;
  &lt;div class=&#34;item&#34;&gt;
    &lt;h2 class=&#34;note-title&#34; id=&#34;note-section-version-and-safety-scope&#34;&gt;&lt;span&gt;Version and safety scope&lt;/span&gt;&lt;/h2&gt;
    
      &lt;div class=&#34;card&#34;&gt;
        &lt;div class=&#34;card-body&#34;&gt;&lt;p&gt;&lt;strong&gt;Last reviewed: July 11, 2026&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This is a general command reference, not a version-pinned runbook. Check the installed version, current official documentation, and the target account, host, and path before use. Commands that deploy, destroy, delete, prune, sync, upgrade, or change system settings can cause cost, downtime, or data loss; preview changes and back up where appropriate.&lt;/p&gt;
&lt;/div&gt;
      &lt;/div&gt;
    
  &lt;/div&gt;
&lt;/section&gt;










&lt;section class=&#34;note-card &#34; aria-labelledby=&#34;note-section-images-and-containers&#34;&gt;
  &lt;div class=&#34;item&#34;&gt;
    &lt;h2 class=&#34;note-title&#34; id=&#34;note-section-images-and-containers&#34;&gt;&lt;span&gt;Images and containers&lt;/span&gt;&lt;/h2&gt;
    
      &lt;div class=&#34;card&#34;&gt;
        &lt;div class=&#34;card-body&#34;&gt;&lt;div class=&#34;code-shell&#34; data-code-shell&gt;
  &lt;div class=&#34;code-shell__toolbar&#34;&gt;
    &lt;span class=&#34;code-shell__language&#34; data-code-language&gt;BASH&lt;/span&gt;
    &lt;button
      class=&#34;code-shell__copy&#34;
      type=&#34;button&#34;
      data-copy-code
      data-copy-label=&#34;Copy&#34;
      data-copied-label=&#34;Copied&#34;
      data-copy-error-label=&#34;Copy failed&#34;
      aria-label=&#34;Copy&#34;
    &gt;
      &lt;i class=&#34;fa-regular fa-copy&#34; aria-hidden=&#34;true&#34;&gt;&lt;/i&gt;
      &lt;span data-copy-button-label&gt;Copy&lt;/span&gt;
    &lt;/button&gt;
  &lt;/div&gt;
  &lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#e6edf3;background-color:#0d1117;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;docker pull nginx:latest
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;docker images
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;docker ps
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;docker ps -a
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;docker run -d --name web -p 8080:80 nginx
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;docker exec -it web sh
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;docker logs -f web
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;docker stop web
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;docker rm web&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
  &lt;span class=&#34;visually-hidden code-shell__status&#34; data-copy-status role=&#34;status&#34; aria-live=&#34;polite&#34; aria-atomic=&#34;true&#34;&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;p&gt;Name long-running containers so logs and operational commands are easier to read.&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
