一段清理缓存的代码如下:dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT,0),
^{ NSString*cachPath = [NSSearchPathForDirectoriesInD...
分类:
其他好文 时间:
2014-06-11 12:04:30
阅读次数:
183
/** * ajax responseTEXT write; * @param request *
@param response * @param str */ public static void response(HttpServletReque...
分类:
Web程序 时间:
2014-06-11 11:35:20
阅读次数:
226
//js端function
println(string){ document.write(string+""); }//html端
分类:
其他好文 时间:
2014-06-10 00:10:30
阅读次数:
196
/** linux/tools/build.c** Copyright (C) 1991,
1992 Linus Torvalds*//** This file builds a disk-image from three different
files:** - bootsect: max 510...
分类:
其他好文 时间:
2014-06-08 08:04:19
阅读次数:
344
内部类是指在一个外部类的内部再定义一个类。类名不需要和文件夹相同。*内部类可以是静态static的,也可用public,default,protected和private修饰。(而外部顶级类即类名和文件名相同的只能使用public和default)。注意:内部类是一个编译时的概念,一旦编译成功,就会...
分类:
编程语言 时间:
2014-06-08 07:40:37
阅读次数:
327
一、制作 U 盘系统启动盘 1、从 App Store 上下载 OS Application。
2、打开 Terminal,设备显示隐藏文件。$ defaults write ~/Library/Preferences/com.apple.finder
AppleShowAllFiles -bo.....
分类:
其他好文 时间:
2014-06-08 06:21:44
阅读次数:
279
Follow up for "Search in Rotated Sorted
Array":What ifduplicatesare allowed?Would this affect the run-time complexity?
How and why?Write a function to...
分类:
其他好文 时间:
2014-06-08 01:19:29
阅读次数:
320
default character encoding of the request or
response body: If a character encoding is not specified, the Servlet
specification requires that an enco....
分类:
其他好文 时间:
2014-06-08 00:19:22
阅读次数:
270
/* 参数说明: pi_program_name 程序名称 pi_directory
写入日志文件所在的目录 pi_file 日志文件名称,必须存在 pi_log_level 日记级别,INFO、WARN、FATAL pi_write_to
...
分类:
数据库 时间:
2014-06-07 22:09:19
阅读次数:
368
LayoutsIn this document 在这个文档Write the
XML写XML文件Load the XML Resource加载xml资源Attributes属性ID IdLayout
Parameters布局参数Layout Position 布局位置Size, Padding .....
分类:
其他好文 时间:
2014-06-07 22:05:56
阅读次数:
399