Sunday, August 31, 2014

牛排



牛肉的种类
菲力,沙朗,肋眼,纽约客,丁骨,红屋,肋排,牛小排……这些牛排屋菜单上常见的字
眼,全指的是牛排肉取材的部位。啊哈,又想选菲力吗?

其实,真正的牛排行家,会依自己喜

好的口感质地,来选择适合部位的牛排。而且通常,都不会是菲力


菲力牛排(Filet Mignon):是 来自牛的腰部的小块里嵴肉(Tenderloin),相当於猪的里
肌肉部位。

Filet Mignon

是法文字,是「小块里嵴肉」的意思,大块一点的里嵴肉称为Tenderloin Steak。菲力是牛身中运动量最少的一块,
所以质地超嫩得没话说,相对也精瘦得油花极少。很多人认为菲力高贵又不会太肥,实际上菲力纯粹是因每头牛就那
 一小条而“物稀为贵”,太嫩太瘦的肉质,也意味著较缺乏肉汁及咬劲,并且烹煮过头一点就显得老涩,
反而与讲究多汁嚼感的本地食客不太合。因此多推荐给牙口 不好,消化较弱的老人家或小朋友食用。


*

肋眼牛排(Rib’s Eye Steak):另 一种便宜大碗,口感又受行家肯定的牛排是肋眼
(Rib Eye),顾名思义,它取自牛肋脊部位,或许比不上腰脊肉那样嫩,但“骨边肉”向来好吃,
肋眼就有这种味道,油油嫩嫩的肉丝中夹著Q而有劲的油筋,比沙朗 耐嚼,比菲力够味,而
且油花十分丰郁,请年轻男食客享用此味,好评总不断。肋眼牛排是取自牛的第6根到 第12
根肋骨附近的肉,特色是多汁、肉嫩、而且有许多脂肪夹杂,红白相间像大理石一样称为(
marbled steak)。通常上桌的肋眼牛排是已经去骨的

沙朗牛排 (sirloin steak):就 像猪肉要带点肥才会好吃,牛排行家偏好的,反而是带点油花
嫩筋的部位,一般简称为“沙朗”,基本上皆取自牛只背脊一带最柔嫩的牛肉,但其中各有
千秋。例如 和菲力同属於“前腰脊肉”的纽约客,它的肉质纤维较粗,微微带有嫩筋,油花
分布不那均匀漂亮,却是标准的“嫩中带腴”,“香甜多汁”,嚼起来满口肉感,非 常过
瘾,豪迈又具个性的风味,是许多行家最爱。 正宗的沙朗则取自“後腰脊肉”,也是牛只
运动量极少的部位,肉质p细嫩还油花满布,像大理石纹般美动人;
相 对於菲力的精瘦,好的沙朗是超嫩鲜腴到入口即化的地步,让食客第一口就惊於牛肉的极致鲜甜


点用的术语:牛排的烹调方式有煎(Grill)与烤(Roast)。
Grill
是烤架的意思,将牛排放在炭火上直接加
热叫做煎,把牛排放到烤箱裡加热叫做烤(Roast),



以下是介绍煎製牛排的生熟度
* Rare、Very Rare:极生,煎的(Grill)时间不超过3分钟。外表有烧烤过的痕迹,但是裡面
还是冷得几乎没有受到热度。切开时还有血水渗出,但是肉质极嫩,口感多汁。

*  Rare:生,煎的时间不超过4分钟。外表有烤焦痕迹,裡面肉质呈现原来红色,但入口有热
度。切开时还有血水渗出,但是肉质极嫩,口感多汁。

* Medium Rare:中生,煎的时间6~8
分钟。外表有烧烤过的痕迹,但是裡面已经全面加热,
可以感受到相当热度,但是肉质还是呈现红色。切开时还有稍许血水渗出,但是肉质嫩,口
感多汁。

*  Medium:稍熟,通常说的5-6分熟。煎的时间8~10分钟。外表烧烤呈深褐色,但是裡面除
了中间部分呈现粉红色外,外围部分呈现烧烤过的澹褐色。切开时流出褐色肉汁,需要咬上
数口才能嚥下。


