iOS是运行在iPhone、iPod Touch或iPad上的操作系统,之前叫做iPhone OS,iOS与Mac OS X有共同的基础架构和底层技术。但iOS是根据移动设备的特点而设计的,所以和Mac OS X系统略有区别,比如对多点触摸和加速感应器的支持。
下面来看看iOS框架简介:
iOS 的系统架构分为四个层次:核心操作系统层(Core OS layer)、核心服务层(Core Ser...
分类:
移动开发 时间:
2014-06-19 10:30:14
阅读次数:
379
首先需要下载3个包,下载地址在Github ,这三个核心模块分别是:
Streaming ("jackson-core") defines low-level streaming API, and includes JSON-specific implementations
Annotations ("jackson-annotations") contains standard Jack...
分类:
Web程序 时间:
2014-06-19 10:02:33
阅读次数:
291
题目
You are given an n x n 2D matrix representing an image.
Rotate the image by 90 degrees (clockwise).
Follow up:
Could you do this in-place?
方法
矩阵坐标的转换,循环替换。
public voi...
分类:
其他好文 时间:
2014-06-16 11:28:03
阅读次数:
199
由于在iPhone3.0上已经支持了Core Data,是苹果一个新的API,并且是基于SQlite的。速度也是非常快吧。所以我们对SQLite仅需要懂一些即可,以下是一些基础信息一、:常用接口(2个重要结构体和5个主要函数)sqlite3 *pdb, 数据库句柄,跟文件句柄 FILE 很...
分类:
数据库 时间:
2014-06-15 23:10:57
阅读次数:
375
1 package cn.itcast.spring.jdbc; 2 3 import java.util.List; 4 5 import org.springframework.jdbc.core.support.JdbcDaoSupport; 6 7 public class Pers...
分类:
数据库 时间:
2014-06-15 22:19:23
阅读次数:
443
最近在研究微信的sdk,在缩略图这遇到了一点问题。
微信的缩略图要求是不大于32k,这就需要对我的图片进行压缩。试了几种方法,一一道来。
1、质量压缩法:
代码如下
ByteArrayOutputStream baos = new ByteArrayOutputStream();
image.compress(Bitmap.Co...
分类:
移动开发 时间:
2014-06-15 17:34:42
阅读次数:
239
Linux 的编译使用 GNU make 工具来检查整个系统的文件和调用 gcc 工具以及脚本完成编译源代码生成 image 等操作。要了解整个编译系统,我们首先要了解 Linux 内核的 Makefile 文件。
Linux 的 编译系统包括 5 个部分
Makefile
顶层的 Makefile 文件
.config
内核配置文件
arch/$(ARCH...
分类:
系统相关 时间:
2014-06-15 16:05:05
阅读次数:
351
You are given an n x n 2D matrix representing an image.
Rotate the image by 90 degrees (clockwise).
Follow up:
Could you do this in-place?
思路:第一种思路是一层一层的进行旋转,比较直观,但是花费的时间要久一些;第二种思路则比较取巧,首先沿着...
分类:
其他好文 时间:
2014-06-15 08:46:26
阅读次数:
170
eclipse new server Cannot create a server using the selected type 网上有两种办法,其实原理一样第一种说法:还真的找到解决的方法了,如下:1.退出eclipse2.到[工程目录下]/.metadata/.plugins/org.eclipse.core.runtime3.把org.eclipse.wst.server.core.pre...
分类:
系统相关 时间:
2014-06-15 08:36:06
阅读次数:
216
当我们想要使用kindeditor的图片上传功能时,有两种选择图片方式,一种是本地选择,一种是在图片空间中选择,图片空间的默认地址是服务器上的/kindeditor/attached/image/下面。
如果想要改变这个路径,需要找到/kindeditor/php/file_manager_json.php这个文件,然后可以看到下面几行:
//根目录路径,可以指定绝对路径,比如 /var/...
分类:
其他好文 时间:
2014-06-13 21:31:50
阅读次数:
296