词汇:block
n. 块;街区;障碍物;大厦
相关场景
- LEON:
- ...I live in here... He breaks through. At the end of the corridor, near stairways, a little corpse, covered by a white sheet. Blood at one end. Two male nurses easily lift the corpse and lay it down on the stretcher. Leon's scared by that sheet, that little corpse. He lifts one end. Big sport shoes. Far from Mathilda's small feet. He's going to climb upstairs, but a cop blocks him.>> 这个杀手不太冷Léon: The Professional Movie Script
- SELFRIDGE:
- Yeah, she does, and she's on the next ship back if she tries to cock-block me on it.>> 阿凡达 Avatar Movie Script
- EXT. RAIN FOREST - TWILIGHT Through a screen of jungle canopy, we see the VALKYRIE thunder overhead. Camera TILTS with it until leaves block the view.>> 阿凡达 Avatar Movie Script
- ANGLE ON:
- The WITCH-KING laughs once again as he SMASHES his MACE downward ... EOWYN tries to block the BLOW but her SHIELD shatters into MANY PIECES!>> 指环王3:王者归来The Lord of the Rings: The Return of the King Movie Script
- [Camera pans over the Uruk-hai below and turns to the Causeway. A group of Uruk-hai is advancing on the Causeway towards the gate in tortoise formation, using their broad shields to block off attacks.]>> 指环王2:双塔奇兵The Lord of the Rings: The Two Towers Movie Script
- [Théoden stabs at a warg rider. Aragorn is knocked off Hasufel and attacked by Sharku. Aragorn tries to kill the warg rider but Sharku blocks his attempt and grabs Aragorn by the neck, while the latter is half-dragged by the warg.>> 指环王2:双塔奇兵The Lord of the Rings: The Two Towers Movie Script
- [Legolas jumps back as Gandalf rides out of the stable and over the plains of Rohan.] [Éowyn opens a chest in which lies a sword. She unsheathes it and begins to practice. She swings around and is met by Aragorn, who blocks her parry.]>> 指环王2:双塔奇兵The Lord of the Rings: The Two Towers Movie Script
- Aragorn attacks the leading URUK-HAI like a madman... he brings two down with his sword...leaping into the ruins as others close in on him. Frodo scrambles down the hillside, away from the fight. Aragorn battles the URUK-HAI, amongst the pillars and blocks of Amon Hen. Despite his bravery, he is quickly surrounded... SUDDENLY: ELVEN ARROWS smash into the URUK-HAI. Legolas races out of the woods, firing his bow.>> 指环王1:护戒使者 The Lord of the Rings: The Fellowship of the Ring Movie Script
- GANDALF (CONT'D) Go back to the shadow! The BALROG slashes at Gandalf with its Sword of flame...Gandalf blocks with his sword...a ringing clash and the Balrog's sword shatters into molten fragments!>> 指环王1:护戒使者 The Lord of the Rings: The Fellowship of the Ring Movie Script
- CUT TO:
- INT. BALIN'S TOMB, MORIA -- DAY Gimli rushes into another vast empty chamber... lit with a narrow shaft of sunlight, beaming in from a small hole near the roof. Dwarf and Goblin skeletons are piled high. In the far corner sits a stone walled Well. A shaft of light falls directly onto a stone table in the middle of the room: a single oblong block, about 4 feet high, topped with a great slab of white stone. Gimli falls to his knees...>> 指环王1:护戒使者 The Lord of the Rings: The Fellowship of the Ring Movie Script
- Sam rushes forward with a cry. He swings his sword at the Witch King, who blocks the blow with his own sword. Sam's blade shatters...the WITCH KING lashes out with his fist, sending Sam flying. Merry and Pippin, overcome with terror, throw themselves flat on the ground. THE RINGWRAITHS close in on Frodo...a Venomous whisper dances in his head... Frodo shuts his eyes and staggers back, desperately resisting the WRAITH'S WHISPERINGS... slow motion as his hand goes into his pocket and pulls out the ring. The 5 Ringwraiths utter a chilling SCREECH OF EXCITEMENT. Frodo is unable to resist any longer, falls to his knees and slips on the ring. He disappears.>> 指环王1:护戒使者 The Lord of the Rings: The Fellowship of the Ring Movie Script
- BILBO:
- 'Course he does, he's a Baggins...not some block headed Bracegirdle from Hardbottle!>> 指环王1:护戒使者 The Lord of the Rings: The Fellowship of the Ring Movie Script
- 34.Proc:
- code block is a Proc; 弱Proc,参数可以不一致。强Proc参数数量严格一致。lambda 为强Proc.
func= ->(x) {"Hello #{x}} ; func.call("a","b") #ArgumentError: wrong number of arguments(2 for 1);
def test(&block) block.lambda? end;>> Effective Ruby- 31. eval; instance_eval定义的是单例方法;:
- def glass_case_of_emotion x="I'm in a " + __method__.to_s.tr('_',' ') binding; binding 可以获得当前的临时域并把这个临时域封装到Binding对象中作为返回结果。这个指定的上下文是eval方法的第二个参数; eval("x", glass_case_of_emotion); class_eval很像是重新打开类,实际上是被定义在Module里面,only被模块和类使用。= moudle_eval; instance_eval访问实例变量;class_eval定义实例方法。 class Widget attr_accessor(:name, :quantity) def initialize(&block) instance_eval(&block) if block end ;;; w= Widget.new do |widget| widget.name= "Elbow Grease" ; @quantity = 0; end ; instance_exec, class_exec, moudle_exec; only accept 代码块, no string; object.instance_eval("@#{name} = DEFAULT")
module Reset def self.reset_var (object, name) object.instance_exec("@#{name}.to_sym") do |var| const = self.class.const_get(:DEFAULT); instance_variable_set(var, const) end ...>> Effective Ruby- 30.define_method or method_missing:
- 如果没有找到任何方法,method_missing就会被执行;但是因为又super的原因,这里会有迷惑。def method_missing(name, *args, &block) if @hash.respond_to?(name) @hash.send(name, *args, &block) else super end end; Hash.public_instance_methods(false).each do |name| define_method(name) do |*args, &block| @hash.send(name, *args, &block) end; h.public_methods(false).sort.take(5); 实现了Hash的方法。
AuditDecorator @logger = Logger.new($stdout); private def method_messing(name, *arg, &block) @logger.info("calling '#{name}' on #{@object.inspect}"); @object.send(name, *args, &block); define_method更加适合做这个了。 mod=Module.new do object.public_methods.each do |name| define_method(name) do |*args, &block| @logger.info("") @object.send(name, *args, &block) end end end extend(mod) ; 创建了一个匿名的模块。 —— define_method恢复了内省方法。。 respond_to? and respond_to_missing?>> Effective Ruby- Low motivation, low self-esteem. high anxiety: the block goes up. the filter goes up. the input can not get in.both getting comprehensible input, one makes progress, the other doesn't. One is open to the input, the other is closed.>> comprehensible input - One way only one way to acquire a language
- If the student isn't motivated, if self-esteem is low, if anxiety is high , if the student is on the defensive, if the student thinks the language class is a place where his weaknesses will be revealed. he may understand the input, but it won't penetrate. It won't reach those parts of the brain that do language acquisition. A block keeps it out. We call this block the affective filter.>> comprehensible input - One way only one way to acquire a language
- flow ; flown , rockall (all of rock); a block of flats; too dangerous ; even ; ever;>> Taxi
- RHETT:
- Observe my hands, my dear. I could tear you to pieces with them. And I'd do it if it'd take Ashley out of your mind forever. But it wouldn't. So I'll remove him from your mind forever this way. I'll put my hand so. One on each side of your head. And I'll smash your skull between them like a walnut. That'll block him out.>> 飘 Gone with the Wind Movie Script
- Once he landed on the roof of a block of flats and on another occasion, he landed in a deserted car park.
有一次他降落在一栋公寓楼的屋顶上,另一次他又降落在一个废弃的停车场。>> Taxi- IN COLLAPSIBLE C:
- BRUCE ISMAY has his back to the ship, unable to watch the great steamer die. He is catatonic with remorse, his mind overloaded. He can avert his eyes, but he can't block out the sounds of dying people and machinery.
布鲁斯·伊斯梅背对着船,无法看着那艘大船死去。他因悔恨而精神紧张,头脑超负荷。他可以转移目光,但他无法屏蔽垂死的人和机器的声音。>> 泰坦尼克号 Titanic (1997) Movie Script- CUT TO:
- 229 INT. STAIRWELL Jack and Rose pound up the steps as white water swirls up behind them. PULL BACK to reveal that a steel gate blocks the top of the stairs. Jack SLAMS against the fate, gripping the bars.>> 泰坦尼克号 Titanic (1997) Movie Script
- Tommy has his hands on the bars of the steel gate which blocks the head of the stairwell. The crew open the gate a foot or so and a few women are squeezing through.>> 泰坦尼克号 Titanic (1997) Movie Script
- The boat lurches as the falls start to pay out through the pulley blocks.>> 泰坦尼克号 Titanic (1997) Movie Script
- CUT TO:
- 36 EXT. SOUTHAMPTON DOCKS / TITANIC - DAY A VIEW OF TITANIC from several blocks away, towering above the terminal buildings like the skyline of a city. The steamer's whistle echoes across Southampton.>> 泰坦尼克号 Titanic (1997) Movie Script