ByteNote LogoByteNote

Navigation

  • Blog
  • 工具

    © 2025 ByteNote. All rights reserved.

    重置git 帐号信息

    Mar 3, 20231 min read
    git config --system --unset credential.helper
    

    相关文章

    在FastAPI中实现基于IP地址的接口限流

    使用FastAPI的装饰器和依赖项实现基于IP地址的接口限流,通过获取请求IP、限制请求频率并应用到特定接口上。

    CSS选择器为什么不宜超过三级?

    CSS选择器不宜超过三级,以避免影响页面性能、样式问题及维护难度。

    解决 socket: operation not permitted

    使用敏感端口(低于1024)时需管理员权限,否则会出现"socket: operation not permitted"错误,解决方法包括使用非敏感端口、以root身份运行程序或为程序分配特定权限。

    你开发过Chrome插件吗?分享一下开发过程

    开发Chrome插件涉及定义插件功能、编写页面和逻辑、添加权限、打包及安装插件等步骤。

    Linux 配置只有属于 wheel 组的用户才可以用 su 登录为 root

    通过修改 Linux 系统的 `/etc/pam.d/su` 和 `/etc/login.defs` 文件,并配置用户到 wheel 组,确保只有 wheel 组用户能使用 su 命令切换到 root 账户,从而增强系统安全性。