- Sherry读经典||《西方哲学史英汉对照版》(1)
Sherry的胡言乱语
1.自然哲学Philosophyofnature2.早期希腊思想EarlyGreekthought3.希腊Hellenicworld4.雅典、罗马、亚历山大或小亚细亚Athens,Rome,Alexandria,orinAsiaMinor5.西西里、意大利南部和赫拉克勒斯的石柱Sicily,southernItaly,andthePillarsofHercules6.部族首长专制Patriarch
- 来自西西里岛的美食 奶油甜馅煎饼卷 Cannolo
Art美食馆
Cannolo提起意大利的甜品相信所有人首先想到的都是提拉米苏,但是在西西里岛人们更加珍爱的是Cannolo。西西里是意大利南部的一个自治区,这里有着欧洲最美的海滩风光。电影《托斯卡纳艳阳下》中女主人公的家就取景自这里。苏莲托:美丽的小镇苏莲托坐落在去往阿玛尔菲海岸的必经之路上,这里以出产柠檬而远近闻名。意大利著名歌曲《重归苏莲托》就是为这里而谱写的。Sicily西西里岛一个美丽的传说.『卡诺里-
- Sicily---1039. Phone Home(图的最少染色)
鲜橙
题目如下DescriptionWhenrelaytowersformobiletelephonescommunicatewiththemobilephonesintheirarea,thereisalwaysthepossibilityofinterference.So,whenassigningthetransmissionfrequency,theFCCmakessurethatnearbyt
- 5 redis的GEO操作
水无痕simon
redisredisbootstrap数据库
一、GEORedis3.2版本提供了GEO(地理信息定位)功能,支持存储地理位置信息用来实现诸如附近位置、摇一摇这类依赖于地理位置信息的功能。有效纬度从-85.05112878度到85.05112878度注意:当坐标位置超出上述指定范围时,将会返回一个错误。二、实现方式将指定的地理空间位置(纬度、经度、名称)添加到指定的key中。geoadd命令redis>GEOADDSicily13.36138
- sicily-1795. Table tennis
清水白石沙寒
sicilysicily几何
1795.Tabletennis限制条件时间限制:1秒,内存限制:32兆题目描述The49thWorldTableTennisChampionshipswasheldinGuangzhoufromFebruary24thtoMarch2nd.Itwasachancenottobemissedforthetabletennisenthusiast.TZDandothertabletennisenth
- sicily--1351. Multi-key Sorting
chenhq1991
Sicilysortingc
1.一开始真的觉得很难很难,因为刚刚做了一个KMP的题目,个人觉得这个题目是不是在考察同样的东西,就是说如果两个连续的“区间”(1、2、3***个数字为一个区间)如果相同则可以舍去一个区间,这样我就一直在想可不可以往KMP上面去靠,但是怎么都不行2.后来一想,题目所说的是"stable",那么无论即使前面的排序如何,只要后面的有另一个列的排序的话,那么前面的列顺序可以说就被破坏了,这么一说,就是只
- sicily 4699. 简单哈希
aa662665
测试
Description使用线性探测法(LinearProbing)可以解决哈希中的冲突问题,其基本思想是:设哈希函数为h(key)=d,并且假定哈希的存储结构是循环数组,则当冲突发生时,继续探测d+1,d+2…,直到冲突得到解决.例如,现有关键码集为{47,7,29,11,16,92,22,8,3},设:哈希表表长为m=11;哈希函数为Hash(key)=keymod11;采用线性探测法处理冲突。
- iconic Sicilian dish-6
江湖安途
SpanishrulersintroducedtomatoestoSicilyinthe15thCentury,butaccordingtoBasile,itwasn’tuntilthemid-19thCenturythatbothsidesoftheislandstartedaddingpassata(tomatopuree)totheoriginalrecipethatcametolifeun
- sicily_1863 Elegant fibonacci numbers again
我什么都不知道呀
题目ConstraintsTimeLimit:1secs,MemoryLimit:32MBDescriptionFibonaccinumbersarenicesimpleintegers.Allofyouarefamiliarwithit,aren’tyou?TheFibonaccisequencearedefinedbytherecurrence:F[0]=0;F[1]=1;F[n]=F[n-1
- Sicily部分题目方法介绍爬取
肥宅_Sean
正值期末复习,刷点soj放松下。但想看看能不能在找点关于数据结构的题目来做一下。在网上看到有不少人上传过那些关于部分SOJ题目的描述,但是说实话有些乱不过我看到有个网页中包含的一个类似文档的东西,里面讲述的还算比较整洁。但是不巧的是,它被分成了很多页,我要看就需要不断地点下一页,这点让我感觉很难受(懒...)于是我就研究了下那个网页的源码,开始了写了个爬虫。为了好看,将写好的东西,做了个切片,放到
- 美食调香水丨香蕉牛奶?不不不,这里有龙虾味的香水!(下)
伊思梵
当大家谈起美食调香水时,一般都是糖果、焦糖咖啡、巧克力,或是奶油蛋糕味的香水。但,美食只有这些吗?世界美食那么多,先不说各式水果,还有西点面包、美味寿司披萨、还有我们最爱的小龙虾......若这些都被做成了香水,你还会像喜欢美食一样喜欢美食系的香水吗?水果篇水果味的香水大概就像是水果味的唇膏or果冻一样,好闻也好吃。香蕉:杜嘉班纳西西里Dolce&GabbanaSicily香调:醛香花香调属性:女
- Sicily---1031. Campus(最短路径)
鲜橙
注:搬运自我的csdn博客http://blog.csdn.net/qq_30172585题目如下:DescriptionAtpresent,ZhongshanUniversityhas4campuseswithatotalareaof6.17squarekilometerssittingrespectivelyonbothsidesofthePearlRiverorfacingtheSouthC
- Sicily9359(广搜)
NOTTME
搜索
有点小复杂的广搜,一开始将每个砖头的一半作为一个数组元素来存储,后来发现不满足广搜的规则。因为在一个砖头内移动是不算移动距离的,这样就会导致有些距离长的状态先被扩展出来,到达终点时不满足最短路径。最后改成每个砖头作为一个数组元素来存储,用结构体。分奇数行和偶数行讨论,每个砖头可以向其他6个方向扩展,广搜得到答案。#include#include#includeusingnamespacestd;s
- sicily 1004. 密码问题
Awiny_ImageProcess
c++算法
Description有一行电文,按下列规律译成密码:A->Za->zB->Yb->yC->Xc->x.....即第一个字母变成第26个字母,第i个字母变成第(26-i+1)个字母。非字母字符不变。要求编程将密码翻译回原文,并输出原文InputRORPVZYXOutputILIKEABCSampleInputCopysampleinputtoclipboardRORPVZYXSampleOutpu
- sicily 1029.Rabbit
zsjhxl
ACM
题意:高精度加法和统计。归纳出公式:1、当月份少于rabbit长成adult时,num[i]=num[i-1]+1;表示每个月都增加一对rabbit2、当月份达到rabbit长成adult时,num[i]=num[i-1]+num[i-m];表示第i个月的rabbit对数是上个月的rabbit加上本月刚成年的rabbit(刚成年等同于刚生下新兔子...)#include#include#inclu
- Sicily 1029. Rabbit
xshengh
sicily模拟推理
高精度加法+简单推理。//Problem#:1029//Submission#:2198305//ThesourcecodeislicensedunderCreativeCommonsAttribution-NonCommercial-ShareAlike3.0UnportedLicense//URI:http://creativecommons.org/licenses/by-nc-sa/3.0
- [sicily]1293. 3n+1数链问题
大笨猪耶
数据结构与算法分析sicily
1293.3n+1数链问题ConstraintsTimeLimit:1secs,MemoryLimit:32MBDescription在计算机科学上,有很多类问题是无法解决的,我们称之为不可解决问题。然而,在很多情况我们并不知道哪一类问题可以解决,那一类问题不可解决。现在我们就有这样一个问题,问题如下:1.输入一个正整数n;2.把n显示出来;3.如果n=1则结束;4.如果n是奇数则n变为3n+1,
- [sicily]1935. 二叉树重建
大笨猪耶
数据结构与算法分析
1935.二叉树重建ConstraintsTimeLimit:1secs,MemoryLimit:32MBDescription对于二叉树T,可以递归定义它的先序遍历、中序遍历和后序遍历如下:PreOrder(T)=T的根节点+PreOrder(T的左子树)+PreOrder(T的右子树)InOrder(T)=InOrder(T的左子树)+T的根节点+InOrder(T的右子树)PostOrder
- [sicily]1134. 积木分发
大笨猪耶
数据结构与算法分析
1134.积木分发ConstraintsTimeLimit:10secs,MemoryLimit:32MBDescription歌手ThePancakes到幼儿园跟小朋友玩耍,她到达的时候小朋友们已经争着积木玩了。小朋友都想要更多的积木砌一个自己喜欢的图形,砌完就可以和ThePancakes合照。同时,ThePancakes手上还有一些积木,她可以把手上的这些积木全部给一个小朋友,然后等该小朋友砌
- [sicily]部分题目分类
大笨猪耶
数据结构与算法分析sicily
sicily题目分类1.编程入门2.数据结构3.字符串4.排序5.图遍历6.图算法7.搜索:剪枝,启发式搜索8.动态规划/递推9.分治/递归10.贪心11.模拟12.算术与代数13.组合问题14.数论15.网格,几何,计算几何【编程入门】PC110101,uva100,The3n+1problem,难度1PC110102,uva10189,Minesweeper,难度1PC110103,uva10
- sicily1029 Rabbit
guozhchun
sicily
题目链接:http://soj.sysu.edu.cn/1029题目大意:刚开始是有一对成年兔子,每对成年兔子在一个月后生下一对小兔子,小兔子经过m个月后成长为成年兔子。给定兔子从小兔子成长为成年兔子所需要的时间m个月,问在d个月后兔子的总对数。假设在整个过程中没有兔子死亡。例如:当m=2,d=3时,输入结果为5。但是这里我有个问题一直没想明白,按照题目的意思刚开始是1对兔子,那一个月后应该是1对
- sicily--1159. Sum
chenhq1991
Sicily
1.练练重载函数2.记得之前也有一道类似的题目,同样也是在“最高进位”的问题上忘记考虑了#include#includeusingnamespacestd;classBigNum{public:BigNum(){this->num="0";}BigNum(stringn){this->num=n;}stringgetNum(){returnthis->num;}friendBigNumoperat
- sicily1029. Rabbit (高精度加法+公式递推)
cvanchen
sicily
由此题得到一个很类似的状态转移方程:rabbit[i]=rabbit[i-1]+rabbit[i-m],理解为当前月的成年兔子是上一个月已经成年的兔子加上这个月刚成年的兔子。同时由于结果太大,所以要用到高精度加法来辅助一下。。#include#includeusingnamespacestd;//用二维数组来解决高精度加法的问题intnum[150][150];intmain(){intm,d;w
- Sicily 1029 Rabbit
Jianquan520
题目:http://soj.me/1029题目大意:开始时有1对成年兔子,每一对成年的兔子每个月可以生一对小兔子,给出m和d(m#include#include#include#defineget_max(a,b)((a)>(b)?(a):(b))usingnamespacestd;constintmaxn=200;structbign{intlen,s[maxn];bign(){memset(s
- Sicily 1029 Rabbit(高精度运算+公式递推)
ChinaCzy
高精度运算
//高精度运算+公式递推//当m=1时,ans=2^d;//当m>1时,f[1]=1,f[2]=2....f[m]=m,f[m+1]=f[m]+f[1]......f[n]=f[n-1]+f[n-m];#include#include#include#includeusingnamespacestd;structBigint{stringnum;Bigint(intn){while(n!=0){n
- sicily 1029 Rabbit
Dijason
算法
我就比较水,直接模拟整个过程,因为m值不大。每个模拟过程:k[m]=k[m-1];//一个月过去了,孩子们长大一岁了!...k[1]=k[0];parent=parent+k[m];//孩子都长大了,能生孩子了。这加法需要用高精度k[0]=parent;//新生的孩子们长大的过程一直循环就可以搞定了。#include#include#include#includeusingnamespacestd
- sicily 1029. Rabbit | 高精度加法+递推(类斐波那契推导)
linzch3
Oj
题目:1029.Rabbit题意:•开始有一对成年兔子•每对成年兔子每个月产生一对小兔子•每只小兔子经过m个月变成成年兔子•问经过d个月后有多少兔子•约束:10),可以分成两部分:•第一部分上一个月已经有的兔子F[n-1]•第二部分新产生的兔子,那么新产生兔子需要经历d个月的兔子,那么就是F[n-d],所以我们可以得到递推式:F[n]=F[n–1]+F[n–d]•另外注意的是对于Fn,我们为了切合
- [sicily]1029. Rabbit
大笨猪耶
数据结构与算法分析
1029.RabbitConstraintsTimeLimit:1secs,MemoryLimit:32MBDescriptionTherabbitshavepowerfulreproductionability.Onepairofadultrabbitscangivebirthtoonepairofkidrabbitseverymonth.Andaftermmonths,thekidrabbit
- sicily 6378. *Rabbits
denglaiyou4326
测试
DescriptionTherabbitshavepowerfulreproductionability.Onepairofadultrabbitscangivebirthtoonepairofkidrabbitseverymonth.Andaftermmonths,thekidrabbitscanbecomeadultrabbits.Asweallknow,whenm=2,thesequence
- sicily 1029. Rabbit
aa662665
DescriptionTherabbitshavepowerfulreproductionability.Onepairofadultrabbitscangivebirthtoonepairofkidrabbitseverymonth.Andaftermmonths,thekidrabbitscanbecomeadultrabbits.Asweallknow,whenm=2,thesequence
- 多线程编程之存钱与取钱
周凡杨
javathread多线程存钱取钱
生活费问题是这样的:学生每月都需要生活费,家长一次预存一段时间的生活费,家长和学生使用统一的一个帐号,在学生每次取帐号中一部分钱,直到帐号中没钱时 通知家长存钱,而家长看到帐户还有钱则不存钱,直到帐户没钱时才存钱。
问题分析:首先问题中有三个实体,学生、家长、银行账户,所以设计程序时就要设计三个类。其中银行账户只有一个,学生和家长操作的是同一个银行账户,学生的行为是
- java中数组与List相互转换的方法
征客丶
JavaScriptjavajsonp
1.List转换成为数组。(这里的List是实体是ArrayList)
调用ArrayList的toArray方法。
toArray
public T[] toArray(T[] a)返回一个按照正确的顺序包含此列表中所有元素的数组;返回数组的运行时类型就是指定数组的运行时类型。如果列表能放入指定的数组,则返回放入此列表元素的数组。否则,将根据指定数组的运行时类型和此列表的大小分
- Shell 流程控制
daizj
流程控制if elsewhilecaseshell
Shell 流程控制
和Java、PHP等语言不一样,sh的流程控制不可为空,如(以下为PHP流程控制写法):
<?php
if(isset($_GET["q"])){
search(q);}else{// 不做任何事情}
在sh/bash里可不能这么写,如果else分支没有语句执行,就不要写这个else,就像这样 if else if
if 语句语
- Linux服务器新手操作之二
周凡杨
Linux 简单 操作
1.利用关键字搜寻Man Pages man -k keyword 其中-k 是选项,keyword是要搜寻的关键字 如果现在想使用whoami命令,但是只记住了前3个字符who,就可以使用 man -k who来搜寻关键字who的man命令 [haself@HA5-DZ26 ~]$ man -k
- socket聊天室之服务器搭建
朱辉辉33
socket
因为我们做的是聊天室,所以会有多个客户端,每个客户端我们用一个线程去实现,通过搭建一个服务器来实现从每个客户端来读取信息和发送信息。
我们先写客户端的线程。
public class ChatSocket extends Thread{
Socket socket;
public ChatSocket(Socket socket){
this.sock
- 利用finereport建设保险公司决策分析系统的思路和方法
老A不折腾
finereport金融保险分析系统报表系统项目开发
决策分析系统呈现的是数据页面,也就是俗称的报表,报表与报表间、数据与数据间都按照一定的逻辑设定,是业务人员查看、分析数据的平台,更是辅助领导们运营决策的平台。底层数据决定上层分析,所以建设决策分析系统一般包括数据层处理(数据仓库建设)。
项目背景介绍
通常,保险公司信息化程度很高,基本上都有业务处理系统(像集团业务处理系统、老业务处理系统、个人代理人系统等)、数据服务系统(通过
- 始终要页面在ifream的最顶层
林鹤霄
index.jsp中有ifream,但是session消失后要让login.jsp始终显示到ifream的最顶层。。。始终没搞定,后来反复琢磨之后,得到了解决办法,在这儿给大家分享下。。
index.jsp--->主要是加了颜色的那一句
<html>
<iframe name="top" ></iframe>
<ifram
- MySQL binlog恢复数据
aigo
mysql
1,先确保my.ini已经配置了binlog:
# binlog
log_bin = D:/mysql-5.6.21-winx64/log/binlog/mysql-bin.log
log_bin_index = D:/mysql-5.6.21-winx64/log/binlog/mysql-bin.index
log_error = D:/mysql-5.6.21-win
- OCX打成CBA包并实现自动安装与自动升级
alxw4616
ocxcab
近来手上有个项目,需要使用ocx控件
(ocx是什么?
http://baike.baidu.com/view/393671.htm)
在生产过程中我遇到了如下问题.
1. 如何让 ocx 自动安装?
a) 如何签名?
b) 如何打包?
c) 如何安装到指定目录?
2.
- Hashmap队列和PriorityQueue队列的应用
百合不是茶
Hashmap队列PriorityQueue队列
HashMap队列已经是学过了的,但是最近在用的时候不是很熟悉,刚刚重新看以一次,
HashMap是K,v键 ,值
put()添加元素
//下面试HashMap去掉重复的
package com.hashMapandPriorityQueue;
import java.util.H
- JDK1.5 returnvalue实例
bijian1013
javathreadjava多线程returnvalue
Callable接口:
返回结果并且可能抛出异常的任务。实现者定义了一个不带任何参数的叫做 call 的方法。
Callable 接口类似于 Runnable,两者都是为那些其实例可能被另一个线程执行的类设计的。但是 Runnable 不会返回结果,并且无法抛出经过检查的异常。
ExecutorService接口方
- angularjs指令中动态编译的方法(适用于有异步请求的情况) 内嵌指令无效
bijian1013
JavaScriptAngularJS
在directive的link中有一个$http请求,当请求完成后根据返回的值动态做element.append('......');这个操作,能显示没问题,可问题是我动态组的HTML里面有ng-click,发现显示出来的内容根本不执行ng-click绑定的方法!
 
- 【Java范型二】Java范型详解之extend限定范型参数的类型
bit1129
extend
在第一篇中,定义范型类时,使用如下的方式:
public class Generics<M, S, N> {
//M,S,N是范型参数
}
这种方式定义的范型类有两个基本的问题:
1. 范型参数定义的实例字段,如private M m = null;由于M的类型在运行时才能确定,那么我们在类的方法中,无法使用m,这跟定义pri
- 【HBase十三】HBase知识点总结
bit1129
hbase
1. 数据从MemStore flush到磁盘的触发条件有哪些?
a.显式调用flush,比如flush 'mytable'
b.MemStore中的数据容量超过flush的指定容量,hbase.hregion.memstore.flush.size,默认值是64M 2. Region的构成是怎么样?
1个Region由若干个Store组成
- 服务器被DDOS攻击防御的SHELL脚本
ronin47
mkdir /root/bin
vi /root/bin/dropip.sh
#!/bin/bash/bin/netstat -na|grep ESTABLISHED|awk ‘{print $5}’|awk -F:‘{print $1}’|sort|uniq -c|sort -rn|head -10|grep -v -E ’192.168|127.0′|awk ‘{if($2!=null&a
- java程序员生存手册-craps 游戏-一个简单的游戏
bylijinnan
java
import java.util.Random;
public class CrapsGame {
/**
*
*一个简单的赌*博游戏,游戏规则如下:
*玩家掷两个骰子,点数为1到6,如果第一次点数和为7或11,则玩家胜,
*如果点数和为2、3或12,则玩家输,
*如果和为其它点数,则记录第一次的点数和,然后继续掷骰,直至点数和等于第一次掷出的点
- TOMCAT启动提示NB: JAVA_HOME should point to a JDK not a JRE解决
开窍的石头
JAVA_HOME
当tomcat是解压的时候,用eclipse启动正常,点击startup.bat的时候启动报错;
报错如下:
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME shou
- [操作系统内核]操作系统与互联网
comsci
操作系统
我首先申明:我这里所说的问题并不是针对哪个厂商的,仅仅是描述我对操作系统技术的一些看法
操作系统是一种与硬件层关系非常密切的系统软件,按理说,这种系统软件应该是由设计CPU和硬件板卡的厂商开发的,和软件公司没有直接的关系,也就是说,操作系统应该由做硬件的厂商来设计和开发
- 富文本框ckeditor_4.4.7 文本框的简单使用 支持IE11
cuityang
富文本框
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>知识库内容编辑</tit
- Property null not found
darrenzhu
datagridFlexAdvancedpropery null
When you got error message like "Property null not found ***", try to fix it by the following way:
1)if you are using AdvancedDatagrid, make sure you only update the data in the data prov
- MySQl数据库字符串替换函数使用
dcj3sjt126com
mysql函数替换
需求:需要将数据表中一个字段的值里面的所有的 . 替换成 _
原来的数据是 site.title site.keywords ....
替换后要为 site_title site_keywords
使用的SQL语句如下:
updat
- mac上终端起动MySQL的方法
dcj3sjt126com
mysqlmac
首先去官网下载: http://www.mysql.com/downloads/
我下载了5.6.11的dmg然后安装,安装完成之后..如果要用终端去玩SQL.那么一开始要输入很长的:/usr/local/mysql/bin/mysql
这不方便啊,好想像windows下的cmd里面一样输入mysql -uroot -p1这样...上网查了下..可以实现滴.
打开终端,输入:
1
- Gson使用一(Gson)
eksliang
jsongson
转载请出自出处:http://eksliang.iteye.com/blog/2175401 一.概述
从结构上看Json,所有的数据(data)最终都可以分解成三种类型:
第一种类型是标量(scalar),也就是一个单独的字符串(string)或数字(numbers),比如"ickes"这个字符串。
第二种类型是序列(sequence),又叫做数组(array)
- android点滴4
gundumw100
android
Android 47个小知识
http://www.open-open.com/lib/view/open1422676091314.html
Android实用代码七段(一)
http://www.cnblogs.com/over140/archive/2012/09/26/2611999.html
http://www.cnblogs.com/over140/arch
- JavaWeb之JSP基本语法
ihuning
javaweb
目录
JSP模版元素
JSP表达式
JSP脚本片断
EL表达式
JSP注释
特殊字符序列的转义处理
如何查找JSP页面中的错误
JSP模版元素
JSP页面中的静态HTML内容称之为JSP模版元素,在静态的HTML内容之中可以嵌套JSP
- App Extension编程指南(iOS8/OS X v10.10)中文版
啸笑天
ext
当iOS 8.0和OS X v10.10发布后,一个全新的概念出现在我们眼前,那就是应用扩展。顾名思义,应用扩展允许开发者扩展应用的自定义功能和内容,能够让用户在使用其他app时使用该项功能。你可以开发一个应用扩展来执行某些特定的任务,用户使用该扩展后就可以在多个上下文环境中执行该任务。比如说,你提供了一个能让用户把内容分
- SQLServer实现无限级树结构
macroli
oraclesqlSQL Server
表结构如下:
数据库id path titlesort 排序 1 0 首页 0 2 0,1 新闻 1 3 0,2 JAVA 2 4 0,3 JSP 3 5 0,2,3 业界动态 2 6 0,2,3 国内新闻 1
创建一个存储过程来实现,如果要在页面上使用可以设置一个返回变量将至传过去
create procedure test
as
begin
decla
- Css居中div,Css居中img,Css居中文本,Css垂直居中div
qiaolevip
众观千象学习永无止境每天进步一点点css
/**********Css居中Div**********/
div.center {
width: 100px;
margin: 0 auto;
}
/**********Css居中img**********/
img.center {
display: block;
margin-left: auto;
margin-right: auto;
}
- Oracle 常用操作(实用)
吃猫的鱼
oracle
SQL>select text from all_source where owner=user and name=upper('&plsql_name');
SQL>select * from user_ind_columns where index_name=upper('&index_name'); 将表记录恢复到指定时间段以前
- iOS中使用RSA对数据进行加密解密
witcheryne
iosrsaiPhoneobjective c
RSA算法是一种非对称加密算法,常被用于加密数据传输.如果配合上数字摘要算法, 也可以用于文件签名.
本文将讨论如何在iOS中使用RSA传输加密数据. 本文环境
mac os
openssl-1.0.1j, openssl需要使用1.x版本, 推荐使用[homebrew](http://brew.sh/)安装.
Java 8
RSA基本原理
RS