随笔分类 -  Tips

摘要:When we submit code, sometimes unchanged files will be checked in occasionally. In some cases, it is a mistake while in some cases it's correct behavior!Mistake Check in Unchanged FilesIn most cases, ... 阅读全文
posted @ 2010-03-20 08:08 能巴 阅读(692) 评论(0) 推荐(0)
摘要:[http://www.techmalaya.com/2008/06/11/windows-file-copy-faster-speed/]Looking for a faster way to copy or move your files between folders and partitions in Windows? If you think that the default Windo... 阅读全文
posted @ 2010-03-18 14:02 能巴 阅读(421) 评论(0) 推荐(0)
摘要:In my project, I need to open the whole solution containing C++, C++/CLI and C# projects together. I want the C# intellisense while not wanting C++'s.By asking google, find out the below solution:1. R... 阅读全文
posted @ 2010-03-12 15:45 能巴 阅读(419) 评论(0) 推荐(0)
摘要:[From Code Project: http://www.codeproject.com/KB/debug/moomoo.aspx]IntroductionOur software just published version 1.0 . My clients often encountered exceptions and blue screens that caused the program to terminate. Most of time, we can not reproduce the bug in our systems. So catching and analyzin 阅读全文
posted @ 2010-03-12 10:17 能巴 阅读(865) 评论(0) 推荐(0)
摘要:All the built-in value types have Parse and TryParse methods when you need conversion from string to those types. 阅读全文
posted @ 2010-03-03 17:24 能巴 阅读(149) 评论(0) 推荐(0)
摘要:INTELLISENSE FOR OVERRIDESIn VS2008, you have IntelliSense support for implementing overrides. If you’re in a derived class and type public override and then type a space, IntelliSense will appe... 阅读全文
posted @ 2010-03-03 16:47 能巴 阅读(168) 评论(0) 推荐(0)
摘要:[http://www.cnblogs.com/smwikipedia/archive/2009/03/30/1424749.html][http://www.911cd.net/forums/lofiversion/index.php/t3730.html]更改当前目录为批处理本身的目录有些晕吧?不急,我举例比如你有个批处理a.bat在D:\qq文件夹下a.bat内容为cd /d %~dp0在这... 阅读全文
posted @ 2010-03-02 17:35 能巴 阅读(2017) 评论(1) 推荐(0)
摘要:1 inch = 0.0833 feet = 2.54 cm 1 m = 39.37 inch = 3.2808 feet 阅读全文
posted @ 2010-02-28 12:16 能巴 阅读(375) 评论(0) 推荐(0)
摘要:Clarify没有提供批量assign defect的功能。但是web版的clarify可以哦。步骤:1. 在clarify里建立一个query包含你想要assign的defects。2. 打开web clarify,search到这个query。3. 选择update multiply defects。现在你可以批量的更改一些general的defect信息了! 阅读全文
posted @ 2010-02-23 12:04 能巴 阅读(221) 评论(0) 推荐(0)
摘要:The pattern of properties encapsulating a single field is so common that C# 3.0 introduced auto-implemented properties. Here’s an example:public int Rating { get; set; }This Rating property enca... 阅读全文
posted @ 2010-02-23 10:22 能巴 阅读(315) 评论(0) 推荐(0)
摘要:Snippet is so convenient to use in C#!I need to get the way / list of getting snippets in C# later on really!Now give a good example of using snippet to write switch:enum Months { Jan, Feb, Mar, Apr, ... 阅读全文
posted @ 2010-02-22 14:25 能巴 阅读(205) 评论(0) 推荐(0)
摘要:C# provides two operators: CHECKED/UNCHECKED to handle whether to treat the overflow/underflow as system error or ignore it. By default, this option is unchecked. As an alternative, you can set this a... 阅读全文
posted @ 2010-02-21 17:13 能巴 阅读(288) 评论(0) 推荐(0)
摘要:As we know, for main, it's so common to see it looks like below:int main(){// do your work.return 0;}At least for a console application, the returned value 0 here can be consumed later in script tool ... 阅读全文
posted @ 2010-02-21 16:16 能巴 阅读(219) 评论(0) 推荐(0)
摘要:there are three types of commenting syntax in C#:multiline, single line, and XML.XML Documentation CommentsIn addition to providing code commenting, an XML documentation comment supports tools that ex... 阅读全文
posted @ 2010-02-21 15:15 能巴 阅读(427) 评论(0) 推荐(0)
摘要:On the Debug menu, there are two options to run a program, Start Debugging (F5) and Start Without Debugging (Ctrl+F5). The differences between these two options are thatStart Debugging stops on breakp... 阅读全文
posted @ 2010-02-21 14:58 能巴 阅读(192) 评论(0) 推荐(0)
摘要:1. Place your cursor, by a single click, immediately after the closing curly brace of theMain method. This highlights the beginning and closing braces.2. Press Ctrl+Enter. This inserts a new line betw... 阅读全文
posted @ 2010-02-21 14:40 能巴 阅读(220) 评论(0) 推荐(0)
摘要:1. Verify that the modtime option in your Perforce client spec is not checked. Detail explanation is as follows: Mod time set to depot submission time: (modtime) What should the modification time on f... 阅读全文
posted @ 2010-02-08 11:02 能巴 阅读(268) 评论(0) 推荐(0)
摘要:Install and use the Save as PDF or XPS add-in from MicrosoftTo save a file in either PDF or XPS format, you must first install the Save as PDF or XPS add-in for the 2007 Microsoft Office system.Go to ... 阅读全文
posted @ 2010-01-28 14:17 能巴 阅读(294) 评论(0) 推荐(0)
摘要:Use the iShare command in below snapshot to open the iShare site in windows explorer:Now the iShare site is opened like explorer, you can move any file or folder directly; and drag and drop any file i... 阅读全文
posted @ 2010-01-28 10:20 能巴 阅读(138) 评论(0) 推荐(0)
摘要:转自:http://email.about.com/od/outlooktips/qt/et_compact_pst.htmDeleted... And Still Around When you delete an email in Outlook, it goes to the trash, i.e. the Deleted Items folder. When you empty the... 阅读全文
posted @ 2010-01-25 12:11 能巴 阅读(234) 评论(0) 推荐(0)