```javascript#-*- coding:utf-8 -*- from SocketServer import ThreadingTCPServer, StreamRequestHandler import traceback class MyStreamRequestHandle... Read More
posted @ 2015-08-07 13:15 lily园 Views(252) Comments(0) Diggs(0) Edit
##一.数据库脚本(mysql.sh)* Linux环境下,定时将数据库A的表格复制到数据库B中```javascript#!/bin/bashmysql_host="127.0.0.1"mysql_user="root"mysql_passwd="123456"dbold="nagios"dbne... Read More
posted @ 2015-08-07 13:06 lily园 Views(1172) Comments(0) Diggs(0) Edit
![](http://images0.cnblogs.com/blog2015/684172/201508/071252120184181.png)OpenStack是一个开源的云计算管理平台项目,由几个主要的组件组合起来完成具体工作。OpenStack支持几乎所有类型的云环境,项目目标是提供实施简... Read More
posted @ 2015-08-07 12:54 lily园 Views(308) Comments(0) Diggs(0) Edit
#一.云计算的基本概念##1.云计算从功能上 * 云计算:主要提供虚拟主机服务云计算是使IT基础设施具有流动性,能够有效利用闲置的资源* 云存储:主要提供海量数据存储服务##2.云计算从应用场景 * 公有云:面向社会个人或企业提供的云服务* 私有云:面向企业内部部门或员工提供云服务 * 安全性:由... Read More
posted @ 2015-08-07 12:16 lily园 Views(157) Comments(0) Diggs(0) Edit
Subsets Total Accepted: 49746 Total Submissions: 176257My SubmissionsGiven a set of distinct integers, nums, return all possible subsets.Note:Elements... Read More
posted @ 2015-08-07 12:07 lily园 Views(174) Comments(0) Diggs(0) Edit
```javascriptpackage hashmap;import java.util.HashMap;import java.util.Map;public class hashmap { public static void main(String[] args) { String s="... Read More
posted @ 2015-08-07 12:05 lily园 Views(162) Comments(0) Diggs(0) Edit
##Add Two Numbers Total Accepted: 55216 Total Submissions: 249950My SubmissionsYou are given two linked lists representing two non-negative numbers. T... Read More
posted @ 2015-08-07 12:03 lily园 Views(123) Comments(0) Diggs(0) Edit
```javascriptpackage java_net_test;import java.util.HashMap;import java.util.Iterator;import java.util.Map;public class twoSum { public static void ma... Read More
posted @ 2015-08-07 12:00 lily园 Views(217) Comments(0) Diggs(0) Edit
堆可以看成是一个完全二叉树,而且非终端节点的值均不大于(不小于)其左右孩子节点的值。堆排序只需要一个记录大小的辅助空间,输出堆顶的值之后需要对堆进行调整建立新堆,找到剩下节点的最大值(最小值),反复执行。 ```javascriptpackage java_net_test;//大顶堆publ... Read More
posted @ 2015-08-07 11:13 lily园 Views(289) Comments(0) Diggs(0) Edit