CentOS http://vault.centos.org/apachehttp://mirror.bit.edu.cn/apache/httpd/mysqlftp://mysql.cdpa.nsysu.edu.tw/Unix/Database/MySQL/Downloads/phphttps:/...
分类:
其他好文 时间:
2014-06-18 22:24:38
阅读次数:
214
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 / \ ...
分类:
其他好文 时间:
2014-06-18 13:29:31
阅读次数:
214
谷歌眼镜,相信很多人都不陌生,让很多人带着好奇与期待,希望自己也能带着试试,是什么样的感觉。先来简单了解谷歌眼镜开发
在此就简单介绍谷歌眼镜开发中的一些知识,API / SDK。
1、是谷歌眼镜的 Mirror API,是基于RESTful接口,从远程服务器到谷歌眼镜timeline的云。
2、是眼镜的开发工具包,构建在Android SDK基础之上,不仅用来开发谷歌眼镜的应用程序。还能利用Android NDK和原生代码协作。...
分类:
移动开发 时间:
2014-06-18 12:41:33
阅读次数:
305
目标:学习Hbase,实现在本地文件系统中中安装Hbase参考资料:apache官方文档,HbaseQuickStart环境:MacOS上运行虚拟机,虚拟机中操作系统为CentOS安装过程: 1、安装JDK,本次安装过程中使用的JDK版本是jdk1.8。下载JDK后,执行默认安装; 2、下载HBase(http://mirror.esocc..
分类:
其他好文 时间:
2014-06-16 15:32:25
阅读次数:
191
网络程序中经常会遇到同步(Sync)/异步(Async),阻塞(Block)/非阻塞(Unblock)这四种概念。同步与异步区别在于调用结果是否通过事件、回调、状态报告等方式告知调用者;同步:调用者一直等待调用结果返回;异步:调用以后不会一直等待结果,会通过事件、回调、状态报告等方式告知调用者;而阻...
分类:
系统相关 时间:
2014-06-16 07:21:16
阅读次数:
330
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).
For example, this binary tree is symmetric:
1
/ 2 2
/ \ / 3 4 4 3
But the f...
分类:
其他好文 时间:
2014-06-15 19:49:35
阅读次数:
176
Symmetric TreeGiven a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric...
分类:
其他好文 时间:
2014-06-15 18:55:36
阅读次数:
188
Linux df命令 df(disk free)功能说明:显示磁盘的相关信息。语 法:df[-ahHiklmPT][--block-size=][-t ][-x ][--help][--no-sync][--sync][--version][文件或设备]补充说明:df可显示磁盘的...
分类:
系统相关 时间:
2014-06-14 21:06:20
阅读次数:
404
同步就是将物理内存中dirty的页写入到磁盘中,保证磁盘和物理页之间的内容一致。 触发同步操作的时机: 1、周期性内核线程,扫描脏页,根据一定的规则选择脏页,将页写回到磁盘。 2、如果内核中的脏页过多,会触发同步 3、内核中其它组件触发同步操作(如sync、fsync和fdatasync...
分类:
系统相关 时间:
2014-06-14 16:26:58
阅读次数:
405
入住博客园,先秀段代码: 1 public class Singleton { 2 3
private static Singleton instance ; 4 5 6 private Singleton() { 7 } 8 9 10
public sync...
分类:
其他好文 时间:
2014-06-12 17:18:26
阅读次数:
315