Image帮助类的output方法中,在下面的代码header("Content-type:
image/" . $type);前增加代码:ob_end_clean();
分类:
Web程序 时间:
2014-05-16 07:01:32
阅读次数:
308
原文出处:http://www.lornajane.net/posts/2014/working-with-php-and-beanstalkdWorking
with PHP and BeanstalkdI have just introduced Beanstalkd into my curre...
分类:
Web程序 时间:
2014-05-15 07:35:01
阅读次数:
415
window->preference->General->workspace->Text file encoding->utf-8->Apply->ok
project->clean...
分类:
其他好文 时间:
2014-05-15 03:48:15
阅读次数:
320
1. Check the /boot partition size to decide if need clean up
$ df
2. Check the current used Linux kernel
$ uname -r
3. Check all Linux kernel to decide which ones to be removed
$ ls /boot...
分类:
其他好文 时间:
2014-05-15 03:24:16
阅读次数:
235
{
"cmd":["g++","${file}","-o","${file_path}/${file_base_name}"],
"file_regex":"^(..[^:]*):([0-9]+):?([0-9]+)?:?(.*)$",
"working_dir":"${file_path}",
"selector":"source.c,source.c++",
"encoding":"cp936",
"variants":
[
{
"name":"Run",
"shell":true,
"cmd":["st..
分类:
编程语言 时间:
2014-05-14 17:25:25
阅读次数:
300
/proc/sys/vm/drop_caches(since Linux 2.6.16)Writing
to this file causes the kernel to drop clean caches,dentries and inodes from
memory, causing that ...
分类:
系统相关 时间:
2014-05-14 08:54:16
阅读次数:
331
主要记录一些日常操作出现的问题:1.upgrade working
copy:SVN客户端升级或降级的时候,在本地已经下载workspace右键会显示upgrade working
copy。无论是升级还是降级TortoiseSVN,请大家安装完成后重启电脑。如果是升级(TortoiseSVN1.6...
分类:
其他好文 时间:
2014-05-14 02:41:53
阅读次数:
642
刚开始用,记录一些常用的,后续慢慢更新。
一、命令行
1、打包
mvn package
2、清理已生成的项目
mvn clean
二、eclipse的插件
1、打包
maven install...
分类:
其他好文 时间:
2014-05-14 00:13:22
阅读次数:
255
在ob_clean();或ob_get_clean()之前有return或致命错误,从而结束了程序,会导致ob_start失效,这和phpunit的非正常结束
分类:
Web程序 时间:
2014-05-13 18:36:16
阅读次数:
267
K-th Number
Time Limit: 20000MS
Memory Limit: 65536K
Total Submissions: 35704
Accepted: 11396
Case Time Limit: 2000MS
Description
You are working for Macrohard com...
分类:
其他好文 时间:
2014-05-13 14:07:41
阅读次数:
203