自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

面朝大海,春暖花开

IN IT && WIN IT

  • 博客(23)
  • 资源 (1)
  • 收藏
  • 关注

转载 使用ListIterator双向遍历集合

使用ListIterator双向遍历集合@Testpublic void linkedListListIteratorTest(){ List< String > staff = new LinkedList(); staff.add ( "Amy" ) ; staff.add ( "Bob" ) ; staff.add ( "nCarl" )...

2018-02-28 09:20:37 3795 1

转载 java中集合

java集合接口的层次由两棵不同的树组成,其中,List、Set和Queue属于Iterable树,Map与这些集合又不同,因此属于另一棵树具体集合集合框架实现类: 集合 描述 ArrayList 一种可以动态增长和缩减的索引序列 LinkedList 一种可以在任何位置进行高效地插人和删除操作的有序序列 ArrayDe...

2018-02-28 09:10:53 174

转载 spring boot使用jdbcTemplate

spring boot使用jdbcTemplate摘自,使用spring boot 版本为2.0.0.RC21.项目结构2.引入maven依赖<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-start...

2018-02-25 14:33:05 285

转载 spring boot读取application.yml文件中的属性值

spring boot读取application.yml文件中的属性值spring boot版本为1.5.10.RELEASE1.在application.yml文件内容foo: remote-address: 192.168.1.1 security: username: foo roles: - USER - ADMIN2.创建FooPropert...

2018-02-25 13:00:21 24486

转载 spring boot使用logback日志

spring boot 使用logback日志spring boot版本为1.5.10.RELEASE, 我们知道,spring boot默认使用logback作为记录日志1.项目结构2.将logback.xml文件放在resources文件夹的根目录下<?xml version="1.0" encoding="UTF-8"?><configuration&...

2018-02-25 12:30:00 3191

转载 spring boot使用fastjson

spring boot 使用fastjson1.引入maven依赖<dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.46</version>&am

2018-02-25 10:56:25 16542

转载 mysql实现分组取每组中前N条

mysql实现分组取每组中前N条准备工作创建表: CREATE TABLE `t_post` ( `id` int(11) DEFAULT NULL, `tid` int(11) DEFAULT NULL, `subject` varchar(255) DEFAULT NULL, `message` varchar(255) DEFAULT NULL, `...

2018-02-11 15:38:52 277

转载 mysql实现排名

mysql实现排名准备工作创建表t_user_score:CREATE TABLE `t_user_score` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `user_id` bigint(20) NOT NULL COMMENT '用户ID', `score` int(11) NOT NULL COMMENT...

2018-02-11 14:14:27 206

转载 SQL分类

SQL分类SQL语句主要分成以下三个类别:DDL(Data Definition Languages): 数据定义语言,主要包括create、drop、alter等关键字。这些语句定义了不同的数据段、数据库、表、列、索引等DML(Data Manipulation Languages): 数据 操纵语言,主要包括insert、delete、update和select等关键字。用于添加、...

2018-02-10 21:40:10 163

转载 Atom安装script运行code,改变console字体大小

Atom安装script运行code,改变console字体大小Atom安装script运行code,字体太小:解决方案点击file->stylesheet: 加入:.script-view .line { font-size: 17px;}修改之后:...

2018-02-10 14:22:46 1371

转载 atom 插件

atom中使用的插件集pigment: a package to display color in project and filesfile-iconsfilecolorminimapplatformio-ide-terminalscript: run code in atomopen-in-browsermarkdownmarkdown-scroll-synctiny...

2018-02-10 13:53:48 161

转载 Atom 使用Jshint时const is available in ES6 (use esversion:6)

问题: Atom使用Jshint时‘const’ is available in ES6 (use ‘esversion: 6’)在项目的根目录新建一个文件名为.jshintrc的文件,输入{ "esversion": 6}如图:

2018-02-10 13:37:58 4986

转载 JavaScript中单一对象的原型链

JavaScript中单一对象的原型链function Person(){}从chrome中控制台输出:> Person.__proto__< function () { [native code] }> Person.__proto__.__proto__< Object {__defineGetter__: function, __defi...

2018-02-09 18:05:58 135

转载 javascript原型链例子

JavaScript中原型链例子《摘自Object-Oriented JavaScript, 3rd Edition》function Shape(){ this.name = 'Shape'; this.toString = function(){ return this.name; }}function TwoDShape(){ this.name = ...

2018-02-09 13:37:30 132

转载 javascript变量提升(variable hoisting)

Variable hoisting(变量提升)《摘自Object Oriented JavaScript,3rd Edition》Here’s an interesting example that shows an important aspect of local versus global scoping:var a = 123;function f() { alert...

2018-02-09 08:46:11 423

转载 使用XmlHttpRequest对象发送一次ajax请求

使用XMLHttpRequest object对象发送一次ajax请求XMLHttpRequest对象中的open方法 open(“method”, “URL”[, asyncFlag[, “userName”[, “password”]]]) property description method The HTTP method used to ope...

2018-02-08 09:41:16 1219

转载 XmlHttpRequest_method_and_property

XmlHttpRequest Object Method And Property摘自《Ajax-A Beginner Guide》XMLHttpRequest Object Properties for Internet Explorer Property Description onreadystatechange Contains the name of...

2018-02-08 09:19:17 283

转载 书籍

书籍2018年ajax Ajax - A Beginner's Guide

2018-02-08 08:57:57 145

转载 spring-boot-thymeleaf模板

spring boot 使用thymeleaf模板maven工程项目结构引入thymeleaf模板pom.xml文件dependencies> dependency> groupId>org.springframework.bootgroupId> artifactId>spring-boot-starter-webartifac

2018-02-07 21:38:55 271

转载 spring-boot 起步

spring boot 起步新建工程生成的maven工程pom.xml文件dependencies> dependency> groupId>org.springframework.bootgroupId> artifactId>spring-boot-starter-webartifactId> dependen

2018-02-07 20:37:02 155

转载 Replaced and Nonreplaced Elements

Replaced and Nonreplaced Elements摘自CSS The Definitive Guide Although CSS depends on elements, not all elements are created equally. For exam‐ple, images and paragraphs are not the same type of e

2018-02-03 20:44:47 217

转载 div中使文字居中

html lang="zh-CN">head> meta charset="utf-8"> meta http-equiv="X-UA-Compatible" content="IE=edge"> meta name="viewport" content="width=device-width, initial-scale=1"> title>div中使

2018-02-02 21:06:21 2800 1

转载 table固定表头,但数据滚动

html lang="en">head> meta charset="utf-8"> meta http-equiv="X-UA-Compatible" content="IE=edge"> meta name="viewport" content="width=device-width, initial-scale=1"> title>表头固定实例ti

2018-02-01 22:30:42 2348

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除