Loading

上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 39 下一页
摘要: Many of the utilities in Ubuntu Linux use a text editor to allow you to edit configuration options and files. An example of this is using the crontab command, which allows you to edit your cron jobs u... 阅读全文
posted @ 2012-04-29 13:00 .net's 阅读(644) 评论(0) 推荐(0) 编辑
摘要: To create an instance of a user control programmaticallyIn the user control, be sure that the@Controldirective contains aClassNameattribute that assigns a class to the user control.The following example sets theClassNameattribute to strongly type a user control.<%@ Control className="MyUserC 阅读全文
posted @ 2012-04-28 11:33 .net's 阅读(426) 评论(0) 推荐(0) 编辑
摘要: ExamplesThis example causes the browser to reload the document every two seconds.<meta http-equiv="refresh" content="2">This example sets the character set for the document.<meta http-equiv="Content-Type" content="text/html; charset=utf-8">This exa 阅读全文
posted @ 2012-04-28 11:01 .net's 阅读(410) 评论(0) 推荐(0) 编辑
摘要: The two culture settings do not have to have the same value. Depending on your application, it might be important to set them separately. An example is a Web auction site. TheUICultureproperty might change for each Web browser, whereas theCulturestays constant. Therefore, prices are always displayed 阅读全文
posted @ 2012-04-27 13:53 .net's 阅读(543) 评论(0) 推荐(0) 编辑
摘要: git pull is indeed equivalent to the two steps: git fetchgit merge origin/master 阅读全文
posted @ 2012-04-26 14:07 .net's 阅读(346) 评论(0) 推荐(0) 编辑
摘要: GOALS Learn how to revert changes that have been committed to a local repository. Undoing Commits01 Sometimes you realized that a change that you have already committed was not correct and you ... 阅读全文
posted @ 2012-04-26 11:31 .net's 阅读(534) 评论(0) 推荐(0) 编辑
摘要: GOALS Learn how to revert changes that have been staged Change the file and stage the change01 Modify the hello.rb file to have a bad comment FILE: hello.rb # This is an unwanted but staged c... 阅读全文
posted @ 2012-04-26 11:24 .net's 阅读(508) 评论(0) 推荐(0) 编辑
摘要: GOALS Learn how to revert changes in the working directory Checkout Master01 Make sure you are on the lastest commit in master before proceeding. EXECUTE: git checkout masterChange hello.rb02... 阅读全文
posted @ 2012-04-26 11:21 .net's 阅读(460) 评论(0) 推荐(0) 编辑
摘要: git status, git add, git commit, and git checkoutare such common commands that it is useful to have abbreviations for them.Add the following to the .gitconfig file in your $HOME directory.FILE: .gitconfig[alias] co = checkout ci = commit st = status br = branch hist = log --pretty=format:\"%h % 阅读全文
posted @ 2012-04-26 11:11 .net's 阅读(328) 评论(0) 推荐(0) 编辑
摘要: The Ultimate Log Format Over time, I’ve decided that I like the following log format for most of my work. EXECUTE: git log --pretty=format:"%h %ad | %s%d [%an]" --graph --date=shortIt looks like th... 阅读全文
posted @ 2012-04-26 11:09 .net's 阅读(522) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 39 下一页