Loading

上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 39 下一页
摘要: 找出应用中可能需要变化之处,把它 们独立出来,不要和那些不需要变化 的代码混在一起。 把会变化的部分取出并“封装”起来,好让其他部分不会受到影响。 结果如何?代码变化引起的不经意后果变少,系统变得更有弹性。 阅读全文
posted @ 2012-11-28 14:57 .net's 阅读(400) 评论(0) 推荐(0) 编辑
摘要: 原文链接:WCF by Example - Introduction Sharpy - 一个Metro项目 当前, 我正在从事一个新的Metro应用程序的项目:Sharpy。我打算为Sharpy应用程序的服务端使用在WCF实例的文章中所讨论的模式。这个目标是为了演示Metro应用程序和我们目前所遇见过的应用程序类型的相似性。目前还没有可用的代码,但希望这个很快就会改变。我希望你能喜欢。这篇文章... 阅读全文
posted @ 2012-11-26 17:13 .net's 阅读(546) 评论(0) 推荐(0) 编辑
摘要: 少睡不是长久之计,关键还是要高效地管理时间,提供十条高效做事的经验。每天都过的很快,好像起床以后忙活几下,又到了晚上,很快又要睡觉了。To-do-list上的事好像总是做不完,有的时候积压地太多以至于都不想去碰了。每天从早到晚都是忙碌状态,但是总觉得做不了几件事,要是给我1天48小时该多好。事情太多时间不够,但是睡少了又效率低下,这实在是个悖论。似乎很多牛人都可以睡的很少,每天4-5小时睡眠,或者间歇式的睡眠,就可以高效地做事。这个境界我总是达不到,也没有想去达到。少睡不是长久之计,关键还是要高效地管理时间。我今天和一个朋友请教了这个问题,很受启发。我朋友是卡内基梅陇大学的计算机在读博士,发表 阅读全文
posted @ 2012-11-22 21:54 .net's 阅读(324) 评论(0) 推荐(0) 编辑
摘要: 首先需要在服务器安装SSH的服务器端。1$sudo apt-get install openssh-serverUbuntu中默认安装了OpenSSH的client端,我们不用重复安装。如果需要安装,只需将上述命令中的server改为client即可。安装好后启动OpenSSH。1$$ /etc/init.d/ssh restart然后确认一下SSH Server是否启动。1$ps -e | grep ssh如果只有ssh-agent那ssh-server还没有启动。最后就是登录了:1$$ ssh -l username 202.112.***.***其中username是用户名,后面是服务器 阅读全文
posted @ 2012-11-22 21:51 .net's 阅读(391) 评论(0) 推荐(0) 编辑
摘要: Ensure that you have performed theOne-Time Setup Procedure for the Windows Communication Foundation Samples.To build the C# or Visual Basic .NET edition of the solution, follow the instructions inBuilding the Windows Communication Foundation Samples.To run the sample in a single- or cross-machine co 阅读全文
posted @ 2012-11-19 10:52 .net's 阅读(327) 评论(0) 推荐(0) 编辑
摘要: print_rvar_dumpphp shell:phpsh 阅读全文
posted @ 2012-11-16 22:16 .net's 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 环境:Windows Version: Windows 7 Enterprise SP1 64-bitXAMPP Version: 1.8.1Xdebug 使用 Xampp 自带1 启用Xdebug打开php.ini,打开相应选项[XDebug]zend_extension = "\xampp\php\ext\php_xdebug.dll";xdebug.profiler_append = 0xdebug.profiler_enable = 1;xdebug.profiler_enable_trigger = 0xdebug.profiler_output_dir = &q 阅读全文
posted @ 2012-10-30 21:45 .net's 阅读(399) 评论(0) 推荐(0) 编辑
摘要: ctrl+/, enter ">of " + search itemhttp://codeblog.shawson.co.uk/quickly-find-open-a-file-in-visual-studio/ 阅读全文
posted @ 2012-10-19 16:04 .net's 阅读(295) 评论(0) 推荐(0) 编辑
摘要: 设置visual studio的代理。打开tools->Options->Environment->Web Browser->Internet Explorer Options,设置ip代理即可。 阅读全文
posted @ 2012-09-24 21:02 .net's 阅读(1552) 评论(0) 推荐(0) 编辑
摘要: Your understanding of the box model concept, and how it relates to the way in which an element’s final dimensions are determined, will be essential to your understanding of how an element is positioned on a web page. The box model applies to block-level elements. A companion concept, the inline layo 阅读全文
posted @ 2012-09-09 20:38 .net's 阅读(389) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 39 下一页