ByteNote LogoByteNote

Navigation

  • Blog
  • 工具

    © 2025 ByteNote. All rights reserved.

    mac homebrew修改为国内的阿里源和中科院镜像

    Apr 6, 20223 min read
    # 替换brew.git:
    cd "$(brew --repo)"
    git remote set-url origin https://mirrors.aliyun.com/homebrew/brew.git
    # 替换homebrew-core.git:
    cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
    git remote set-url origin https://mirrors.aliyun.com/homebrew/homebrew-core.git
     
    # 替换homebrew-bottles:
    echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.aliyun.com/homebrew/homebrew-bottles' >> ~/.zshrc
    source ~/.zshrc
    

    相关文章

    HTML image 标签的 naturalWidth 和 width 属性区别

    HTML 的 naturalWidth 属性表示图片的原始宽度,而 width 属性控制图片的显示宽度,两者均以像素为单位。

    什么是NDS 记录?

    NDS记录是Novell Netware操作系统中的一种目录服务,用于方便地查找、访问和管理网络资源,并提供单一登录和身份验证功能。

    Docker Desktop 如何使用容器文件资源管理器?

    Docker Desktop 提供了一个容器文件资源管理器,通过一系列设置和命令行操作,用户可以方便地管理本地容器内的文件和文件夹。

    Windows SSH 工具推荐

    推荐几款Windows SSH工具:PuTTY、OpenSSH for Windows、Bitvise SSH Client、MobaXterm和SecureCRT,各具特色,可根据需求选择。

    mac 临时启用etcd

    在Mac上临时启用etcd,通过下载、解压并运行etcd及其相关工具的特定版本。