获得徽章 21
前端工程师 @回家种田
赞了这篇沸点
lastday 知无不言!
13
赞了这篇沸点
集齐68个赞,提交离职
26
关注了
前端工程师 @回家种田
前端工程师 @回家种田
前端工程师 @回家种田
赞了这篇沸点
今天虽然是周二,但是一大早就收到了惊喜,来自丈母娘的 2万买电脑专款[流泪]。下面截图是丈母娘转给我老婆的转账记录,老婆让我挑选电脑了[坏笑]

我自己一直用 2018 年款的 15 寸 Mac,之前电池鼓包了,就自己 DIY 换了个电池,发了个朋友圈玩玩。没想到丈母娘看到后就说要生日给重买一个新 Mac 。

哎,从小到大过生日就是一碗长寿面,第一次收到这么贵重的礼物~~
展开
戈吉于2024-05-28 10:16发布的图片
212
前端屎山代码过滤器, 谁用谁知道
```powershell
Get-ChildItem -Recurse -Include *.vue,*.ts,*.js,*.jsx,*.tsx |
Where-Object {
$_.FullName -notmatch '\\node_modules\\' -and
$_.FullName -notmatch '\\static\\' -and
$_.FullName -notmatch '\\dist\\' -and
$_.FullName -notmatch '\\public\\'
} |
ForEach-Object {
[PSCustomObject]@{
File = $_.FullName;
Lines = (Get-Content $_.FullName | Measure-Object -Line).Lines
}
} |
Sort-Object -Property Lines -Descending |
Select-Object -First 10
```
```shell
find . -type f \( -name "*.vue" -o -name "*.ts" -o -name "*.js" -o -name "*.jsx" -o -name "*.tsx" \) \
-not -path "*/node_modules/*" -not -path "*/static/*" -not -path "*/dist/*" -not -path "*/public/*" \
-exec wc -l {} + | sort -rn | head -n 10
```
展开
DaYe于2024-05-16 17:22发布的图片
1
下一页
个人成就
文章被点赞 4
文章被阅读 1,911
掘力值 75
收藏集
12
关注标签
16
加入于