240 发简信
IP属地:广东
  • Shell 常用

    https://www.cnblogs.com/ev-zhk/p/4277023.html[https://www.cnblogs.com/ev...

  • Fixing Conan Lock Issues

    [MyPackageName] is locked by another concurrent conan process, wait... I...

  • Resize,w 360,h 240
    xattr

    ls -al 后可以看到a.txt文件带 @, (比如一个隐藏文件重命名为a.txt,或是某个.app程序打不开) 这个是mac文件系统的附加属...

  • 在 mac 上查看文件的 md5/sha1/sha256

    查看 md5md5 file_path 查看 sha1openssl dgst -sha1 file_path 查看 sha256openssl...

  • Infrastructure

    iOS 符号解析重构之路https://my.oschina.net/u/4180867/blog/5310869[https://my.osc...

  • iOS 宏定义中的#

    一个 # 号 表示加双引号 显然,这个一个C字符串。 要想变成OC的字符串,还需要改进一下: 两个 ## 号 表示连接 x与 ## 以及 y之间...

  • 时间单位

    表示3秒 (3 * NSEC_PER_SEC 纳秒)。 SEC (second) 秒 sMSEC (mil...

  • Mac 文件/文件夹大小查看 ncdu 工具

    cd 到某个文件夹下, [更优方法] brew install ncdu执行 ncdu [原始方法]使用命令 du -hc | sort -rh...

  • NSMutableDictionary 的坑

    Set 有3种方式: - (void)setObject:(ObjectType)anObject forKey:(id<NSCopying>)...