1 Commits

Author SHA1 Message Date
HunterXHunter
160620a2cc Merge e06a5e0d55 into e040a22de5 2025-04-20 15:03:50 +08:00
119 changed files with 25 additions and 155 deletions

View File

@@ -3,45 +3,11 @@ const glob = util.promisify(require('glob'));
const fs = require("fs").promises;
const path = require('path');
const MAX_FILE_SIZE = 1024 * 1024; // 1MB
async function checkFileSize(filePath) {
try {
const stats = await fs.stat(filePath);
return stats.size;
} catch (error) {
console.error(`Error checking file size for ${filePath}: ${error.message}`);
return 0;
}
}
async function main() {
var errors = [];
var directories = await glob(__dirname + '../../dishes/**/*.md');
// Check all files in dishes directory for size
var allFiles = await glob(__dirname + '../../dishes/**/*');
// Check each file size
for (var filePath of allFiles) {
const fileSize = await checkFileSize(filePath);
if (fileSize > MAX_FILE_SIZE) {
errors.push(`文件 ${filePath} 超过了1MB大小限制 (${(fileSize/1048576).toFixed(2)}MB)! 请压缩图片或分割文件。`);
}
}
// Check for files without extensions
for (var filePath of allFiles) {
const stats = await fs.stat(filePath);
// Only check files (not directories)
if (stats.isFile()) {
const extension = path.extname(filePath);
if (extension === '') {
errors.push(`文件 ${filePath} 不符合仓库的规范!文件必须有扩展名!`);
}
}
}
for (var filePath of directories) {
var data = await fs.readFile(filePath, 'utf8');
var filename = path.parse(filePath).base.replace(".md","");

View File

@@ -45,3 +45,9 @@ docker run -d -p 5000:5000 ghcr.io/anduin2017/how-to-cook:latest
如果你已经做了许多上面的菜,对于厨艺已经入门,并且想学习更加高深的烹饪技巧,请继续阅读下面的内容:
{{after}}
## 鸣谢
对这份菜谱的下列作者表示感谢!
[![contributors](https://contrib.rocks/image?repo=Anduin2017/HowToCook&max=999&column=20)](https://github.com/Anduin2017/HowToCook/graphs/contributors)

View File

@@ -96,7 +96,6 @@ docker run -d -p 5000:5000 ghcr.io/anduin2017/how-to-cook:latest
- [上汤娃娃菜](dishes/vegetable_dish/上汤娃娃菜/上汤娃娃菜.md)
- [手撕包菜](dishes/vegetable_dish/手撕包菜/手撕包菜.md)
- [水油焖蔬菜](dishes/vegetable_dish/水油焖蔬菜.md)
- [松仁玉米](dishes/vegetable_dish/松仁玉米.md)
- [素炒豆角](dishes/vegetable_dish/素炒豆角.md)
- [酸辣土豆丝](dishes/vegetable_dish/酸辣土豆丝.md)
- [糖拌西红柿](dishes/vegetable_dish/糖拌西红柿/糖拌西红柿.md)
@@ -109,7 +108,6 @@ docker run -d -p 5000:5000 ghcr.io/anduin2017/how-to-cook:latest
### 荤菜
- [巴基斯坦牛肉咖喱](dishes/meat_dish/巴基斯坦牛肉咖喱/巴基斯坦牛肉咖喱.md)
- [白菜猪肉炖粉条](dishes/meat_dish/白菜猪肉炖粉条.md)
- [带把肘子](dishes/meat_dish/带把肘子.md)
- [冬瓜酿肉](dishes/meat_dish/冬瓜酿肉/冬瓜酿肉.md)
@@ -398,3 +396,9 @@ docker run -d -p 5000:5000 ghcr.io/anduin2017/how-to-cook:latest
- [辅料技巧](tips/advanced/辅料技巧.md)
- [高级专业术语](tips/advanced/高级专业术语.md)
- [油温判断技巧](tips/advanced/油温判断技巧.md)
## 鸣谢
对这份菜谱的下列作者表示感谢!
[![contributors](https://contrib.rocks/image?repo=Anduin2017/HowToCook&max=999&column=20)](https://github.com/Anduin2017/HowToCook/graphs/contributors)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 549 KiB

After

Width:  |  Height:  |  Size: 1.8 MiB

View File

@@ -12,8 +12,8 @@
## 必备原料和工具
- 阿根廷红虾(选用了速冻虾)
- 海盐(研磨装)
- 阿根廷红虾(选用了 Costco 的速冻虾)
- 地中海海盐(研磨装)
- 黑胡椒(研磨装)
- 白葡萄酒
- 生抽
@@ -26,7 +26,7 @@
## 计算
- 阿根廷红虾 2-3 只
- 海盐 5g
- 地中海海盐 5g
- 黑胡椒(研磨装)
- 白葡萄酒 20ml
- 生抽 1ml
@@ -38,11 +38,11 @@
## 操作
- 阿根廷红虾解冻,最好是提前 1 天从速冻取出放到冷藏里自然解冻,能更好保持风味和口感。可买已经开背去虾线的,节省了不少时间
- 阿根廷红虾解冻,最好是提前天从速冻取出放到冷藏里自然解冻,能更好保持风味和口感。Costco 买的是已经开背去虾线的,节省了不少时间
- 解冻好的红虾洗净擦干备用,注意这里一定要沥干水分,赶时间可以用厨房用纸吸干水分
- 生姜切片,洋葱切小方块,香菜洗干净后,叶茎分离,把香菜叶切碎,大蒜压碎切成小块碎末
- 大火热锅,热锅后倒入两调羹橄榄油,等油温升高后,放入生姜片,洋葱块和香菜茎煸炒
- 1 分钟后取出生姜,洋葱和香菜茎,弃用
-分钟后取出生姜,洋葱和香菜茎,弃用
- 调中大火,放入红虾开始煎,注意所有虾需要单面都完整接触平底锅,煎约 2 分钟,同时给每只虾刷上一层油
- 待底面虾壳有微微焦黄时翻面,并撒入大蒜碎末,轻微晃动平底锅使得受热均匀
- 约 1 分钟后添加 20ml 白葡萄酒

Binary file not shown.

Before

Width:  |  Height:  |  Size: 673 KiB

After

Width:  |  Height:  |  Size: 7.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 KiB

After

Width:  |  Height:  |  Size: 6.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 214 KiB

After

Width:  |  Height:  |  Size: 7.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 4.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 246 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 444 KiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 738 KiB

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 839 KiB

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 321 KiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 388 KiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 330 KiB

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

After

Width:  |  Height:  |  Size: 254 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 771 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 507 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 486 KiB

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 458 KiB

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 KiB

After

Width:  |  Height:  |  Size: 11 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 293 KiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 825 KiB

After

Width:  |  Height:  |  Size: 3.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 744 KiB

After

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 586 KiB

After

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 754 KiB

After

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 558 KiB

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 705 KiB

After

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 372 KiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 479 KiB

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 799 KiB

After

Width:  |  Height:  |  Size: 3.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 185 KiB

After

Width:  |  Height:  |  Size: 957 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 859 KiB

After

Width:  |  Height:  |  Size: 2.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 282 KiB

View File

@@ -1,61 +0,0 @@
# 巴基斯坦牛肉咖喱的做法
![巴基斯坦牛肉咖喱成品](./巴基斯坦牛肉咖喱.png)
Achar gosht巴基斯坦牛肉咖喱是一道来自巴基斯坦的特色咖喱菜品。这道菜融合了咖喱的香浓和牛肉的软糯口感风味独特偏辣口。它富含优质蛋白质和多种维生素营养价值丰富。制作过程需要 2.5 小时,步骤并不复杂,是一道适合在周末慢慢烹饪的美味佳肴。
预估烹饪难度:★★★★★
## 必备原料和工具
- 普通的炒锅
- 电饭煲/电炖锅
- Masala 粉(品牌可选 Shan
- 牛肉
- 番茄
- 螺丝椒
- 原味酸奶
- 蒜粉
- 姜粉
## 计算
这里以 1kg 牛肉的所需要的配菜量作为标的可以通过它计算出不同菜量。1kg 牛肉做出的咖喱大概够 5 个人吃。
1kg 牛肉所需要的配菜量:
- 番茄🍅 4 个
- 螺丝椒 2 个(大个的)
- 原味酸奶 1 盒
- Masala 粉一包 50g
- 蒜粉 5g
- 姜粉 5g
## 操作
- 全部螺丝椒切成段状,备用
- 全部番茄打成番茄蓉,备用
![番茄蓉](./番茄蓉.png)
- 牛肉切成 2cm 的小块,洗净备用
![牛肉](./牛肉.png)
- 炒锅中倒入一层油(用来防止番茄蓉沸腾蒸发)
![](./油.png)
- 倒入番茄蓉,持续搅拌 2-3 分钟,等待它越变越红
![倒入番茄蓉](./倒入番茄蓉.png)
![](./红.png)
- 加入 5g 蒜粉5g 姜粉和 1 包 50g 的 Masala 粉,搅拌均匀
- 加入牛肉和螺丝椒段,搅拌均匀
- 加入 1 盒酸奶(为了让整个酱汁变得粘稠),搅拌均匀
- 将整锅材料转移到电饭煲/电炖锅,并加入 250 ml 的水,开启炖肉/慢炖档,设定时间 2-3 个小时
- 等待完成,开锅检查牛肉软糯,就可以吃了
![巴基斯坦牛肉咖喱成品](./巴基斯坦牛肉咖喱.png)
## 附加内容
这道菜是从一个巴基斯坦的朋友那里偷师而来,特地整理了笔记,绝对正宗。
通常配以 烙饼(roti)、馕(naan) 或 米饭 食用。
如果想做 Chicken karahi 流程几乎是一样的,除了是先用油和各种花椒胡椒煎鸡肉变黄。
如果您遵循本指南的制作流程而发现有问题或可以改进的流程,请提出 Issue 或 Pull request 。

Binary file not shown.

Before

Width:  |  Height:  |  Size: 218 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 330 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 206 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 535 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

After

Width:  |  Height:  |  Size: 195 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 585 KiB

After

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 800 KiB

After

Width:  |  Height:  |  Size: 2.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 847 KiB

After

Width:  |  Height:  |  Size: 3.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 710 KiB

After

Width:  |  Height:  |  Size: 2.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 924 KiB

After

Width:  |  Height:  |  Size: 3.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 756 KiB

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 822 KiB

After

Width:  |  Height:  |  Size: 3.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 774 KiB

After

Width:  |  Height:  |  Size: 2.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 529 KiB

After

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 652 KiB

After

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 717 KiB

After

Width:  |  Height:  |  Size: 2.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 648 KiB

After

Width:  |  Height:  |  Size: 2.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 710 KiB

After

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 626 KiB

After

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 915 KiB

After

Width:  |  Height:  |  Size: 3.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 338 KiB

After

Width:  |  Height:  |  Size: 3.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 524 KiB

After

Width:  |  Height:  |  Size: 5.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 445 KiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 KiB

After

Width:  |  Height:  |  Size: 12 MiB

View File

@@ -63,7 +63,7 @@
1. 将炉灶打开高火(见附录对于火力大小的说明),同时锅中加入橄榄油,热锅 15-30 秒。
2. 腌制牛排。将海盐和黑胡椒均匀的洒在牛排的全部表面并用手涂抹,揉搓,使得盐和胡椒颗粒尽量嵌入到肉中。注意,腌制完成后牛排**需要立即下锅,不推荐提前腌制牛排**。这是因为外表涂抹的盐会析出牛肉中的水分,影响烹饪的同时丧失风味。
3. 热锅至油温 6-8 成(参见[油温判断技巧](./../../../tips/advanced/油温判断技巧.md)),将牛排由近及远的缓慢放入锅中。
3. 热锅至油温 6-8 成(参见[油温判断技巧](./../../../tips/advanced/油温判断技巧)),将牛排由近及远的缓慢放入锅中。
4. 如果您使用了土豆作为配菜,可以将土豆放入碗中,然后放进微波炉加热 10 分钟,或者放入开水煮 3-5 分钟。
5. 单面煎制 1.5 分钟(这个时间适用于 2-3cm 厚大约的牛排。如果您的牛排更薄,考虑将这个时间缩短为 1 分钟。如果您的牛排更厚,考虑将这个时间增加至 2-2.5 分钟。)
6. 翻面,再煎制 1.5 分钟。
@@ -87,7 +87,7 @@
### 火候的控制
煎制牛排是控制火候的艺术。限于篇幅,这里简单给出一些定量评估火力的方法和本文中用到的与火候相关的术语。更多内容参见[油温判断技巧](./../../../tips/advanced/油温判断技巧.md)。
煎制牛排是控制火候的艺术。限于篇幅,这里简单给出一些定量评估火力的方法和本文中用到的与火候相关的术语。更多内容参见[油温判断技巧](./../../../tips/advanced/油温判断技巧)。
- 对于电磁炉:
- 高火:功率 1.8Kw - 2.2kw。

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 538 KiB

After

Width:  |  Height:  |  Size: 6.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 587 KiB

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 928 KiB

After

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 598 KiB

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 426 KiB

After

Width:  |  Height:  |  Size: 4.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 241 KiB

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 663 KiB

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 471 KiB

After

Width:  |  Height:  |  Size: 4.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 KiB

After

Width:  |  Height:  |  Size: 879 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 556 KiB

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 882 KiB

After

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 320 KiB

After

Width:  |  Height:  |  Size: 4.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 382 KiB

After

Width:  |  Height:  |  Size: 5.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 555 KiB

After

Width:  |  Height:  |  Size: 4.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 532 KiB

After

Width:  |  Height:  |  Size: 4.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 538 KiB

After

Width:  |  Height:  |  Size: 4.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 479 KiB

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 276 KiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 252 KiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 309 KiB

After

Width:  |  Height:  |  Size: 3.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 11 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 364 KiB

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 330 KiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 10 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 14 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 13 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 12 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 11 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 12 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 12 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 751 KiB

After

Width:  |  Height:  |  Size: 2.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 856 KiB

After

Width:  |  Height:  |  Size: 4.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 657 KiB

After

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 554 KiB

After

Width:  |  Height:  |  Size: 1.7 MiB

Some files were not shown because too many files have changed in this diff Show More