ByteNote LogoByteNote

Navigation

  • Blog
  • 工具

    © 2025 ByteNote. All rights reserved.

    verdaccio 修改上游npm源

    Aug 18, 20223 min read

    由于 verdaccio 默认使用的是npm官方的源,你可以改成淘宝的源

    他的配置文件在 /home/<username>/.config/verdaccio/config.yaml

    其中有个 uplinks 字段

    uplinks:
      npmjs:
      url: https://registry.npmjs.org/ 
    

    将 url 改为 https://registry.npm.taobao.org/ 即可

    相关文章

    axios 设置全局和单个请求超时时间

    本文介绍了如何使用axios库设置全局和特定请求的超时时间。

    在 windows 10 上安装 redis

    Install Redis on Ubuntu running on Windows by using `apt-get` to add the repository, update, upgrade, and install the server, then start it and test connectivity with the Redis CLI.

    小明 8 岁,他妹妹年龄是他的一半。小明 56 岁时,妹妹几岁

    小明56岁时,他的妹妹将是30岁。

    OKR(Objectives & Key Results)目标与关键结果管理法

    OKR管理法是一种源自英特尔、广泛应用于科技公司如谷歌的目标与关键结果管理法,通过设定挑战性目标、具体关键结果和行动计划,强调透明度和灵活性,以提升组织的目标管理和创新能力。

    Swift CGFloat Float Double 的区别?

    Swift中的CGFloat、Float和Double是浮点数类型,分别适用于不同平台、精度和计算需求,其中Double提供最高精度,适合复杂计算。