* Medium Well:中熟,7分熟。煎的时间10~12
分钟。外表烧烤呈深褐色,但是裡面核心部分
呈现少许红色外,外围部分呈现烧烤过的褐色。切开时流出褐色肉汁,需要咬上数口才能嚥下。

 * Well Done:全熟,煎的时间12~15分钟外表已有明显烤焦痕迹,热度已经渗入整片肉,裡
面肉色因为高度加热呈现深褐色。咬劲很够才能下嚥。

==========================

牛排调味料(Condiment)

有许多人食用牛排喜欢原味,不加任何调味料。但也有人喜欢家 一些调味料,冲澹牛排的血
腥味。在一般大众化的牛排馆,供应瓶装有品牌的牛排酱(
Steak Sauce),最有名的两个牌子是 A1 Steak Sauce 与Heinz 57 两种。非大众化的牛排馆供应由厨师自製的牛排酱汁,如蘑
菇酱汁(Wild Mushroom Source)或者黑胡椒酱汁(Black Pepper Sauce)。

===========================

Waiter:What kind of steak you prefer for the dinner?

Guest:Mmm, they all look appealing(诱人的), do you have any suggestion?



Waiter:I recommend the Chef’s Special, the Prime Grade Fillet Mignon.(
Prime等级的菲力牛排) It is very light and tender.

Guest:What do you mean by Prime Grade?

Waiter:It means the best quality beef according to the grading system made by the US Department
of Agriculture.

Guest:

I see, so I take you’re advice, let’s try your Filet Mignon.

Waiter:Thanks, how do you want to your steak cooked? Most guests choose Medium Rare(5分熟).

Guest:Will it be too rare? I am not used to rare food. 

Waiter:Not at all, you will find that is the meat is so tender and juicy. 

Guest:I’ll try, don’t let me down.

Waiter:Yes, Sir. What kind of accompaniments you choose to match your steak? We have potato,
vegetables, and mushrooms.

Guest:Do you have baked potato, broccoli, and some mushrooms?

Waiter:We certainly do. Any condiment(调味料)?
Guest:No, thank you, I prefer the original taste of the steak.
Waiter:Do you want some wine to go with the steak?

Guest:A glass of your house wine will be fine
Waiter:Thanks for your order, the steak will be ready in 15 minutes.

Waiter:Here is your steak, please be careful of the hot plate. Enjoy your dinner. 
Guest:Thanks a lot. 


Waiter:How is the dinner? Do you like the steak?
Guest:Terrific, everything is so tasty


===============================

Different between Prime Rib, Filet mignon and top serloin

Prime Rib: = rib eye
-quite a bit of fat, but great flavor
-bone-in steak, cut from 6th to 12th rib

Filet mignon:
-little to no fat
-very tender. Someone think it is too soft

Top serloin:
-hard to screw up


======================================
第一次试keg
网友说比较安全的牛排馆。
电话定的7:30的位子。7:15到并不忙。
先上的小面包很香。服务生看受欢迎又上了一份.
Keg Caesar. 女儿点的dinner带的。的确不错

我的6oz沙郎牛排,名不虚传的费牙

Filet mignon, 嫩而多汁,下回吃这个


===

Saturday, May 3, 2014

Heart bleed with Python

Programming is fun
When the work is done
if you wanna make your work also fun:
      use Python!




http://pen-testing.sans.org/blog/pen-testing/2014/04/16/sans-python-pen-testers-exploit-heartbleed-vulnerabilities-sec573-2

Tennis Lesson Step by Step

Tennis Lesson Step by Step


[This video is for quickstart 1 and 2, under 10 years old.]
QuickStart 3 can play the whole distance.

Tennis mom: To get them involved with each other and play together will help them in long run and play the game better. Team environment make it much easier.


[QuickStart Tennis - Ages 7 & 8: Instant Rally Progression]

The foundation of the game is to learn how to play the forehand.
a, soft rally, tapping the ball up.
b, head level high, one after another
c, alternate hit, with the partner
d, nice movement.
e, over the line and then over the net
f, put the racquet together and one step back, and give them a target.


[QuickStart Tennis - Ages 7 & 8: Roll Ball]

a, roll the ball on the court, stop with the racquet and roll it back

[QuickStart Tennis - Ages 7 & 8: Six Serve Options]

 a, when we start to play, what is the most important? we have to start with serving.

