ByteNote LogoByteNote

Navigation

  • Blog
  • 工具

    © 2025 ByteNote. All rights reserved.

    git clone 时显示详细的日志 (logtrace)

    Aug 22, 20222 min read

    让git打出trace:

    GIT_TRACE=2 git clone https://projects.cs.uaf.edu/xxx.git
    

    或者

    GIT_CURL_VERBOSE=1 git clone https://projects.cs.uaf.edu/xxx.git
    

    其中,后者会打出更多的trace

    相关文章

    CSS属性值inline、block、inline-block有什么不同?

    CSS属性值inline、block、inline-block分别定义元素为行内、块级和行内块级显示类型,影响元素的排列和尺寸调整能力。

    listen udp 0.0.0.0:53: bind: address already in use

    The error "listen udp 0.0.0.0:53: bind: address already in use" suggests another process is using DNS's default port 53, and resolving it involves identifying and stopping or reconfiguring that process.

    rsync 配置项小抄

    rsync命令的配置项包括`-r`(递归同步)、`-a`(归档模式同步元信息)、`-n`(模拟执行)、`--delete`(镜像同步)、`--exclude`(排除文件)、`--include`(包含文件)、`-e`(使用SSH协议)等,用于本地或远程目录的同步和备份。

    一个命令行开关,用于启用或禁用代理

    在 `~/.zshrc` 文件中添加一个 `proxy_switch` 函数,用于通过命令行开关启用或禁用代理,并测试代理的有效性。

    创建一个 SwiftUI Picker视图,用户可以从中选择一个选项

    该示例展示了如何使用SwiftUI创建一个包含自定义选项的分段选择器,并通过属性绑定跟踪用户的选择。