2014年5月2日

摘要: 周末折腾一下Ubuntu 14.04,稍作记录:1. 切换源,我还是钟情163的(ps, 这里如果用的以前13.04时候163的源会有问题,记得配置最新的http://mirrors.163.com/)$ sudo cp /etc/apt/sources.list /etc/apt/sources.... 阅读全文
posted @ 2014-05-02 21:13 timelyxyz 阅读(925) 评论(0) 推荐(0) 编辑

2014年4月24日

摘要: 背景1. 概念提出者:Fielding2. 全写:Representational State Transfer,(资源的)表现层状态转化?3. http://www.ruanyifeng.com/blog/2011/09/restful.html解释1. 三个概念:资源resources, 表现层... 阅读全文
posted @ 2014-04-24 15:56 timelyxyz 阅读(154) 评论(0) 推荐(0) 编辑

2014年4月14日

摘要: 其他都一样,就特别说下server块的配置。 server { listen 80; server_name www.icweshop.com; # 注意:这里你填写的域名必须在/etc/hosts中有配制,不然nginx就判你这个域名无效,死活不往... 阅读全文
posted @ 2014-04-14 19:58 timelyxyz 阅读(338) 评论(0) 推荐(0) 编辑

2014年4月11日

摘要: 相关链接form表单提交multipart/form-data的请求分析:http://blog.csdn.net/five3/article/details/7181521、http://blog.csdn.net/MSPinyin/article/details/6141638stack overflow上的某菌对Blob的发文(启发的我):http://stackoverflow.com/questions/8760133/how-can-i-specify-a-different-attachments-path-under-play-frameworkw3对form提交post请求的 阅读全文
posted @ 2014-04-11 20:06 timelyxyz 阅读(785) 评论(0) 推荐(0) 编辑

2014年4月4日

摘要: 老样子,先放几个官链:WOA部署规划:http://technet.microsoft.com/zh-cn/library/jj219435(v=office.15).aspx拓扑规划:http://i.technet.microsoft.com/dynimg/IC680960.gifWOA部署:http://technet.microsoft.com/zh-cn/library/jj219455WOA结合SharePoint使用的硬件:http://technet.microsoft.com/zh-cn/library/cc262485.aspx#hwLocServersOfficeWebA 阅读全文
posted @ 2014-04-04 14:34 timelyxyz 阅读(1789) 评论(0) 推荐(0) 编辑

2014年3月30日

摘要: 先放几个官网链接:demo:http://alexgorbatchev.com/SyntaxHighlighter/manual/demo/使用说明(适合自己搭的博客):http://alexgorbatchev.com/SyntaxHighlighter/manual/installation.htmlthemes:http://alexgorbatchev.com/SyntaxHighlighter/manual/themes/brushes:http://alexgorbatchev.com/SyntaxHighlighter/manual/brushes/下载(3.0.83):http 阅读全文
posted @ 2014-03-30 13:12 timelyxyz 阅读(390) 评论(0) 推荐(0) 编辑
摘要: 1. 下载bin文件,切忌oracle上现在下载到的旧版本的jdk的bin都是网页(执行会报错,见本文最后的截图),他们需要登录oracle后才能下载,所以我这里的url是从googlecode里觅来的。[root@localhost jdk1.6_32]# wget http://rfyiamcool.googlecode.com/files/jdk-6u32-linux-x64.bin2. 添加bin文件的执行权限[root@localhost jdk1.6_32]# chmod 777 jdk-6u32-linux-x64.bin3. 执行安装[root@localhost jdk1.6 阅读全文
posted @ 2014-03-30 10:34 timelyxyz 阅读(356) 评论(0) 推荐(0) 编辑
摘要: 在Linux系统里有时候需要自己编译安装一些提供了源文件的软件,比如Nginx。一般编译的步骤是:configure -> make -> make install.1. configureconfigure是个shell脚本,用于检查当前安装平台的目标特征,比如是不是有cc或者gcc等编译器。configure的执行只需要bash或sh,不需要cc或gcc。另外,configure根据给定的参数和系统环境会生成Makefile控制代码,为第二步的编译作做准备。configure 后面的一些 option 参数,比如最常用的安装目录选项:$ ./configure --prefix 阅读全文
posted @ 2014-03-30 10:30 timelyxyz 阅读(789) 评论(0) 推荐(0) 编辑
摘要: 1. 安装关联程序[root@localhost opt]# yum search gcc[root@localhost opt]# yum install gcc-c++[root@localhost opt]# yum install make[root@localhost opt]# yum -y install zlib zlib-devel openssl openssl-devel pcre pcre-devel2. 下载Nginx[root@localhost files]# tar -zxvf nginx-1.4.7.tar.gz3. 配置Makefire[root@local 阅读全文
posted @ 2014-03-30 10:28 timelyxyz 阅读(175) 评论(0) 推荐(0) 编辑

2014年3月18日

摘要: 相关资料:XMPP官网http://xmpp.org/xmpp-software/libraries/nginx的转发配置http://mineral.iteye.com/blog/448260XMPP的xml格式http://seong.iteye.com/blog/1871338IBM关于XMPP的讲解https://www.ibm.com/developerworks/cn/xml/tutorials/x-realtimeXMPPtut/1. XMPP eXtensible Messaging and Presence Protocol 可扩展消息处理和现场协议,用于在2个地点之间传递. 阅读全文
posted @ 2014-03-18 22:21 timelyxyz 阅读(2200) 评论(0) 推荐(0) 编辑
摘要: 环境:Oracle Java 7 , Mac OSX报错如上图所示,主要是 Caused by: java.lang.ClassFormatError: StackMapTable format error: bad offset for Uninitialized in method...找了半天,发现原因是我在调用一个有参构造函数时,传递的一个参数用了三元运算符。// 解决方案就是把三元运算符去掉,在传参之前用一个变量替换掉就好。new ContactVO(receiverId, conversationId, messageId, null == unReadCount ? 0l : u 阅读全文
posted @ 2014-03-18 22:08 timelyxyz 阅读(1364) 评论(0) 推荐(0) 编辑
摘要: ####hibernate原话HQL supports subqueries in the where clause. We can’t think of many good uses for subqueries in the from clause, although select clause subqueries might be a nice future extension.####hibernate的子查询只允许where中使用,不允许在from后面使用。 阅读全文
posted @ 2014-03-18 19:15 timelyxyz 阅读(190) 评论(0) 推荐(0) 编辑

2014年3月16日

摘要: /* * 参考《XMPP高级编程+使用JavaScript和jQuery》第三章例子。 * 我修改了作者的XMPP服务器到本地的openfire。JavaScript跨域请求,使用Nginx代理。另外,添加了些备注笔记。 * * 几个概念 * * 1) BOSH(Bidirectional streams Over Synchronous HTTP,在同步HTTP之上传送双向数据流),是一种XMPP的长轮询桥接技术 * 2) Comet(反向HTTP),同上也是长轮询一种 * 3) 很多XMPP服务器都内置了对BOSH的支持,这种服务叫做“BOSH连接管理器”,通常以URL http://e. 阅读全文
posted @ 2014-03-16 09:30 timelyxyz 阅读(1215) 评论(3) 推荐(0) 编辑
摘要: ERROR: 0 CONNECTING: 1 CONNFAIL: 2 AUTHENTICATING: 3 AUTHFAIL: 4 CONNECTED: 5 DISCONNECTED: 6 DISCONNECTING: 7 ATTACHED: 8 阅读全文
posted @ 2014-03-16 09:19 timelyxyz 阅读(246) 评论(0) 推荐(0) 编辑

2014年3月14日

摘要: 这个版本添加的样式在博客园里会错乱,我修正了一些样式,请参考http://www.cnblogs.com/timelyxyz/p/3633757.html###1. 切换编辑器至markdown个人设置选项->默认编辑器->markdown推荐一在线md编辑器(附语法): https://www.zybuluo.com/mdeditor###2. 上SyntaxHighlighter官网下载引用文件,并上传到博客园官网下载:http://alexgorbatchev.com/SyntaxHighlighter/download进入博客园“个人设置->文件”,上传下载来的shC 阅读全文
posted @ 2014-03-14 01:33 timelyxyz 阅读(573) 评论(0) 推荐(0) 编辑

导航