Skip to content

第25期 12 week share 2025-03-19

本周我读到有趣的文章

1、AppData 目录的作用

TIP

一篇科普文章,Windows 11 有一个 AppData 目录,它有什么用。

2、业务逻辑不要放入数据库

TIP

本文提出,数据库最好只用来存放数据,不要加入业务逻辑,让应用程序处理业务逻辑。。

3、服务器端渲染简介

TIP

本文举例介绍网页应用的"服务器端渲染"是什么,也就是大家常说的 SSR(server side rendering)。

4、dive

TIP

这个工具可以显示 Docker 镜像文件每一层的内容。

5、CSS 重置

TIP

作者提出,最新的 CSS 重置(CSS reset,即更改浏览器默认样式)只需要9条规则,每一条都详细解释。

6、Beej 的 Git 指南

TIP

著名教程作者 Beej 的最新 Git 教程,基于他向大学学生的课堂讲义。

7、grep with Bash

bash
#!/bin/bash

grep "let's find something" file.[txt,json,js,md,etc]
#Case-insensitive search: Add the -i flag to ignore case differences.
grep -i "REact" compiler/apps/playground/app/index.tsx
#Count occurrences: Use the -c flag to count the number of matching lines.
grep -c "React" compiler/apps/playground/app/index.tsx
#Show line numbers: Use the -n flag to display line numbers of matching lines.
grep -n "React" compiler/apps/playground/app/index.tsx

返回目录

Developed by Orange