摘要: 环境搭建流程 直接配置web项目的 "IntelliJ IDEA 2016.2 配置Tomcat 运行Web项目" "IntelliJ IDEA配置Tomcat(完整版教程)" 使用spring mvc配置 我自己是参照 "使用IntelliJ IDEA开发Spring MVC HelloWorld 阅读全文
posted @ 2017-12-22 16:47 Dyleaf 阅读(334) 评论(0) 推荐(0)
摘要: mysql国内镜像下载网址 http://mirrors.sohu.com/mysql/ http://mirrors.ustc.edu.cn/mysql ftp/Downloads/ 开源镜像站点汇总 http://segmentfault.com/a/1190000000375848 http: 阅读全文
posted @ 2017-12-20 02:03 Dyleaf 阅读(1349) 评论(0) 推荐(1)
摘要: 在安装Toamcat时,发现了以下的错误提示 原因分析 从上面的描述中就可以看到,是因为端口8005被占用了。 那么就是解决问题了 目标:在Windows环境下,用netstat命令查看某个端口号是否占用,为哪个进程所占用. 操作:操作分为两步:(1)查看该端口被那个PID所占用;方法一:有针对性的 阅读全文
posted @ 2017-12-17 01:34 Dyleaf 阅读(1595) 评论(0) 推荐(0)
摘要: Encode and Decode TinyURL TinyURL is a URL shortening service where you enter a URL such as https://leetcode.com/problems/design tinyurl and it return 阅读全文
posted @ 2017-12-03 12:14 Dyleaf 阅读(198) 评论(0) 推荐(0)
摘要: 454. 4Sum II Given four lists A, B, C, D of integer values, compute how many tuples (i, j, k, l) there are such that A[i] + B[j] + C[k] + D[l] is zero 阅读全文
posted @ 2017-12-03 11:50 Dyleaf 阅读(142) 评论(0) 推荐(0)
摘要: two sum Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would 阅读全文
posted @ 2017-12-03 11:49 Dyleaf 阅读(139) 评论(0) 推荐(0)
摘要: https://github.com/Dyleaf 阅读全文
posted @ 2017-12-02 18:46 Dyleaf 阅读(6168) 评论(3) 推荐(2)
摘要: 引子 之前写C++ 时遇到的坑 之前由于Java实在太好用了,C++的工程代码几乎没怎么碰,真的写起来的时候总会有些小bug,这里就对其中的一个进行个总结 a.h a.cpp b.h b.cpp 假设有上述两个类的头文件,我需要对a b类进行互相的调用,如果如同上述的形式操作绝对会陷入头文件的重复包 阅读全文
posted @ 2017-11-26 02:46 Dyleaf 阅读(7522) 评论(0) 推荐(0)
摘要: 问题提出 错误提示:Your content must have a ListView whose id attribute is 'android.R.id.list' 关于解决Your content must have a ListView whose id attribute is ‘And 阅读全文
posted @ 2017-10-17 08:58 Dyleaf 阅读(216) 评论(0) 推荐(0)
摘要: 普通广播(Normal Broadcast): 一,优缺点:和有序广播的优缺点相反! 二,发送广播的方法:sendBroadcast() 有序广播(Ordered Broadcast): 1. 一,优缺点 优点:1. 按优先级的不同,优先Receiver可对数据进行处理,并传给下一个Receiver 阅读全文
posted @ 2017-10-17 08:56 Dyleaf 阅读(200) 评论(0) 推荐(0)