做菜练习

1. 宫保鸡丁. (黄瓜丁, 鸡丁, 肉丁)

先加肉丁, 再加调料

2. 椒盐虾. (虾不能用水化开)

http://www.haodou.com/recipe/249702

3. 青豆, 肉丁, 土豆丁

4. 回锅肉 (蒜茸豆鼓酱)

没有蒸肉, 肉变硬了, 而且骚味大.

  • 最好选用肥瘦相间的新鲜五花肉,太肥则腻,太瘦则柴;

  • 煮肉要调味,白水煮肉很难煮出肉香,因此煮肉的水里要加葱姜蒜、八角、花椒、料酒烧开,煮出香味以后才放入肉煮;

  • 肉不要煮太久,6成熟即可;

  • 切肉要有技巧,太厚太薄都不行,刚出锅的肉很烫,放入冰箱冷冻几分钟后就很容易切了;

  • 切好的肉片放凉了以后容易粘连,放入煮肉的原汤里浸泡汆烫,不仅能使肉片散开,而且能使肉片粘上一定的水分,保持肉片的软嫩,沾上一点水即可,不要太多以免爆锅;

  • 郫县辣豆瓣一定要剁碎成蓉,才能炒出漂亮的黄油;

  • 炒肉片的时候放入的油要适量,太多油腻,太少炒出来的肉质干柴不丰润;

  • 郫县豆瓣非常咸,注意生抽得用量,如果把调味用的糖换成甜面酱更好

5. 苜蓿肉 (肉+ 蛋+ 木耳)

6. 清蒸青斑鱼

7. 水煮鱼

8. 牛尾西红柿汤

9. 火鸡肚子放入牛肉 (腱子肉)

10. 西红柿菠菜鸡蛋汤

原料:菠菜两三棵切长段,中号西红柿一个切片,鸡蛋两个打散,香菜若干切小断,虾皮若干,

调料:盐少半勺,酱油几滴,香油,鸡精,粉芡

做法:烧水若干,小号锅三分之一强;

烧热一会后放入西红柿;

等烧开放入调好的粉芡;

稍滚放入鸡蛋,用盛饭少往锅里泼鸡蛋,这样鸡蛋成为薄片,好看又好吃;

打完鸡蛋,简单搅两下,马上放菠菜,虾皮;

在滚开,放盐,滴两滴酱油,放香菜;

出锅放香油

11. 青椒蟹棒炒鸡蛋
原料:蟹棒、青椒切块,鸡蛋
做法:
1、鸡蛋加盐炒熟拿出;
2、加油烧热,放蟹棒、青椒炒熟,放鸡蛋,加盐、味精出锅即可。

 

 

 

 

Adding a Processing indicator with Prototype.js

Here’s a simple method to add a Processing/Loading/Working indicator to indicate when an Ajax request is being processed with prototype.js.

First, define a hidden div (or other preferred HTML element) which will be displayed to indicate that some background processing is going on. Mine happens to look like:

<div id="loading" style="display:none">Loading...
<div style="background-color: white; position: absolute; top: 0px; right: 0px; width: 5px; height: 5px; cursor:pointer;"
 onclick="$('loading').hide()"></div>
</div>

In my code, I added another div on the upper right corner which I can click to close this indicator in case something goes wrong with the Ajax event handling which I’ll provide in a moment.

I then added a little CSS magic to make it look the way I wanted. In my case, I want the indicator to be on top of everything, centered on the page, with a processing image () on the right side of the text. The background color is white with a double gray border and large, bold font.

#loading {
 z-index: 100;
 position: absolute;
 top: 40%;
 left: 40%;
 background-image: url("../images/progress-running.gif");
 background-repeat: no-repeat;
 background-position: 5px;
 background-color: white;
 padding-left: 25px;
 padding-top: 8px;
 border-style: double;
 border-color: #c0c0c0;
 width: 120px;
 height: 30px;
 font-size: 1.5em;
 font-weight: bolder;
}

Ok, so now I have the indicator I want to popup. This can be tailored to your preferences. Now, you simply tell prototype to display it whenever it is processing an Ajax request. This is done by registering some event listeners to the prototype Ajax class.

  // register event listeners on the Ajax requests to show/hide the processing indicator
 Ajax.Responders.register({
    onCreate: function() {
  if (Ajax.activeRequestCount === 1) {
    $('loading').show();
   }
    },
    onComplete: function() {
   if (Ajax.activeRequestCount === 0) {
    $('loading').hide();
   }
    }
 });

That’s it! Now you should get an indicator whenever you issue an Ajax request that goes away whenever the processing is done.

学习 英语 中.

have you used the bowl made of human skull?”

“have you played a drum made of human skin?”

“have you played any instrument made by human bones such as leg bone? “

well, these questions of course would be very aggressive and offensive but that yankee seems very arrogant and insulting to ask me questions first and shown me no respect.Sorry, I then became untouchable!