b, option 1: behind the line, under hand serving without bouncing

c, option 2: over hand serve, another legal serve

d, option 3, drop the ball and hit to the other side of the court.

e, option 4, coach drop the ball.

f, option 5, coach toss the ball in

[QuickStart Tennis - Ages 7 & 8: Dynamic Warm Up]

a, jogging around the place and toss the ball form side to side

b, slower the feet and faster the hand / and reverse

c, back to regular jog and regular juggle

d, skip and juggle

e, high knee and juggle  (freeze, and face me)

f,  pass the ball around the left leg / right leg

g, toss the ball in the air, jump up and catch the ball in the air

h, dribble the ball with the left hand and right hand

i, stay in the blue area, dribble without running into anybody.

j, grab a partner, toss the ball back and forth


 


 



Tuesday, March 4, 2014

Linux Memory information

[root@localhost ~]# cat /proc/self/status
Name: cat
State: R (running)
SleepAVG: 88%
Tgid: 5783
Pid: 5783
PPid: 5742
TracerPid: 0
Uid: 0 0 0 0
Gid: 0 0 0 0
FDSize: 256
Groups: 0 1 2 3 4 6 10
VmSize: 6588 kB
VmLck: 0 kB
VmRSS: 400 kB
VmData: 144 kB
VmStk: 2040 kB
VmExe: 14 kB
VmLib: 1250 kB
StaBrk: 0804e000 kB
Brk: 088df000 kB
StaStk: bfe03270 kB
ExecLim: 0804c000
Threads: 1
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000000000000
CapInh: 0000000000000000
CapPrm: 00000000fffffeff
CapEff: 00000000fffffeff


输出解释
参数 解释
Name 应用程序或命令的名字
State 任务的状态,运行/睡眠/僵死/
SleepAVG 任务的平均等待时间(以nanosecond为单位),交互式任务因为休眠次数多、时间长,它们的 sleep_avg 也会相应地更大一些,所以计算出来的优先级也会相应高一些。
Tgid 线程组号
Pid 任务ID
Ppid 父进程ID
TracerPid 接收跟踪该进程信息的进程的ID号
Uid Uid euid suid fsuid
Gid Gid egid sgid fsgid
FDSize 文件描述符的最大个数,file->fds
Groups
VmSize(KB) 任务虚拟地址空间的大小 (total_vm-reserved_vm),其中total_vm为进程的地址空间的大小,reserved_vm:进程在预留或特殊的内存间的物理页
VmLck(KB) 任务已经锁住的物理内存的大小。锁住的物理内存不能交换到硬盘 (locked_vm)
VmRSS(KB) 应用程序正在使用的物理内存的大小,就是用ps命令的参数rss的值 (rss)
VmData(KB) 程序数据段的大小(所占虚拟内存的大小),存放初始化了的数据; (total_vm-shared_vm-stack_vm)
VmStk(KB) 任务在用户态的栈的大小 (stack_vm)
VmExe(KB) 程序所拥有的可执行虚拟内存的大小,代码段,不包括任务使用的库 (end_code-start_code)
VmLib(KB) 被映像到任务的虚拟内存空间的库的大小 (exec_lib)
VmPTE 该进程的所有页表的大小,单位:kb
Threads 共享使用该信号描述符的任务的个数,在POSIX多线程序应用程序中,线程组中的所有线程使用同一个信号描述符。
SigQ 待处理信号的个数
SigPnd 屏蔽位,存储了该线程的待处理信号
ShdPnd 屏蔽位,存储了该线程组的待处理信号
SigBlk 存放被阻塞的信号
SigIgn 存放被忽略的信号
SigCgt 存放被俘获到的信号
CapInh Inheritable,能被当前进程执行的程序的继承的能力
CapPrm Permitted,进程能够使用的能力,可以包含CapEff中没有的能力,这些能力是被进程自己临时放弃的,CapEff是CapPrm的一个子集,进程放弃没有必要的能力有利于提高安全性
CapEff Effective,进程的有效能力

Thursday, January 2, 2014

Learn Python the hard way


Programming is fun
When the work is done
if you wanna make your work also fun:
      use Python!



######Exercise 1: A Good First Program

