Blog

  • terraform multi-version tfenv

    tfenv works like nvm for Node.js — it lets you install and switch between Terraform versions easily.

    git clone https://github.com/tfutils/tfenv.git ~/.tfenv

    Update zshrc
    export PATH=$PATH:/snap/bin:~/bin:~/.local/bin:~/.pyenv/bin:$HOME/.tfenv/bin

    tfenv install 1.8.5

    ➜ ~ tfenv install 1.8.5
    Installing Terraform v1.8.5
    Downloading release tarball from https://releases.hashicorp.com/terraform/1.8.5/terraform_1.8.5_linux_amd64.zip
    ##################################################################################################################################################################################### 100.0%
    Downloading SHA hash file from https://releases.hashicorp.com/terraform/1.8.5/terraform_1.8.5_SHA256SUMS
    Not instructed to use Local PGP (/home/yangy9/.tfenv/use-{gpgv,gnupg}) & No keybase install found, skipping OpenPGP signature verification
    Archive: /tmp/tfenv_download.5vM1kH/terraform_1.8.5_linux_amd64.zip
    inflating: /home/yangy9/.tfenv/versions/1.8.5/LICENSE.txt
    inflating: /home/yangy9/.tfenv/versions/1.8.5/terraform
    Installation of terraform v1.8.5 successful. To make this your default version, run ‘tfenv use 1.8.5’

    tfenv use 1.8.5

    ➜ ~ which terraform
    /home/myusername/.tfenv/bin/terraform

    terraform –version
    Terraform v1.8.5

  • 2026 05 单词

    dnf
    dandified
    但在 DNF = Dandified YUM 里,其实是开发者的幽默命名,不是严格技术术语。
    意思更像:升级版 / 更现代化 / 更精致的 YUM

    thermal 热的;热力
    intermittent 间歇性的
    moderator 版主;会议主持
    revival 复兴
    Attorney 律师
    Intake 摄入 受理
    Blanket 总的
    petition 申请 请愿
    pursue 追求
    reimbursement 报销
    Allowance 补贴
    invaluable 无价的
    lieu 代替
    Variant 变体
    offshore 离岸
    vibe 情绪 氛围

  • git windows always show modified

    $ git status


    Changes not staged for commit:
    (use “git add …” to update what will be committed)
    (use “git restore …” to discard changes in working directory)
    modified: .cicd/update-svc-values.sh

    no changes added to commit (use “git add” and/or “git commit -a”)

    how to fix:

    git config core.fileMode false

  • 2026 04 单词

    Ingredient 配料
    tabulate 制表
    harness
    OPEX (Operating Expenditure – 运营性支出)
    combo 混合物
    Advocate 提倡

  • AI 带来的变化和冲击

    在大量删除 Onenotes 里的笔记(每天二十篇左右),很多想要记住的知识点已经不需要强记;很多记下来的代码块和 solution 也不再重要,AI可以很容易获得

    很多随手记的技术点,工具网站(比如检查语法的)都删掉了

    记录的 DevOps 和 Cloud Infra 求职者考察要求,很多在 AI 面前也不重要,AI可以很快列出一份技能要求

    删除所有的操作系统使用笔记, for example, windows choco or winget, mac os homebrew, etc.

    Udemy 里最近三年的还能看看,超过三年的可以直接Archive了,已经不用学了。比如里面有一个花几十分钟教人 troubleshooting TLS 的,贴到 ChatGPT 5.4 里几分钟就解决了

  • fortio

    fortio load -qps 100 -n 100 https://weechoapp.com/shop_v2/api/cart/quantity?type=Product