切换导航
新动弹计划
搜索
文章
动弹
排行榜
登录
注册
×
搜索
文章
动弹
热门关键词
重读《掌控习惯》
ChatGPT
Docker
Laravel
读书
跑步
#daily tips#
#稍后阅读#
Falcon
主页
文章
动弹
冒泡
文集
Falcon
2022-07-08 00: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
0 赞
暂无评论
查看
Falcon
2022-07-07 12:09
冒泡
深空灰500G硬盘的MacBook Air到了,这下可放心了,不再为存储焦虑。
0 赞
暂无评论
查看
Falcon
2022-07-07 03:48
冒泡
#稍后阅读#
2022最好的产品推荐
https://decohack.notion.site/decohack/21ed6d8428d04b928ccd7fbf2ea36dd2?v=8456b58b9e184cbca2979d033d5f83a6
0 赞
暂无评论
查看
Falcon
2022-07-06 07:50
冒泡
#daily tips#
#php#
nginx 中 fastcgi_intercept_errors on 表示接收fastcgi输出的http 1.0 response code,后端php可以输出header指示nginx输出什么错误页面。开启这个之后,我们才能在php里面自定义错误代码和页面。
0 赞
暂无评论
查看
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)
0 赞
暂无评论
查看
Falcon
2022-07-05 06:44
冒泡
sqlite的替换品
https://www.litedb.org/
0 赞
暂无评论
查看
Falcon
2022-07-05 06:27
冒泡
charles 难用的一匹,建议换 whistle 或者 proxyman
0 赞
暂无评论
查看
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
0 赞
暂无评论
查看
Falcon
2022-07-03 13:03
冒泡
躺平才是唯一的答案?
0 赞
暂无评论
查看
Falcon
2022-07-03 09:11
冒泡
也许审美是一个非常主观的感受,银色和深空灰都各有千秋,但在实用性的场景下,尤其是经常要需要面对不确定的光照环境,无论室内还是室外,深空灰的Macbook air相比银色有一个非常诱人、称得上杀手级的优势,就是在强光下的镜面反射要比银色弱很多,这样的效果就是不刺眼,就冲着这一点,毫无疑问我必须得选深空灰啊!什么掉色、阴郁之类的小缺点完全可以靠边站。
准备再蹲一个深空灰16G-512G的版本,因为256G的固态硬盘真的有存储焦虑,在我装上16.99G的Xcode ,卸载掉自带的Page,Numbers、iMovie,keynote、酷乐队之后,存储空间只剩84G了,只有1/3。
看上去也不少,可如果再考虑未来几年的可能性,继续开发别的项目,Docker镜像、设计软件、那就有点捉襟见肘了。当然省点用也勉强够用,但多花不1300~1500块不用时时担心空间不够,我觉得值得投资。
0 赞
暂无评论
查看
151
152
153
154
155