######Exercise 2: Comments And Pound Characters
a, How do I comment out multiple lines?
[Put a # in front of each one.]

######Exercise 3: Numbers And Math

######Exercise 4: Variables And Names
a, What is the difference between = (single-equal) and == (double-equal)?
[The = (single-equal) assigns the value on the right to a variable on the left. The == (double-equal) tests if two things have the same value]

######Exercise 5: More Variables And Printing (embedded a variable in the string)
a, print "He's got %s eyes and %s hair." % (my_eyes, my_hair)  ==> multiple format
b,  %r is a very useful one. It's like saying "print this no matter what."

######Exercise 6: Strings And Text
######Exercise 7: More Printing (watch the comman at the end)
print end1 + end2 + end3 + end4 + end5 + end6,
print end7 + end8 + end9 + end10 + end11 + end12

######Exercise 8: Printing, Printing
formatter = "%r %r %r %r"

print formatter % (1, 2, 3, 4)
print formatter % ("one", "two", "three", "four")

######Exercise 9: Printing, Printing, Printing
######Exercise 10: What Was That?
a, This use of the \ (backslash) character is a way we can put Difficult-To-Type characters into a string.
\\     Backslash ()
\'     Single-quote (')
\"     Double-quote (")
\a     ASCII bell (BEL)
\b     ASCII backspace (BS)
\f     ASCII formfeed (FF)
\n     ASCII linefeed (LF)
\N{name}     Character named name in the Unicode database (Unicode only)
\r ASCII     Carriage Return (CR)
\t ASCII     Horizontal Tab (TAB)
\uxxxx     Character with 16-bit hex value xxxx (Unicode only)
\Uxxxxxxxx     Character with 32-bit hex value xxxxxxxx (Unicode only)
\v     ASCII vertical tab (VT)
\ooo     Character with octal value ooo
\xhh     Character with hex value hh

######Exercise 11: Asking Questions
x = int(raw_input())  and raw_input()

######Exercise 12: Prompting People
a, [pydoc -p 80]
b, [age = raw_input("How old are you? ")]
c, install new package requests:
---download: curl -OL https://github.com/kennethreitz/requests/tarball/master
---tar -xvf xxx.tar
---python setup.py install

######Exercise 13: Parameters, Unpacking, Variables
a, [Remember that an important skill is paying attention to details.]  <=================
b, code:
---from sys import argv
---script, first, second, third = argv  ==>Easier way
---print "The script is called:", script

######Exercise 14: Prompting And Passing
likes = raw_input(prompt)

######Exercise 15: Reading Files
######Exercise 16: Reading And Writing Files
######Exercise 17: More Files
######Exercise 18: Names, Variables, Code, Functions
######Exercise 19: Functions And Variables
######Exercise 20: Functions And Files
######Exercise 21: Functions Can Return Something
######Exercise 22: What Do You Know So Far?
######Exercise 23: Read Some Code
######Exercise 24: More Practice
######Exercise 25: Even More Practice
######Exercise 26: Congratulations, Take A Test!
######Exercise 27: Memorizing Logic
######Exercise 28: Boolean Practice
######Exercise 29: What If
######Exercise 30: Else And If
######Exercise 31: Making Decisions
######Exercise 32: Loops And Lists
######Exercise 33: While Loops
######Exercise 34: Accessing Elements Of Lists
######Exercise 35: Branches and Functions
######Exercise 36: Designing and Debugging
######Exercise 37: Symbol Review
######Exercise 38: Doing Things To Lists
######Exercise 39: Dictionaries, Oh Lovely Dictionaries
######Exercise 40: Modules, Classes, And Objects
######Exercise 41: Learning To Speak Object Oriented
######Exercise 42: Is-A, Has-A, Objects, and Classes
######Exercise 43: Gothons From Planet Percal #25
######Exercise 44: Inheritance Vs. Composition
######Exercise 45: You Make A Game
######Exercise 46: A Project Skeleton
######Exercise 47: Automated Testing
######Exercise 48: Advanced User Input
######Exercise 49: Making Sentences
######Exercise 50: Your First Website
######Exercise 51: Getting Input From A Browser
######Exercise 52: The Start Of Your Web Game
Advice From An Old Programmer
Next Steps
Appendix A: Command Line Crash Course