可以先读下这个译文。http://www.cnblogs.com/zilongshanren/archive/2011/08/30/2159086.html 读后,有以下疑惑。 在mac 机上生成的 一对 密钥和公钥 最后都何去何从。在过程中有什么作用。 Apple, and only Apple....
分类:
移动开发 时间:
2014-10-21 21:11:15
阅读次数:
183
搭建为伪分布式Hadoop环境
1、宿主机(Windows)与客户机(安装在虚拟机中的Linux)网络连接。
a) Host-only 宿主机与客户机单独组网;
好处:网络隔离;
坏处:虚拟机和其他服务器之间不能通讯;
b) Bridge 桥接 宿主机与客户机在同一个局域网中。
好处:窦在同一个局域网,可以互相访问;
坏处:不完全。
2、Hadoop的为分布式安装步骤
a) 设置...
分类:
其他好文 时间:
2014-10-20 23:25:50
阅读次数:
230
继续学习redis源码下的Data数据相关文件的代码分析,今天我看的是一个叫aof的文件,这个字母是append ONLY file的简称,意味只进行追加文件操作。这里的文件追加记录时为了记录数据操作的改变记录,用以异常情况的数据恢复的。类似于之前我说的redo,undo日志的作用。我们都知道,redis作为一个内存数据库,数据的每次操作改变是先放在内存中,等到内存数据满了,在刷新到磁盘文件中,达...
分类:
移动开发 时间:
2014-10-20 21:29:33
阅读次数:
344
JdbcTemplate的queryForMap方法报错 queryForMap方法使用不当,就会出错,使用方式如下: The queryForMap method in JdbcTemplate only expects a single row to be returned, The retur...
分类:
数据库 时间:
2014-10-20 17:00:22
阅读次数:
297
Description
Jenny is a warehouse keeper. He writes down the entry records everyday. The record is shown on a screen, as follow:
There are only two buttons on the screen. Pressing the button i...
分类:
其他好文 时间:
2014-10-20 15:06:03
阅读次数:
259
Try this way....As per Apple Document, ImagePicker Controller never Rotate in Landscape mode. You have to use in Potrait Mode only.For disable Landsca...
分类:
其他好文 时间:
2014-10-20 14:44:23
阅读次数:
208
【题目】
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.
Note: You can only move either down o...
分类:
其他好文 时间:
2014-10-19 21:25:37
阅读次数:
247
Description has only two SentencesTime Limit: 3000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Problem Descriptionan = X*an-1 + Y a....
分类:
其他好文 时间:
2014-10-19 21:17:00
阅读次数:
248
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan, a canal: Pana...
分类:
其他好文 时间:
2014-10-19 04:49:48
阅读次数:
165
今天捣鼓了一会虚拟机,对上网方式又学习了一遍,之前摆弄过,现在又捡起来了,主要自己整理一下,方面后面复习。主要有三种网络模型:桥接、仅主机(Host-Only)、NAT。自己亲测了这三种方式,都可以上网。说明: 配置:Win7 64位+VMware10.0+Ubuntu14.04。 网络模型:V.....
分类:
系统相关 时间:
2014-10-18 23:59:16
阅读次数:
391