2015年12月29日
摘要: Windows --MySQL zip版本安装记录:step1.官网download zip包:http://cdn.mysql.com//Downloads/MySQL-5.7/mysql-5.7.10-winx64.zipstep2.解压包,path中增加E:\software\mysql-5.... 阅读全文
posted @ 2015-12-29 11:47 happinessqi 阅读(156) 评论(0) 推荐(0) 编辑
  2015年11月26日
摘要: 1.在Linux上redis的安装时十分简单的:第一步:wgethttp://download.redis.io/releases/redis-2.8.12.tar.gz解压: tar zxvf redis-2.8.12.tar.gz进入目录:cdredis-2.8.12编译:make启动并运行re... 阅读全文
posted @ 2015-11-26 16:24 happinessqi 阅读(144) 评论(0) 推荐(0) 编辑
  2014年5月21日
摘要: 转载自 http://www.91dota.com/?p=49#常用颜色的RGB值及中英文名称颜 色RGB值英文名中文名#FFB6C1LightPink浅粉红#FFC0CBPink粉红#DC143CCrimson深红/猩红#FFF0F5LavenderBlush淡紫红#DB7093PaleViole... 阅读全文
posted @ 2014-05-21 16:37 happinessqi 阅读(3057) 评论(0) 推荐(0) 编辑
  2014年5月15日
摘要: 转载自:http://www.ophonesdn.com/forum/thread-2609-1-1.htmlandroid intent和intent action大全android 中intent是经常要用到的。不管是页面牵转,还是传递数据,或是调用外部程序,系统功能都要用到intent。在做了... 阅读全文
posted @ 2014-05-15 16:07 happinessqi 阅读(143) 评论(0) 推荐(0) 编辑
  2014年3月14日
摘要: An internal error occurred during: “Updating Maven Project”. Unsupported IClasspathEntry kind=4Maven 报错。15down voteI just went to Properties -> Java Build Path -> Libraries and removed the blue entries starting with "M2_REPO". After that, I could use Maven -> Update Project again 阅读全文
posted @ 2014-03-14 11:32 happinessqi 阅读(493) 评论(0) 推荐(0) 编辑
  2014年3月11日
摘要: 用Maven建了一个web工程,总是在pom.xml头的地方报错:大概是:Original error: Could not transfer artifact org.hamcrest:hamcrest-core:jar:1.1 from/to central (http://repo.maven.apache.org/maven2): No response received after 60000。试了很多方法 1,删除C:\Users\zenobia\.m2\repository .m2下的repository文件夹,重新mvn clean. 没有用。 2.在pom.xml中加入... 阅读全文
posted @ 2014-03-11 15:57 happinessqi 阅读(2998) 评论(0) 推荐(0) 编辑
  2014年3月10日
摘要: 两个文件:info.txt 存放学生基本信息 学号 学院 专业 姓名 1001 计算机学院 软件工程 刘月 1002 生物工程 服装设计 孙丽score.txt存放分数信息 学号 学科 成绩 1001 数据结构 85 1001 线性代数 89 1002 数据库 100 1002 面料工艺 30求各学院各专业总分最高的学生。首先分析,学号--专业是一对一的,一个学生只能属于一个专业,为简单起见, 对于并列第一名的学生,只取第一个。Student.javapublic class Student { private int id; private String scho... 阅读全文
posted @ 2014-03-10 20:45 happinessqi 阅读(300) 评论(0) 推荐(0) 编辑
  2014年3月3日
摘要: public double findMedianSortedArrays(int A[], int B[]) { // Start typing your Java solution below // DO NOT write main() function int m = A.length, n = B.length; //if m+n is even, then the median is the av... 阅读全文
posted @ 2014-03-03 16:03 happinessqi 阅读(202) 评论(0) 推荐(0) 编辑
  2014年2月24日
摘要: package ch11;import java.util.ArrayList;import java.util.List;import java.util.Stack;public class LinkBinTree { public static class TreeNode { Object data; TreeNode left; TreeNode right; public TreeNode() { } public TreeNode(Object d... 阅读全文
posted @ 2014-02-24 01:09 happinessqi 阅读(539) 评论(0) 推荐(0) 编辑
  2014年2月22日
摘要: //根据深度优先搜索策略判断一个有向图是否存在环public class FindCircle { private boolean[] visited;//访问标记数组 private LinkStack S=new LinkStack();//按深度优先遍历访问的先后顺序记录在一个连通分支中的顶点元素 private boolean find = false; public void findCircle(ALGraph G) throws Exception { visited = new boolean[G.getVexNum()]; ... 阅读全文
posted @ 2014-02-22 16:11 happinessqi 阅读(396) 评论(0) 推荐(0) 编辑