Compare commits
14 Commits
cc375d7a8c
...
beab2f8a21
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
beab2f8a21 | ||
|
|
9f6a77c7dd | ||
|
|
d4523bdd6a | ||
|
|
1b055031a7 | ||
|
|
b77202ad05 | ||
|
|
23c9d4f733 | ||
|
|
540847a09c | ||
|
|
e485b3aa19 | ||
|
|
3ceee48d02 | ||
|
|
de6e35a6e3 | ||
|
|
50f11b1cee | ||
|
|
6eb2968341 | ||
|
|
6b14185912 | ||
|
|
b13a703c02 |
34
.github/manual_lint.js
vendored
@@ -3,11 +3,45 @@ 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","");
|
||||
|
||||
@@ -96,6 +96,7 @@ 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)
|
||||
|
||||
|
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 549 KiB |
|
Before Width: | Height: | Size: 7.7 MiB After Width: | Height: | Size: 673 KiB |
|
Before Width: | Height: | Size: 6.9 MiB After Width: | Height: | Size: 178 KiB |
|
Before Width: | Height: | Size: 7.9 MiB After Width: | Height: | Size: 214 KiB |
|
Before Width: | Height: | Size: 4.9 MiB After Width: | Height: | Size: 84 KiB |
|
Before Width: | Height: | Size: 246 KiB After Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 444 KiB |
|
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 738 KiB |
|
Before Width: | Height: | Size: 2.0 MiB After Width: | Height: | Size: 839 KiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 321 KiB |
|
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 388 KiB |
|
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 330 KiB |
|
Before Width: | Height: | Size: 254 KiB After Width: | Height: | Size: 97 KiB |
|
Before Width: | Height: | Size: 771 KiB After Width: | Height: | Size: 67 KiB |
|
Before Width: | Height: | Size: 507 KiB After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 1.9 MiB After Width: | Height: | Size: 486 KiB |
|
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 458 KiB |
|
Before Width: | Height: | Size: 11 MiB After Width: | Height: | Size: 164 KiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 293 KiB |
|
Before Width: | Height: | Size: 3.2 MiB After Width: | Height: | Size: 825 KiB |
|
Before Width: | Height: | Size: 2.5 MiB After Width: | Height: | Size: 744 KiB |
|
Before Width: | Height: | Size: 2.2 MiB After Width: | Height: | Size: 586 KiB |
|
Before Width: | Height: | Size: 140 KiB After Width: | Height: | Size: 98 KiB |
|
Before Width: | Height: | Size: 2.5 MiB After Width: | Height: | Size: 754 KiB |
|
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 558 KiB |
|
Before Width: | Height: | Size: 2.5 MiB After Width: | Height: | Size: 705 KiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 372 KiB |
|
Before Width: | Height: | Size: 1.9 MiB After Width: | Height: | Size: 479 KiB |
|
Before Width: | Height: | Size: 3.3 MiB After Width: | Height: | Size: 799 KiB |
|
Before Width: | Height: | Size: 957 KiB After Width: | Height: | Size: 185 KiB |
|
Before Width: | Height: | Size: 143 KiB After Width: | Height: | Size: 41 KiB |
59
dishes/meat_dish/家庭版红烧肉/家庭版红烧肉.md
Normal file
@@ -0,0 +1,59 @@
|
||||
# 家庭版红烧肉的做法
|
||||
|
||||
家庭版红烧肉是利用一般家里厨房常见的材料做出美味的一道红烧肉菜肴。
|
||||
|
||||
预估烹饪难度:★★★★
|
||||
|
||||
## 必备原料和工具
|
||||
|
||||
* 五花肉
|
||||
* 冰糖(或者白砂糖)
|
||||
* 食用油
|
||||
* 生抽
|
||||
* 蚝油
|
||||
* 老抽
|
||||
* 姜片
|
||||
* 蒜头
|
||||
* 啤酒(或料酒)
|
||||
* 葱
|
||||
* 大料:八角,桂皮,香叶,草果
|
||||
* 干辣椒
|
||||
* 盐
|
||||
|
||||
## 计算
|
||||
|
||||
每份:
|
||||
|
||||
* 五花肉 300 g
|
||||
* 冰糖(白砂糖) 100 g
|
||||
* 食用油 200 g
|
||||
* 生抽 10 ml
|
||||
* 蚝油 5 ml
|
||||
* 老抽 5 ml
|
||||
* 姜片 2 片
|
||||
* 蒜头 3 颗
|
||||
* 料酒 100 ml
|
||||
* 葱 1 根
|
||||
* 盐 10 g
|
||||
|
||||
## 操作
|
||||
|
||||
* 将锅烧热,不放油,将猪皮朝锅底烫至焦黄(1—2min)。这步操作可以有效的去除猪肉的异味。
|
||||
* 用菜刀将猪皮刮干净,洗干净。
|
||||
* 焯水:将猪肉切成两段(先不切块),冷水下锅,放入姜片,料酒。开中火,将浮沫捞起倒掉。焯水3min.
|
||||
* 焯水结束把猪肉放凉,切成麻将块大小,厚薄均匀。
|
||||
* 锅烧热,不放油,将沥干水分的五花肉直接倒入锅中,中火,慢煎,直至五花肉猪油被煎出。这可以极大的减少五花肉的肥腻感,煎出的猪油可以用来炒菜,很香。
|
||||
* 锅留底油,开小火,开始炒糖色:将冰糖或白砂糖倒入锅中,不断搅拌,使冰糖融化速度加快,直至冰糖化为枣红色并不断冒出密集的小泡。
|
||||
* 保持最小火,倒入五花肉,将糖色均匀裹满每一块肉。(最小火是为了不使糖色炒过头而发苦)
|
||||
* 放入大料:干辣椒,八角,桂皮,香叶。与五花肉一起翻炒出香味。
|
||||
* 倒入生抽,老抽,啤酒,加开水没过五花肉。
|
||||
* 先不加盐,过早加盐会使瘦肉变柴。
|
||||
* 盖上锅盖,小火焖煮十五分钟后加盐,放入蒜子。
|
||||
* 勤查看锅中水的状态
|
||||
* 剩余少量汤汁时,将辅料捡去不要,大火收汁,不断翻动。
|
||||
* 装盘,撒上葱花。
|
||||
|
||||

