×

Falcon

  • Falcon
    2022-07-05 16:59
    #daily tips# 很不错的Linux可视化工具,能非常直观地看到 cpu 、内存、磁盘使用等情况,跟htop有异曲同工之妙。
    https://github.com/aristocratos/btop
    同类还有bottom:https://github.com/ClementTsang/bottom
    gtop:https://github.com/aksakalli/gtop
    gotop:https://github.com/xxxserxxx/gotop
    其他替换:
    these have been around for years. All of them are terminal-based tools.

    Grandpa top. Written 36 years ago, C, installed by default on almost every Unix descendant.
    bashtop, in pure bash! Beautiful and space efficient, and deserves special comment.
    bpytop, @aristocratos, the author of bashtop, rewrote it in Python in mid-2020; it's the same beautiful interface, and a very nice alternative.
    htop. A prettier top. Similar functionality. 16 years old!
    atop. Detailed process-focused inspection with a table-like view. Been around for 9 long years.
    iftop, a top for network connections. More than just data transfer, iftop will show what interfaces are connecting to what IP addresses. Requires root access to run.
    iotop, top for disk access. Tells you which processes are writing to and from disk space, and how much. Also requires root access to run.
    nmon a dashboard style top; widgets can be dynamically enabled and disabled, pure ASCII rendering, so it doesn't rely on fancy character sets to draw bars.
    ytop, a rewrite of gotop (ca. 3.0) in Rust. Same great UI, different programming language.
    slabtop, part of procps-ng, looks like top but provides kernel slab cache information! Requires root.
    systemd-cgtop, comes with systemd (odds are your system uses systemd, so this is already installed), provides a resource use view of control groups -- basically, which services are using what resources. Does not require root to run.
    virt-top top for virtualized containers (VMs, like QEMU).
    ctop top for containers (LXC, like docker)

     
  • Falcon
    2022-07-05 06:27
    charles 难用的一匹,建议换 whistle 或者 proxyman
  • Falcon
    2022-07-04 06:36
    #daily tips# 测试php-fpm配置是否正确



    php-fpm -t

    [04-Jul-2022 14:34:52] NOTICE: configuration file /usr/local/etc/php/8.0/php-fpm.conf test is successful
  • Falcon
    2022-07-03 13:03
    躺平才是唯一的答案?
  • Falcon
    2022-07-03 09:11
    也许审美是一个非常主观的感受,银色和深空灰都各有千秋,但在实用性的场景下,尤其是经常要需要面对不确定的光照环境,无论室内还是室外,深空灰的Macbook air相比银色有一个非常诱人、称得上杀手级的优势,就是在强光下的镜面反射要比银色弱很多,这样的效果就是不刺眼,就冲着这一点,毫无疑问我必须得选深空灰啊!什么掉色、阴郁之类的小缺点完全可以靠边站。

    准备再蹲一个深空灰16G-512G的版本,因为256G的固态硬盘真的有存储焦虑,在我装上16.99G的Xcode ,卸载掉自带的Page,Numbers、iMovie,keynote、酷乐队之后,存储空间只剩84G了,只有1/3。
    看上去也不少,可如果再考虑未来几年的可能性,继续开发别的项目,Docker镜像、设计软件、那就有点捉襟见肘了。当然省点用也勉强够用,但多花不1300~1500块不用时时担心空间不够,我觉得值得投资。
  • Falcon
    2022-07-03 05:03
    #daily tips# MacOS 更改输入法切换快捷键



    参考Rio的回答: “默认是没有启用快捷键切换输入法的。在 System Preferences / Keyboard / Keyboard Shortcuts / Keyboard & Text Input 里面勾选 Select next source in Input menu,然后点击定义快捷键。我一般设置的是 Ctrl + Space (和 Windows 下类似)。 ”
  • Falcon
    2022-07-02 16:26
    我还是希望有一个512的存储,但需要灰色的,因为银色的有一个弱点,在强光下反射太耀眼了,而经常出门带到KFC,就很蛋疼,因为它家的灯总是开得亮堂堂的,直射桌面。旧版银色MBP2015 C面的反射就很明显了,眼睛还是会被晃到。而灰色的多少能减少一些反射,应该。



    另外一个问题是,这台银色版本的512,触控ID 没有灰色的256那么敏感,常常不能一次性解锁成功,不清楚是系统的问题还是硬件的问题。
  • Falcon
    2022-07-01 23:49
    #daily tips# 一个漂亮的文档生成器,让你专注于内容而不是技术。
    https://docusaurus.io/docs
  • Falcon
    2022-07-01 15:59
    选择困难症: 银色的干净清爽,但灰色的又很耐看。原本觉得灰色的太阴郁了,将就试用了几天,终于等到银色的版本上架了,而且加大了硬盘,当然也增加了预算,可是拿到手,银色的确是好看,只是单纯的好看,而灰色的有自己的气质,内敛沉着,显然更耐看一些,更重要的是我用了七八看的MBP2015也是银色的,再来一台银色的会不会有点审美疲劳?



    纠结!