ByteNote LogoByteNote

Navigation

  • Blog
  • 工具

    © 2025 ByteNote. All rights reserved.

    JS dayjs获取当月第一天和最后一天

    Sep 12, 20224 min read
    startDate: dayjs(this.chooseMonth).startOf('month').format('YYYY-MM-DD')
    endDate: dayjs(this.chooseMonth).endOf('month').format('YYYY-MM-DD')
    

    相关文章

    Shell 命令 之 指查找文件内容并替换

    该命令使用 `find` 查找名为 `consumer.xml` 的文件,并通过 `sed` 替换其中的 `aaaaaa` 为 `bbbbbb`。

    去你大爷的验证码!Noptcha

    Noptcha是一款自动解决Google ReCAPTCHA和hCAPTCHA验证码的浏览器扩展,支持Chromium和Firefox,能自动完成验证过程,无需用户手动选择图片。

    'allowedFileTypes' was deprecated in macOS 12.0: Use -allowedContentTypes instead

    macOS 12.0 deprecated 'allowedFileTypes' in favor of 'allowedContentTypes' for specifying acceptable content types, requiring developers to update their code accordingly.

    ZeroTier的使用

    建立中转服务器 moon 以加速国内 Zerotier 客户端之间的访问,通过自定义服务器作为跳板,减少延迟和提高网络高峰期的连接稳定性。

    wordpress docker-compose 部署指南

    本文提供了一个简单的WordPress Docker Compose部署指南,包括安装Docker和Docker Compose、创建和配置docker-compose.yaml文件以及启动WordPress容器。