上一页 1 2 3 4 5 6 7 8 ··· 10 下一页
摘要: 以前也没有这么个模式学习新语言,所以这次试试。记录!!因为要准备一个PHP面试,所以就搞搞。安装的话就不需要我再废话了,网上一堆,但是注意几点吧,现装Apache,因为php好像是要依赖里面的包,然后要了解configure参数的意义。之前大二的时候安装其实是不懂的,就是网上复制黏贴,结果发现各种问... 阅读全文
posted @ 2015-08-13 10:52 _Doraemon 阅读(257) 评论(0) 推荐(0)
摘要: 1 int i = 4; 2 int j = 5;3 Preconditions.checkArgument(i>j,"i should bigger than j, but i is %s and j is %s",i,j);Exception i... 阅读全文
posted @ 2015-08-11 16:48 _Doraemon 阅读(423) 评论(0) 推荐(0)
摘要: Guava 在Google code 上地址:https://code.google.com/p/guava-libraries/首先为什么要学习这个库,在实习的时候看大神的代码很简洁,很多地方将一些琐碎凌乱的代码轻松解决,所以抱着试试看的心态搞搞吧。第一部分:basic utilitiesnull... 阅读全文
posted @ 2015-08-11 16:22 _Doraemon 阅读(319) 评论(0) 推荐(0)
摘要: 在编写项目代码时出现的一切不可控因素都要进行处理。昨天写的1 Integer count = Integer.parseInt(countStr);2 3 //如果不处理,很有可能出现Exception4 5 try{6 Integer count = Integer.parseIn... 阅读全文
posted @ 2015-08-04 09:52 _Doraemon 阅读(738) 评论(0) 推荐(0)
摘要: Language: PythonProtocols Base: AMQP 0-9-1To communicate, firstly build a Connection with server. connection = pika.BlockingConnection(pika.Connectio... 阅读全文
posted @ 2015-07-31 10:31 _Doraemon 阅读(248) 评论(0) 推荐(0)
摘要: template的默认目录在安装的目录里。所以要project 下重新设置。找到setting.py加上mysite/settings.pyTEMPLATE_DIRS = [os.path.join(BASE_DIR, 'templates')]这是目录:.├── db.sqlite3├── jas... 阅读全文
posted @ 2014-12-17 15:51 _Doraemon 阅读(457) 评论(0) 推荐(0)
摘要: 原文:https://stackoverflow.com/questions/17263509/error-while-using-scrapy-scrapy-telnet-telnetconsole-no-module-named-conch/17264705#17264705On Ubuntu,... 阅读全文
posted @ 2014-12-13 09:07 _Doraemon 阅读(322) 评论(0) 推荐(0)
摘要: linux使用中发现我们可能开机要启动一系列程序.所以写个批处理d文件很方便:首先 到你用户d目录下:vim startup.sh#your dircd /home/jason/Downloads/openkeeper-cli-1.1-x86_64#your command as you dookc... 阅读全文
posted @ 2014-12-11 23:28 _Doraemon 阅读(890) 评论(0) 推荐(0)
摘要: 转载来自:http://www.liaoxuefeng.com/wiki/001374738125095c955c1e6d8bb493182103fac9270762a000/001386832973658c780d8bfa4c6406f83b2b3097aed5df6000分布式进程810次阅读在... 阅读全文
posted @ 2014-12-10 15:24 _Doraemon 阅读(2498) 评论(0) 推荐(0)
摘要: 配置PHP与Apache (CENTOS 6.5)原文参考链接:Click me第一步:安装Apache下载Apache源码到目录 如:/home/apache/解压(linux下我用.tar.gz 可以用tar工具命令:tar -zxvf your-file.tar.gz)到当前目录第二部:编译、... 阅读全文
posted @ 2014-12-07 12:59 _Doraemon 阅读(241) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 10 下一页