摘要:1. install and config 1). install ubuntu use samba to enable win7 users accessing ubuntu share folder. refer tohttp://www.7tutorials.com/how-cha...
阅读全文
随笔分类 - web
html、js、ajax
摘要:昨晚,读完《HTTP权威指南》第一章,收货颇多。禁不住埋怨自己以前怎么没去弄明白,同时又有“早问道,夕死可矣”的感觉。先别急着读第二章,Hold my fire。最近读《怪诞行为学2》,得到一个结论:美好的事情值得慢慢做,痛苦的事情适合一鼓作气。回到主题,谈谈所感所得。(1) HTTP请求和响应报文...
阅读全文
摘要:1. install beegoFirstly, I have installed Go and set the enviroment and set PATH.However, I fail to download github.com/astaxie/beego.solution: install git and set the PATH asC:\Program Files (x86)\Git\binthen rund:>go get github.com/astaxie/beegothen the files are created as 2.install bee and ad
阅读全文
摘要:Design:I want to give a general authentication design long time ago.Now I just sit down and do it.As dipicted above,we only concern two aspectsfor security:Network transmissionstorage on server side1.Network transmissionThe best way is alway using SSL.Asymmetric encryption is another choice.1) Every
阅读全文
摘要:1. set classpath some functions depend on class path.For example:1 @BeforeClass2 public static void setUpBeforeClass() throws Exception {3 //get bean from spring4 appContext = new ClassPathXmlApplicationContext(new String[] {"applicationContext-dao.xml", "applicationContext-hiber...
阅读全文
摘要:前段日子看完了一本《松本行弘的程序世界》,同时在网上检索了一下松本行弘本人,对这位业内前辈佩服得五体投地。既佩服其起对程序的狂热和以及对事业认真负责的态度,又佩服其淡泊名利、秉承开源的精神。 很自然的,我怀着崇敬的心情,开始了Ruby之旅。 首先,学的是Ruby语法本身,我被其优雅的语法迷住了,其语法更接近自然语言。我被块表达式迷住了,像数学公式一样简明。例如:def initialize(title, price_code) @title, @price_code = title, price_codeend命名约定造就了简洁与优雅。 唯一构造函数,避免了C++中构造函数导致...
阅读全文

浙公网安备 33010602011771号