Appearance
第51期 45 week share 2025-11-06
本周我读到有趣的文章
TIP
A modern, portable, easy to use crypto library..
2、SlideSCI
TIP
PPT插件,支持一键添加图片标题,复制粘贴位置、一键图片对齐等功能。
TIP
Open-source AI Browser
4、shell360
TIP
Shell360 is a cross-platform SSH and SFTP client.
5、Bash 脚本
TIP
作者写的一些 Bash 脚本,用于 Linux 系统管理
6、用数据库替换缓存
TIP
作者谈了他的看法,什么时候直接查询数据库,什么时候使用缓存。相比数据库,缓存有什么优缺点。
TIP
作者是 Python 语言初学者,本文介绍他使用的基本开发工具,比如 uv、ruff、ty 等等。
8、learn js 闭包一个最经典的例子
js
function makeCounter() {
let count = 0; // 外部函数的局部变量
function add() {
count++; // 内部函数访问外部变量 → 形成闭包
console.log(count);
}
return add;
}
const counter = makeCounter(); // 调用外部函数,得到内部函数
counter(); // 1
counter(); // 2
counter(); // 3