摘要: 1. I am returning this book. 我想要还这本书. 借书叫 borrow a book, 还书是 return a book, 不过有趣的是, 他们不会说 "I return the book.", 而会说 "I am returning this book." 因为事实上现在进行式有未来的意思在里面, 所以这句话就等于 "I will return this book."... 阅读全文
posted @ 2009-08-24 11:18 gracestoney 阅读(133) 评论(0) 推荐(0) 编辑
摘要: Windows PowerShell每周提示(22):使用Get-History进行自动化脚本编写Id CommandLine-- -----------1 cd c:"scripts2 get-childitem -recurse3 cls1. 一旦你知道了某个命令编号那么你能够将该值传递给Invoke-History cmdlet然后重新运行脚本.(得到C:"script文件夹中的所有项目的列... 阅读全文
posted @ 2009-08-24 11:08 gracestoney 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 1. You want to go to see a movie? 你要去看电影吗?这样的句子看似不合文法, 但却是老美天天在用的句子. 他们有时候要说一个问句, 就直接把肯定句的尾音提高就成了疑问句. 其实正确的说法应该是, "Do you want to go to see a movie?" 但可能是太冗长了点, 所以老美才会直接说 "You want to go to see a movi... 阅读全文
posted @ 2009-08-22 09:13 gracestoney 阅读(146) 评论(0) 推荐(0) 编辑
摘要: From Shawn Burke’s Blog: http://blogs.msdn.com/sburke/archive/2008/01/16/configuring-visual-studio-to-debug-net-framework-source-code.aspxIt’s finally here - the launch of the .NET Referen... 阅读全文
posted @ 2009-08-21 22:17 gracestoney 阅读(576) 评论(0) 推荐(0) 编辑
摘要: 1. What's going on? 发生了什么事? 比如说你要用电脑, 可是不知为什么无法开机, 你就可以说. "Hey, What's going on?" 虽然这句就完全等于 "What happened?" 或是 "What's up with that?" 但是老美还是比较比喜欢说 "What's going on?" , 又比如人家问你说, "Why is our oven brok... 阅读全文
posted @ 2009-08-21 10:12 gracestoney 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 1. What's your favorite ice cream? 你最喜欢的冰淇淋是什么?这句话通常是当我遇到陌生人时, 又想不到其它话题的时候会最先想到的一句话. 试想二个人如果有共同的兴趣和嗜好是不是就很容易成为好朋友呢? 所以我就常问人家, "What's your favorite movie? Who's your favorite movie star?" 总之 favorite ... 阅读全文
posted @ 2009-08-20 09:53 gracestoney 阅读(122) 评论(0) 推荐(0) 编辑
摘要: Windows PowerShell每周提示(18):读取文本文件 1. Get-Content Get-Content C:"Scripts"Test.txt 2. Get-Content读取文本文件并在变量中储存内容时,数据是作为数组储存的,文件内的每一行(由一个回车换行符决定)代表了数组中的每一个项 a. 查看变量类型 $a = Get-Content C:"Scripts"Test.tx... 阅读全文
posted @ 2009-08-18 13:19 gracestoney 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 1. Could you do me a favor? 能不能帮我一个忙?人是不能独自一个人活的, 需要别人帮忙的地方总是很多, 所以我就会常讲, "Could you do me a favor?" 或是 "Could you give me a hand?" 这算是比较正式而礼貌的讲法. 有时候要请别人帮忙还不太好意思说, 我就会说 Could you do me a little favor... 阅读全文
posted @ 2009-08-18 12:41 gracestoney 阅读(158) 评论(0) 推荐(0) 编辑
摘要: Windows PowerShell每周提示(16):有关字符串的事Windows PowerShell是基于对象的。1. 比较两个字符串值 $a = "Scripting Guys" $b = "scripting guys" a.大小写敏感 $d= $a.Compareto($b) => 1 (0-两个值相等; -1 - $a<$b ; 1 - $a >$b)b. 大小写不敏... 阅读全文
posted @ 2009-08-13 17:26 gracestoney 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 1. How are you doing? 你好吗?美国人见面时候最常用的打招呼方式就是, "Hey! How are you doing?" 或是 "How are you?" 不然 "How's going?" 也很常见. 我觉得这种每天跟别人打招呼的习惯, 就是跟美国友人建立良好关系的开始. 很多人都觉得美国人很冷漠, 不跟自己打招呼, 但自己又何尝不是对美国友人很冷漠呢? 关于更多打招呼之... 阅读全文
posted @ 2009-08-13 10:13 gracestoney 阅读(120) 评论(0) 推荐(0) 编辑