摘要: 整形的数组小工具 阅读全文
posted @ 2017-03-18 21:16 浪漫逆风 阅读(231) 评论(0) 推荐(0)
摘要: package algorithm.study.utils;import java.util.Arrays;/** * A tool prepare for Array,it convenient to create a random array for sort and print them * 阅读全文
posted @ 2017-03-18 19:31 浪漫逆风 阅读(204) 评论(0) 推荐(0)
摘要: #include<stdio.h>#include<math.h>#include<time.h>#define MAXK 1e6/*you can get the question fromE:\project\java_algorithm\C_Algorithem\algorithm01\wee 阅读全文
posted @ 2017-03-18 18:59 浪漫逆风 阅读(513) 评论(0) 推荐(0)
摘要: MySQL的root密码忘记和用户权限问题 1 MySQL的root修改密码和忘记密码的问题 1.1 MySQL的登录问题: 可以使用mysql -uroot p123来登录MySQL,但是这样不好,会使MySQL的密码在历史记录中出现,我们最好使用 mysql -uroot -p Password 阅读全文
posted @ 2017-03-01 16:16 浪漫逆风 阅读(3861) 评论(0) 推荐(0)
摘要: MergeSort(归并排序) quickSort(快速排序): shellSort(希尔排序): 测试方法的执行时间的工具类: 构造随机数组的工具类: 测试排序的方法: 测试结果:使用毫秒值: The size of array sorted is:9 The max value is permi 阅读全文
posted @ 2017-02-27 20:57 浪漫逆风 阅读(384) 评论(0) 推荐(0)
摘要: 如何获取一个方法的执行时间,不论是静态方法还是静态方法,不论是私有方法还是共有方法,如果该对象不能 被实例化,使用该对象的class对象也可以,例如Arrays.class也可以作为bean传入方法中 只有当方法是static,使用bean和bean.class都可以,但如果不是static,你使用 阅读全文
posted @ 2017-02-26 21:10 浪漫逆风 阅读(6049) 评论(0) 推荐(0)
摘要: Determine IP information for eth0.. no link present check cable 如果你的VMware虚拟机centos6.5使用NAT模式,开机以后,使用ifconfig命令后无法获取到IP 然后你关闭VMware,然后重新打开,开启centos,就会 阅读全文
posted @ 2017-02-26 09:59 浪漫逆风 阅读(4312) 评论(1) 推荐(1)
摘要: The code: 阅读全文
posted @ 2017-02-23 11:26 浪漫逆风 阅读(235) 评论(0) 推荐(0)
摘要: How to protect your web resource not to steal We will user Apache and Nginx to show how to do it. 1 Preparation environment You should success configu 阅读全文
posted @ 2017-02-22 16:04 浪漫逆风 阅读(282) 评论(0) 推荐(0)
摘要: 我根据MySQL配置文件的英文文档说明,在根据自己所学的知识,使用有道词典对不懂的单词进行了查询,一个一个翻译出来的。有的专业术语翻译的不好,我使用了英文进行标注,例如主机(master)和副机(slave hosts),不知道如何翻译,所有在翻译后面加上了英文标识。 下面是这个MySQL的my-i 阅读全文
posted @ 2017-02-07 08:52 浪漫逆风 阅读(1331) 评论(0) 推荐(1)