ByteNote LogoByteNote

Navigation

  • Blog
  • 工具

    © 2025 ByteNote. All rights reserved.

    什么是IPFS 网关?

    Mar 26, 20231 min read

    IPFS网关是一个将IPFS内容可访问的公共URL提供给用户的服务器。当用户访问IPFS文件时,他们可以从一个IPFS节点网关中获取数据。这些网关允许用户在不必运行本地IPFS节点的情况下使用IPFS。也就是说,用户无需在本地安装IPFS客户端来访问IPFS内容。

    相关文章

    Error: cmake: unknown or unsupported macOS version: :dunno

    The error message indicates that the macOS version is not recognized by cmake; possible solutions include checking the macOS version, updating cmake, verifying cmake configuration, installing or updating Xcode Command Line Tools, and seeking help from the cmake community.

    Swift 的字符串插值中可以接受额外的参数来定制它们的展示方式

    在 Swift 中,字符串插值允许通过额外参数定制如日期和浮点数等类型的展示方式,并可通过实现 `String.StringInterpolation` 协议为自定义类型添加类似功能。

    Go install 别名

    在Go安装后,通过创建软链接使`project`作为`myproject`命令的别名。

    JS ReadableStream 类的使用详解

    ReadableStream 类是 JavaScript 中用于处理流数据的一种新 API,支持创建、读取和取消流操作,适用于处理各种来源的数据流。

    大量条件语句if else如何更优雅?

    为了使大量 if else 语句的代码更优雅,可以采用函数封装、策略模式、switch-case、多态性和代码重构等方法。