Do not spend all your time on training or studying - this way you will probably become very exhausted and unwilling to compete more. Whatever you do - have fun. Once you find programming is no fun anymore – drop it. Play soccer, find a girlfriend, study something not related to programming, just live a life - programming contests are only programming contests, and nothing more. Don't let them become your life - for your life is much more interesting and colorful. --Petr
\n
摘要:
Recently I find there will be some issue to use composer command, which seems too slow to finish. After my investigation, I find that this problem is 阅读全文
posted @ 2017-03-08 11:46
Jeremy Wu
阅读(212)评论(0)推荐(0)
摘要:
It is very useful in .net we can user framework provided role manager, and easily configure in Web.Config. However, I find when I fullfil such configu 阅读全文
posted @ 2016-10-20 11:55
Jeremy Wu
阅读(453)评论(0)推荐(0)
摘要:
Recently, I find I used many different type method to invoke other scripts or exe in PowerShell. Maybe by start new process, or just use the call oper 阅读全文
posted @ 2016-07-22 16:29
Jeremy Wu
阅读(264)评论(0)推荐(0)
摘要:
If I create a new array, and using the method Add(). Windows PowerShell will tell me : Reason: When you use the $array.Add() method, you're trying to 阅读全文
posted @ 2016-07-20 11:30
Jeremy Wu
阅读(743)评论(0)推荐(0)
摘要:
hashtable is easy to create, access and manipulate. we simply use to create an empty hash table. and use to set the key and value pair. refer to http: 阅读全文
posted @ 2016-05-31 16:21
Jeremy Wu
阅读(171)评论(0)推荐(0)
摘要:
When PS scripts executes, it is possibly create much user defined variables. So, sometimes these varibales may confuse us a lot. Here's a workaound: M 阅读全文
posted @ 2016-04-29 12:18
Jeremy Wu
阅读(224)评论(0)推荐(0)
摘要:
E.g I want match the keword "3398" after "red" from the string "This is red with number 3398". Using non-capturing group regex will help me sovle this 阅读全文
posted @ 2016-04-05 10:22
Jeremy Wu
阅读(304)评论(0)推荐(0)
摘要:
Sometimes, if we want to do convert between two enums, firstly, we may think about one way: Obviously, it's dangerous, if the int value of TheirMale i 阅读全文
posted @ 2016-03-21 15:28
Jeremy Wu
阅读(257)评论(0)推荐(0)
摘要:
When I want to pass some value that won't be seen by users, I find it useful to use this. It can help us creates a hidden input on the form for the fi 阅读全文
posted @ 2016-02-27 12:31
Jeremy Wu
阅读(657)评论(0)推荐(0)
摘要:
#Select specified items from Tuple List##Select one item to form list`tupleList.Select(element => new string(element.Item1)).ToList();`##Select one it... 阅读全文
posted @ 2015-12-17 19:50
Jeremy Wu
阅读(209)评论(0)推荐(0)
摘要:
Yield has two great usesIt helps to provide custom iteration with out creating temp collections.It helps to do stateful iterationIteration. It creates... 阅读全文
posted @ 2015-12-14 10:10
Jeremy Wu
阅读(173)评论(0)推荐(0)
摘要:
we can copy files by the powerful robocopy tool, and it allow copy using muliti-threaded as well.As Robocopy is generally a command-line only utility ... 阅读全文
posted @ 2015-11-25 11:43
Jeremy Wu
阅读(226)评论(0)推荐(0)
摘要:
Cyclomatic Code Complexity was first introduced by Thomas McCabe in 1976. In 1976, Thomas McCabe published a paper arguing that code complexity is d... 阅读全文
posted @ 2015-10-22 10:01
Jeremy Wu
阅读(396)评论(0)推荐(0)
摘要:
I've met this problem for so many times and let me write a blog for solving this problem.First, you have a repository called repo1 for example, and wa... 阅读全文
posted @ 2015-10-14 10:23
Jeremy Wu
阅读(494)评论(0)推荐(0)
摘要:
from: http://stackoverflow.com/questions/630453/put-vs-post-in-restAccording to the HTTP/1.1 Spec:The POST method is used to request that the origin s... 阅读全文
posted @ 2015-07-27 09:57
Jeremy Wu
阅读(360)评论(0)推荐(0)