Wide character in subroutine entry at /path/Perl/lib/MD5.pm line 12.
编写S3相关程序时,将key做MD5,然后存到服务器,有些key包含中文,就出现了这个问题。 因为程序采用的是UTF-8编码,因此,先对key进行utf8编码,再MD5,就没有这个问题了。 ...
编写S3相关程序时,将key做MD5,然后存到服务器,有些key包含中文,就出现了这个问题。 因为程序采用的是UTF-8编码,因此,先对key进行utf8编码,再MD5,就没有这个问题了。 ...
今天再次阅读了Ten things Google has found to be true(Google 发现的十大真理),次标题是Never settle for the best。Ten things基本说的是google在网络上的发展方向。摘抄如下: ...
以下的操作基于REST,官方文档:http://docs.amazonwebservices.com/AmazonS3/2006-03-01/RESTAuthentication.html 我们的程序向http://bucket.s3.amazonaws.com/(或者http://s3.amazonaws.com/bucket/)发送带指定header的HTTP::Request,S3接到请求后,进行处理,将处理结果返回HTTP::Response,程序处理HTTP::Response。 下面以上传一个文件举例说明,程序使用perl实现。 1、假设已经有一个bucket,名字为:buckettest; 2、用HTTP::Request的PUT方法上传文件; 3、使用HTTP标准Authorization头发送验证信息;这个验证的格式为: ...
我们知道,如果mysql中打开full query log或者slow query log的话,2个log文件大小会快速的增加,一天时间都能上G。而且mysql没有选项来控制log文件的大小,比如每10M就新建一个文件等等。 以前的做法是,stop mysql, delete log file,start mysql,笨吧。mysqlperformanceblog的这篇文章提供一个好办法:将需要删除的日志改名,然后运行FLUSH LOGS即可重新生成新的日志文件,简单吧? 另,linux下,echo > log 也可以完成这个任务。 原文:http://www.mysqlperformanceblog.com/2007/12/09/be-careful-rotating-mysql-logs/
Picking a winning Web service approach::http://webservices.sys-con.com/read/79282.htm By: Dion Hinchcliffe Apr. 26, 2005 11:00 AM At their most basic level, Web services work well and solve important problems because they are based on standards. However choosing among the available Web service approaches can still be surprisingly difficult. Whether it is correct or incorrect, the choice will have far reaching consequences for any project. A foray in the wrong direction often means having to abandon the initial investment, in terms of development, training, and infrastructure, to retool everything to go another way. Make a good decision though, and Web services become an enabling springboard to enterprise integration, information self-service, and all the attendant benefits of service-oriented architecture. In a highly competitive business environment, the risk of lost time and investment means that making the best decision up front is vital to success. ...
Version 2.1.01 2007-12-3 1、+ 大图片载入时,显示一个载入动画提示。 2、o 修正扩展幻灯片演示的bug 3、o 优化显示
Version 2.1.00 2007-11-29 1、- 取消数据库中不需要的字段 2、o 删除图片、删除评论、发布评论使用AJAX实现。 3、o Prototype升级为1.6版本。
上个鼠标用了才1年,滚轮就失效了:明明是往上滚,发现页面却向下走,上下不分啊。鼠标是双飞燕的,花了我100块大洋,心疼啊。 无奈只好再买一块,在罗技和MS之间挑选了许久,选择的是MS极动鲨,想下订单,却没有我喜欢的颜色了,好事多磨啊。 只好再挑挑,就定了暴雷鲨6000,虽说贵了点,不过喜欢它的样式。于是就买了款黑色的,259块大洋。为了美观一致,俺将键盘也替换为黑色的舒适曲线键盘2000。又想,换新鼠标了,怎么也不能亏待它啊,再来块Rantopad H1丝滑系列鼠标垫,哈哈哈。 用电脑12年了,第一次这么奢侈。不过用下来,发现真是值得:键盘的手感很不错,按键响应时间很短,减少了手指力度;鼠标的定位很准确,本来我的移动速度就不慢,这下一来,每天再电脑前,能省下几分钟吧,离手指抽风就更远了。
1、熟悉struts2 2、一个全新的PHP框架,可作为以后PHP程序基础 3、“星仔知道”设计,基本原理百度知道 4、相册bug修正: Version 2.0.85 2007-11-21 1、+ 评论的发布如果含有url,http://,img等关键字,则给出提示; 2、o 修正导航栏显示的BUG; 3、o 优化class_logger.php文件,完善log记录。
Version 2.0.84 2007-10-10 1、+ 点击图片时,在当前页面打开图片,图片可以拖动; 2、o 调整某些文件夹的位置; 3、o 使用table代替div,解决firefox下查看图片时,图片不居中的问题; 4、o 优化log中,数组的输出 点击此页查看效果: http://www.livebaby.net/album/details.php?image_id=177