词汇:not
adv. 不(用于否定句)
相关场景
- We're not gonna change that for this little example, but now let's check in that PWA files, and then let's deploy to production one more time. and as you can see, look in the top right corner, when I reload it, we now have that little install icon in Chrome. and if I click that little install icon, I'm gonna get this prompt, and boom! I have a PWA running in production for my Rails application.>> Rails 8.0.1 You are in good company
- Because we had not run our DB seeds! Now, I could run DB seed in production, but let me show you another way doing it .>> Rails 8.0.1 You are in good company
- All right , let's save that and hop back,and see a reload here, now, we have a sign out button, and we can sign out, and that's all it should be. let's deploy this to production, we're gonna just check this thing into Git, deploy it straight to production, go back to our alpha.software...Oops! That didn't work. Why did that not work?>> Rails 8.0.1 You are in good company
- So, it's no gonna show that button if we're not already authenticated, which is good because this layout is also used for login.>> Rails 8.0.1 You are in good company
- Everything else by default will be behind the authentication lock! There's also a rate limit to make sure that people don't bombard you with attempts to log into users do not have access to.>> Rails 8.0.1 You are in good company
- What it does not give you is a signup flow, because that's usually quite specific to a given application. So, we leave that as an exercise for the reader!>> Rails 8.0.1 You are in good company
- If we go back here and reload not in production, boom! We are live in production with our whole setup, everything is working, we can upload the active storage files directly to it.>> Rails 8.0.1 You are in good company
- There was a 404 here! That's because if we go back to out route file, I have not defined route! And in production, you're not gonna get that screen we saw with the Rails version and the Ruby version, that is only for development.>> Rails 8.0.1 You are in good company
- Not realizing who she was.>> 57-Can I Help You, Madam?
- It's the willingness to try and all you need is to know if you try you're not gonna die, you're just gonna learn something.
这是尝试的意愿,你所需要的就是知道如果你尝试了,你就不会死,你只会学到一些东西。>> Confidence is action- after going out of his way to help his friend get the job he felt not appreciated but used>> 55-Not a Gold Mine
- Kamal:
- All right, that is very neat. Now, let's go to production! Because of course, you're not just here to create a Hello World app that runs on your own machine, you want to get this out into the world! And rails8 and forward ships with Kamal, a simple tool for deploying your web application anywhere.>> Rails 8.0.1 You are in good company
- All right, let's save that and hop back into our browser. Oop! I made a mistake here! When we generated the resource,it added a route for the new comments,but that route was not nested by default. We actually need to go into our routes.rb, that resource we added needs to be nested.>> Rails 8.0.1 You are in good company
- But we can also have a look at a specific file, you'll see it matches exactly what we have back there. That's not a development setup! That is what we're shipping in production. There is no minification, there's no transpilation, there's none of that nonsense because you just don't need it.>> Rails 8.0.1 You are in good company
- 12:47:
- but everything else, turbo and stimulus, if they're not changing, we're not downloading that. That is why no building is such an efficient way of dealing with caching.>> Rails 8.0.1 You are in good company
- digesting:
- You don't need anything beyond what Rails ship you with already, because Rails 8 is all no build by default! That means there's not a transpiler, that means there's not a bundler, these files are shipped directly to the browser over HTTP2, so it's nice and fast. And the import map is what allows us to refer to these files by their logical names while still doing far future digesting, so that they load really quick,and such that they're easily compatible with CDNs and all that good stuff.
除了Rails已经提供的内容之外,你不需要任何东西,因为Rails 8默认情况下都是无构建的!这意味着没有转译器,也就是说没有打包器,这些文件通过HTTP2直接发送到浏览器,所以它既好又快。导入映射允许我们通过这些文件的逻辑名称引用它们,同时仍在进行未来的消化,这样它们加载得非常快,并且很容易与CDN和所有好东西兼容。>> Rails 8.0.1 You are in good company- Now, let's install something else here, let's install action_text, that is one of the frameworks that's part of Rails, but it's not set up by default, but you can set it up by running rails action_text:install, that's going to give you a WYSIWYG editor. That's currently powered by Trix! The open source, what you see is what you get editor made in JavaScript! And it also sets up active storage!>> Rails 8.0.1 You are in good company
- This is the thing you're gonna see, when you start up a new Rails application, it'll tell you which version you're on, both for the ruby version, the Rails version, and the Rack version. That's running on localhost:3000 by default. But if we do slash posts here, you'll see the scaffold interface that we generated. Now, this is the index action, the one we just looked at in the view and from the controller. But if we click the New, you see here we have form for creating the new post with its title and its body. it's quiet basic, to put it mildly right now, but all the actions are mapped out. This scaffold interface is not meant for shipping into production, it is meant to showing you how to build a Rails application with the basics, and then you make it look pretty, you make it look nice.>> Rails 8.0.1 You are in good company
- this has not been easy 现在完成时(Present perfect)过去发生并且已经完成的动作对现在造成影响或后果,过去某一时间开始并一直持续到现在并且有可能还会持续的动作或状态。 翻译为这一直都不容易,比如说我国的复兴之路从开始到现在都不容易 this is not easy 翻译为不容易,比如说成功不容易,是过去,现在,将来都不容易>> 52-A Pretty Carpet
- 1.难点练习答案 A 1 which 2 denied 3 fetched4 too 5 jobs 6 One…a…who 7 past 8 next 9 watching 10 continually 11 remarked 12 robbed B (sample sentences)I'm sorry to cause you such trouble. Have you ever seen such beautiful pictures before? It's such a nice day that we can'tstay indoors! I'm feeling so tired that I shall have to stop work. C 1 He had no sooner come home than they rang him up from the office. 2 The plane had no sooner taken off than it returned to the airport. D 1 made 2 do 3 make 4 do 5 Do 6 make 7 made8 does E 1 out 2 up 3 up 4 up…away 5 up 6 out 7 back 8 up with 9 up with F (sample sentences) If you don't stop that noise at once, you'll have to go to bed. I'm at a loss to know what to do. It's stopped raining at last! He's very busy and can't accept any more work at present. I'll be at home tonight. 2.多项选择题答案 1. c 根据课文第3-4行 I tried to say something, but my mouth was full of cotton wool 可判断只有c. There was something in his mouth 最符合课文的真实情况,这也是作者不能讲话的唯一原因,其他3个选择都不是原因,所以只能选c. 2. b 根据课文第8-10行I suddenly felt very worried,…when the dentist at last removed the cotton wool… I was able to tell him that he had pulled out the wrong tooth 可以判断b. he thought the dentist had pulled out the wrong tooth 是作者着急的唯一原因,其他3个选择都不是他着急的原因,所以选b. 3. c 只有选c. cannot 才能使句子同前一句It is impossible for him to answer.(他是不可能回答的)意义相同,所以c.是正确答案.a. might not 与d .may not 都不符合题目意思. b. could not 时态不对. 4. b 本句是将前一句中表示命令请求的间接引语变成了直接引语(祈使句)。 a. To rest 是动词不定式,不能做祈使句的谓语; c. Do you rest是疑问句,不能表示请求; d. Resting 是动名词也不能做祈使句的谓语; 只有b. Rest 可以做祈使句的谓语,所以选b. 5. a 本句是将前一句中的间接疑问句...how my brother was 变成直接疑问句,因此时态和语序都要作相应改变。 b. your brother was, c. your brother is 都不是疑问句语序,所以都不对。 d. was your brother 语序正确,但时态不对:间接引语是过去时,直接引语应该是现在时才正确。只有a. is your brother 语序和时态都正确,所以应该选a. 6. c 这是一个疑问句,a. It likes you , b. Does it like you 和d. Like you 这3个选择都意思不通,不符合题目意思,只有c. Do you like 意思通顺,符合疑问句语序,因此只能选c. 7. b 介词by 后面加动名词可以表示方式。 本句只能选b. nodding(点头),因为它是动名词,可以放在by 后面作方式状语。 其他3个选择都不能放在介词by 后面,所以选b. 8. b 本句需要选一个同前一句中时间短语for a while (一会儿)意义相同的短语。a. quietly (安静地),c. while he spoke to me (当他跟我说话时),d. for a long time (很久)这3个选择都与for a while 的意义不符。 只有b. for a short time (短时间)同for a while 的含义相同,因此选b. 9. d a. assembly (集会,聚会),b. gathering (聚集,收集抽象的东西,如消息等),c. congregation (聚集,聚合) , d. collection (收集,收藏如邮票,硬币等),只有d最适合这个句子,其他3个选择都不能与火柴盒连用,所以选d. 10. a 前一句 I nodded(我点头)表示同意,只有a. agreed (同意)才是这一动作所表达的含义。b. said no (说不),c. shouted (高喊),d. whispered (耳语) 这3个选择都不是nodded所表达的含义,所以选a. 11. b 本句需要选出同前一句中的Meanwhile(同时)意义相同的词或短语。 a. However(不过,然而);b. In the mean time(同时);c. Never the less(尽管如此,不过);d. Although(虽然);这4个选择中只有b.同Meanwhile 的意义相同,所以选b. 12. c a. took it off (脱下),b. took it in (理解),c. took it out (取出),和d. took it up (从事于)4个选择中只有c. took it out 同前一句He removed the cotton wool from my mouth(他将药棉从我嘴里取出)的含义相同,所以选c.>> 48-Did You Want to Tell Me Something?
- He was so surprised at being discovered that he did not even try to run away.
He was astonished at what he found.>> 46-Expensive and Uncomfortable- Roma was not built in one day.>> 43-Over the South Pole
- you're a minority in this country, and they tell you're oppressed, and you tell them actually, no, I'm not. All the white liberal chicks and guys get all mad at me.>> 41-Do You Call That a Hat
- If you live in the area, you qualify for a parking permit. This man was not qualified to drive and was speeding.>> 41-Do You Call That a Hat
- felling stupid is a barriers to us actually sitting down and doing the work. So by pre committing to practice whatever it is that you want to do for at least 20 hours.you will be able to overcome that initial frustration barrier, and stick with the practice long enough to actually reap the rewards. that's it. it's not rocket science.>> 20 hours and 4 steps to rapid skill acquisition