第156期 — 2022-04-24

在浏览器中阅读

周e信

扫描二维码关注微信公众号

Node.js

Boris K

npx link比npm link更安全🔗

foot gun - A feature with a strong propensity for its user shooting oneself in the foot.

hiroki osame

Craig Buckler

Javascript

seedgou

前端

Vadim Dalecky

Nolan Lawson

Addy Osmani

几个css秘籍🔗
  • 纯css打字效果
  • drop-shadow() 用于透明图像上添加shadow
  • scroll-behavior: smooth; 平滑滚动
  • 自定义cursor
  • text-overflow: ellipsis; 文本截断
  • ::selection 选中文本样式
  • :target 伪类来创建纯css对话框
  • attr() 纯 CSS tooltip
  • 使用grayscale()过滤器功能将图像转换为灰。
  • 圆形渐变边框

Marko Denic

ROBIN WIERUCH

Nikita Butenko

RickoNoNo3

John Walley

facebook

移动端

为 Web 和 React Native 编写跨平台组件🔗

在尽可能低的级别上编写特定于平台的代码。

Artem Sapegin

数据库

Ketan Singh

运维

Florin Lipan

单机1百万 个并发连接🔗
  • Phoenix Framework 实现 2,000,000 个连接
  • WhatsApp 实现了 2,000,000 个连接
  • 理论极限约为 1 万亿 (1,000,000,000,000,000)
  • 您将用完源端口(仅 2 16)
  • 您可以通过添加环回客户端 IP 地址来解决此问题
  • 您将用完文件描述符
  • 您可以通过覆盖操作系统的文件描述符限制来解决此问题
  • 我的 16GB Mac 的实际限制是 80,000
  • 我的 8GB Linux 的实际限制是 840,000

Joseph Mate

Jon Bass

Joey Aiello

其他

Brandon Specktor

Zack Whittaker

软件成语 - Yak Shaving - 关注细节忘了原始目标🔗

Yak shaving is what you are doing when you're doing some stupid, fiddly little task that bears no obvious relationship to what you're supposed to be working on, but yet a chain of twelve causal relations links what you're doing to the original meta-task.

Scott Hanselman

Akila Welihinda

freakingrectangle

github

扫描二维码关注微信公众号
本期阅读量