其他
大三了过去一半,刚刚进入大三时,我曾对自己说过,不要考前临磨枪,注重平时的积累总结,从目前来看,我没做到,我还是在不断的考前复习,这正好验证了“人总是在做着自己所讨厌的事”。确实是如此吧。在2014的最后一天,我打算总结一下我的2014.都说,从现在看待过去,会看的..
1/*---示例代码----*/23OS:CentOS-6.5-x86_6445Puppet3.7.367Puppetmaster:master.fisteam2.com89Puppetclients:node1-5.fisteam2.com1011/*---示例代码----*/12Puppet要求所有机器有完整的域名(FQDN),如果没有DNS服务器提供域名的话,可以在两台机器上设置主机名(注意要先..
我虽是一个IT屌丝,但特别喜欢关注整个大行业的动态,干IT运维相关工作到现在也快8年了,企业对运维人员的专业能力要求确实提高了不少,现在再去面个运维工程师的职位都要求会个开发语言啥的,这在2007是不可想象的,那个时候,运维和开发是经纬分明,两个完全不同的工种,大..
Actually,I‘vedisappearedalongtimealmost4years.HopethatIcouldstarttowritewhatIreallywanttosayandthinkandsharewhatIdoandfeel.What‘smyplannext?Createablogwetsibeofmyself.FocusonarchitectureofITandmanagment.BTW,cloudingtimeiscomming,butI‘mnotsureAWSwillbebetter..
A peak element is an element that is greater than its neighbors.
Given an input array where num[i] ≠ num[i+1], find a peak element and return its index.
The array may contain multiple peaks, in...
edit file "/Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Resources"add Custom ShortCut Duplicate Line selectLine:,...
题目:(Stack)Givennnon-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in ...
需求:用户登录的情况下可以访问action的方法,用户没有登录时不允许访问action中的方法并提示'你没有权限访问"。 设计思路:建立一个jsp页面,当请求该页面时,设置用户为登录状态。若没有先请求该jsp页面而去访问action中的方法则不允许。 实现: 建立一个user.jsp页面,设置用户....
System.Drawing命名空间提供了对GDI+基本图形功能的访问,其中一些子命名空间中提供了更高级的功能。GDI+由GDI发展而来,是Windows图形显示程序与实际物理设备之间的桥梁。GDI+是GDI的增强版,主要提供以下三类服务:1)二维矢量图形:GDI+提供了存储图形基元自身信息的类(或...