|
||||
|
||||
|
||||
如果您遵循本指南的制作流程而发现有问题或可以改进的流程,请提出 Issue 或 Pull request 。
|
||||
BIN
dishes/meat_dish/家庭版红烧肉/红烧肉.jpg
Normal file
|
After Width: | Height: | Size: 270 KiB |
|
Before Width: | Height: | Size: 2.9 MiB After Width: | Height: | Size: 859 KiB |
|
Before Width: | Height: | Size: 159 KiB After Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 195 KiB After Width: | Height: | Size: 85 KiB |
|
Before Width: | Height: | Size: 2.3 MiB After Width: | Height: | Size: 585 KiB |
|
Before Width: | Height: | Size: 2.6 MiB After Width: | Height: | Size: 800 KiB |
|
Before Width: | Height: | Size: 3.1 MiB After Width: | Height: | Size: 847 KiB |
|
Before Width: | Height: | Size: 2.6 MiB After Width: | Height: | Size: 710 KiB |
|
Before Width: | Height: | Size: 3.4 MiB After Width: | Height: | Size: 924 KiB |
|
Before Width: | Height: | Size: 3.0 MiB After Width: | Height: | Size: 756 KiB |
|
Before Width: | Height: | Size: 3.2 MiB After Width: | Height: | Size: 822 KiB |
|
Before Width: | Height: | Size: 2.9 MiB After Width: | Height: | Size: 774 KiB |
|
Before Width: | Height: | Size: 2.3 MiB After Width: | Height: | Size: 529 KiB |
|
Before Width: | Height: | Size: 2.5 MiB After Width: | Height: | Size: 652 KiB |
|
Before Width: | Height: | Size: 2.7 MiB After Width: | Height: | Size: 717 KiB |
|
Before Width: | Height: | Size: 2.7 MiB After Width: | Height: | Size: 648 KiB |
|
Before Width: | Height: | Size: 2.8 MiB After Width: | Height: | Size: 710 KiB |
|
Before Width: | Height: | Size: 2.3 MiB After Width: | Height: | Size: 626 KiB |
|
Before Width: | Height: | Size: 3.2 MiB After Width: | Height: | Size: 915 KiB |
|
Before Width: | Height: | Size: 3.7 MiB After Width: | Height: | Size: 338 KiB |
|
Before Width: | Height: | Size: 5.0 MiB After Width: | Height: | Size: 524 KiB |
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 445 KiB |
|
Before Width: | Height: | Size: 12 MiB After Width: | Height: | Size: 124 KiB |
@@ -63,7 +63,7 @@
|
||||
|
||||
1. 将炉灶打开高火(见附录对于火力大小的说明),同时锅中加入橄榄油,热锅 15-30 秒。
|
||||
2. 腌制牛排。将海盐和黑胡椒均匀的洒在牛排的全部表面并用手涂抹,揉搓,使得盐和胡椒颗粒尽量嵌入到肉中。注意,腌制完成后牛排**需要立即下锅,不推荐提前腌制牛排**。这是因为外表涂抹的盐会析出牛肉中的水分,影响烹饪的同时丧失风味。
|
||||
3. 热锅至油温 6-8 成(参见[油温判断技巧](./../../../tips/advanced/油温判断技巧)),将牛排由近及远的缓慢放入锅中。
|
||||
3. 热锅至油温 6-8 成(参见[油温判断技巧](./../../../tips/advanced/油温判断技巧.md)),将牛排由近及远的缓慢放入锅中。
|
||||
4. 如果您使用了土豆作为配菜,可以将土豆放入碗中,然后放进微波炉加热 10 分钟,或者放入开水煮 3-5 分钟。
|
||||
5. 单面煎制 1.5 分钟(这个时间适用于 2-3cm 厚大约的牛排。如果您的牛排更薄,考虑将这个时间缩短为 1 分钟。如果您的牛排更厚,考虑将这个时间增加至 2-2.5 分钟。)
|
||||
6. 翻面,再煎制 1.5 分钟。
|
||||
@@ -87,7 +87,7 @@
|
||||
|
||||
### 火候的控制
|
||||
|
||||
煎制牛排是控制火候的艺术。限于篇幅,这里简单给出一些定量评估火力的方法和本文中用到的与火候相关的术语。更多内容参见[油温判断技巧](./../../../tips/advanced/油温判断技巧)。
|
||||
煎制牛排是控制火候的艺术。限于篇幅,这里简单给出一些定量评估火力的方法和本文中用到的与火候相关的术语。更多内容参见[油温判断技巧](./../../../tips/advanced/油温判断技巧.md)。
|
||||
|
||||
- 对于电磁炉:
|
||||
- 高火:功率 1.8Kw - 2.2kw。
|
||||
|
||||
|
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 6.2 MiB After Width: | Height: | Size: 538 KiB |
|
Before Width: | Height: | Size: 2.1 MiB After Width: | Height: | Size: 587 KiB |
|
Before Width: | Height: | Size: 2.8 MiB After Width: | Height: | Size: 928 KiB |
|
Before Width: | Height: | Size: 1.9 MiB After Width: | Height: | Size: 598 KiB |
|
Before Width: | Height: | Size: 4.1 MiB After Width: | Height: | Size: 426 KiB |
|
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 241 KiB |
|
Before Width: | Height: | Size: 1.6 MiB After Width: | Height: | Size: 663 KiB |
|
Before Width: | Height: | Size: 4.5 MiB After Width: | Height: | Size: 471 KiB |
|
Before Width: | Height: | Size: 879 KiB After Width: | Height: | Size: 136 KiB |
|
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 556 KiB |
|
Before Width: | Height: | Size: 2.8 MiB After Width: | Height: | Size: 882 KiB |
|
Before Width: | Height: | Size: 4.4 MiB After Width: | Height: | Size: 320 KiB |
|
Before Width: | Height: | Size: 5.8 MiB After Width: | Height: | Size: 382 KiB |
|
Before Width: | Height: | Size: 4.9 MiB After Width: | Height: | Size: 555 KiB |
|
Before Width: | Height: | Size: 4.2 MiB After Width: | Height: | Size: 532 KiB |
|
Before Width: | Height: | Size: 4.4 MiB After Width: | Height: | Size: 538 KiB |
|
Before Width: | Height: | Size: 2.1 MiB After Width: | Height: | Size: 479 KiB |
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 276 KiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 252 KiB |
|
Before Width: | Height: | Size: 3.6 MiB After Width: | Height: | Size: 309 KiB |
|
Before Width: | Height: | Size: 11 MiB After Width: | Height: | Size: 41 KiB |
|
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 364 KiB |
|
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 330 KiB |
|
Before Width: | Height: | Size: 10 MiB After Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 14 MiB After Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 13 MiB After Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 12 MiB After Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 11 MiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 12 MiB After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 12 MiB After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 2.7 MiB After Width: | Height: | Size: 751 KiB |
|
Before Width: | Height: | Size: 4.0 MiB After Width: | Height: | Size: 856 KiB |
|
Before Width: | Height: | Size: 2.5 MiB After Width: | Height: | Size: 657 KiB |
|
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 554 KiB |
|
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 554 KiB |
|
Before Width: | Height: | Size: 2.1 MiB After Width: | Height: | Size: 586 KiB |
|
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 525 KiB |
|
Before Width: | Height: | Size: 2.4 MiB After Width: | Height: | Size: 708 KiB |
|
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 564 KiB |
|
Before Width: | Height: | Size: 2.5 MiB After Width: | Height: | Size: 759 KiB |
|
Before Width: | Height: | Size: 2.5 MiB After Width: | Height: | Size: 760 KiB |