×

Falcon

  • Falcon
    2022-07-11 14:27
    中午时分忽而想起林夕的《再见二丁目》,歌里化用了两段古诗词,一是“衣衫薄”二是“少年游”。纵使故地重游,那份少年心却丢在了从前。良辰美景依旧,想要分享的那个人早已不见,“要是你也在这里就好了。” 这种心情,你能了解吗,皮皮?

    - 欲买桂花同载酒,终不似,少年游。《唐多令》宋·刘过

    - 如今却忆江南乐,当时年少春衫薄。骑马倚斜桥,满楼红袖招。《菩萨蛮·如今却忆江南乐》唐·韦庄

    - 旧游无处不堪寻。无寻处,惟有少年心。《小重山》宋·章良能
  • Falcon
    2022-07-11 00:25
    Apple Watch更新到8后,居然没有了表内截图同步到iPhone的功能,明天看看什么情况?
  • Falcon
    2022-07-11 00:23
    #稍后阅读# #daily tips# Next version of massCode. A free and open source code snippets manager for developers(开源免费的代码片断管理器):https://github.com/massCodeIO/massCode
  • Falcon
    2022-07-10 12:23
    #daily tips# #php# 找出php加载的全部ini ,可以诊断加载了哪些不必要的扩展,因为除了指定的ini,它还会扫描某个目录的(在php5.6是conf.d),而那些扩展可能因为不再支持而移除使启动出错,特别是在brew update之后或者重新安装php。



    /usr/local/opt/php@5.6/bin/php --ini
  • Falcon
    2022-07-08 08:41
    为贯彻落实国务院联防联控机制疫情防控“九不准”有关要求,专项整治疫情防控“层层加码”等问题,畅通投诉举报渠道,更好的接受群众监督,现向社会公布我办疫情防控投诉举报电话,如发现疫情防控“层层加码”问题,可通过座机023-63850169投诉举报。
  • Falcon
    2022-07-08 08:38
    #稍后阅读# 在线多人文档的实现细节,可以看一下 yjs 的 demo:

    Yjs is a modular framework for syncing things in real-time - like editors!(一个专注实时同步的模块化框架-=比如编辑器)



    https://docs.yjs.dev/getting-started/a-collaborative-editor
  • Falcon
    2022-07-07 20:09
    深空灰500G硬盘的MacBook Air到了,这下可放心了,不再为存储焦虑。
  • Falcon
    2022-07-06 15:50
    #daily tips# #php# nginx 中 fastcgi_intercept_errors on 表示接收fastcgi输出的http 1.0 response code,后端php可以输出header指示nginx输出什么错误页面。开启这个之后,我们才能在php里面自定义错误代码和页面。
  • Falcon
    2022-07-06 00: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)