ByteNote LogoByteNote

Navigation

  • Blog
  • 工具

    © 2025 ByteNote. All rights reserved.

    linux 下获取宿主IP 的方法

    Oct 24, 20211 min read
    docker run --rm --add-host host.docker.internal:host-gateway alpine cat /etc/hosts
    

    相关文章

    Optimizing and Deploying Models with Optimum-Intel and OpenVINO GenAI

    This blog guides you through optimizing and deploying Hugging Face Transformers models on edge devices using Optimum-Intel and OpenVINO™ GenAI, ensuring efficient AI inference with minimal dependencies, particularly in C++-dominated environments.

    MAC ulimit 的永久配置方案

    在macOS上永久配置`ulimit`以增加文件描述符限制的步骤包括检查当前值、编辑配置文件、设置权限和所有者、加载新配置并重启系统。

    Flutter copyWith 的使用

    `copyWith()` 方法在Flutter中用于创建一个新对象,该对象与原始对象具有相同的属性,但可以指定新的值,从而避免改变原始对象的状态。

    SwiftUI 如何配置background 系统灰色?

    在SwiftUI中,通过使用`.background()`修饰符并设置为`Color(UIColor.systemGray5)`,可以将背景配置为系统灰色。

    Golang 中,常用的时间单位

    在 Golang 中,常用的时间单位有纳秒、微秒、毫秒、秒、分钟和小时,这些单位可用于如 time.Sleep 等时间相关函数。