ByteNote LogoByteNote

Navigation

  • Blog
  • 工具

    © 2025 ByteNote. All rights reserved.

    Linux 查看虚拟内存使用最多的前10个进程

    Aug 29, 20221 min read
    ps auxw|head -1;ps auxw|sort -rn -k5|head -10
    

    相关文章

    解决 zsh: no matches found: postcss@^7

    在使用zsh shell环境下安装postcss 7.x版本时,由于zsh的glob特性导致使用"^"符号时出现错误,可通过使用双引号、关闭通配符或转义符号来解决。

    解决 App Transport Security has blocked a cleartext HTTP connection tommbiz.qpic.cnsince it is insecure. Use HTTPS instead or add this domain to Exception Domains in your Info.plist.

    通过在Xcode项目的Info.plist文件中配置"App Transport Security Settings"下的"Exception Domains"和"NSAllowsArbitraryLoads",可以为特定域名如"tommbiz.qpic.cn"解除App Transport Security限制,但建议优先使用HTTPS连接。

    SwiftUI 使用 NSLocalizedString 函数创建本地化字符串

    SwiftUI 中使用 NSLocalizedString 函数与 iOS 应用程序中相同,通过指定键和注释来创建本地化字符串,并由 Xcode 的本地化功能管理。

    如何运用CSS3绘制外观精美的旋转立方体?

    使用CSS3通过设置立方体各面的3D变换和动画实现了一个旋转的立方体效果。

    破窗效应

    破窗效应是一种犯罪心理学理论,指出环境中的不良现象如不及时纠正,会引发更多破坏行为。