自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(19)
  • 收藏
  • 关注

原创 mybatis学习笔记-狂神版

mybatis简介MyBatis 是一款优秀的持久层框架,它支持自定义 SQL、存储过程以及高级映射。MyBatis 免除了几乎所有的 JDBC 代码以及设置参数和获取结果集的工作。MyBatis 可以通过简单的 XML 或注解来配置和映射原始类型、接口和 Java POJO(Plain Old Java Objects,普通老式 Java 对象)为数据库中的记录。MyBatis 本是apache的一个开源项目iBatis, 2010年这个项目由apache software foundation 迁移

2020-09-29 21:07:55 235

原创 spring学习笔记-狂神说版

xml文件格式记录<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xs

2020-09-21 18:50:51 244 1

原创 @AllArgsConstructor @NoArgsConstructor注解失效解决方案

打开配置seting-plugins,搜索lombok安装Lombok

2020-09-20 23:17:27 2705 3

原创 docker下载缓慢,如何使用镜像加速

1.登录阿里镜像,注册自己的加速地址https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors2.docker pull <加速地址>/library/镜像名称

2020-09-13 18:35:05 202

原创 chrome如何使json数据格式化

1、下载jsonview-for-chrome插件,github下载地址:https://github.com/gildas-lormeau/JSONView-for-Chrome下载时选择zip包或直接克隆项目文件。2、在谷歌浏览器右上角进入拓展程序3、然加载已解压的扩展程序,选择下载文件中的WebContent。...

2020-09-13 18:31:57 695

原创 解决docker镜像无法下载问题

docker pull daocloud.io/library/zookeeper:latest

2020-09-12 23:35:40 1645

原创 Job for docker.service failed because the control process exited with error code.

写这个博文记录这次报错解决的过程。下面附有原文链接报错信息: Job for docker.service failed because the control process exited with error code. See “systemctl status docker.service” and “journalctl -xe” for details.使用命令: systemctl status docker.service查看启动信息如下状态信息:解决: 查询各种博客修改配置的方式没

2020-09-04 19:00:24 388

原创 1251- Client does not support authentication protocol

1251- Client does not support authentication protocol1.进入mysql容器内部[root@localhost ~]# docker exec -it mysql01 bash ## mysql01是容器的别名,这里也可以用容器的id代替2.登录mysqlmysql -u root -p3.查看用户信息select host,user,plugin,authentication_string from mysql.user;host

2020-09-03 23:32:24 153

原创 docker中tomcat做了端口映射后访问报错404

webapps和webapps.dist两个文件,而wenapps里面没有东西,webapps.dist才是我们要的东西处理过程如下:[root@bogon ~]# docker exec -it 4a59fd8d305b /bin/bashroot@4a59fd8d305b:/usr/local/tomcat# ls -ltotal 140-rw-r--r--. 1 root root 18982 Jun 30 20:14 BUILDING.txt-rw-r--r--. 1 root root

2020-09-03 23:04:01 265

原创 1009 Product of Polynomials (25分)

This time, you are supposed to find A×B where A and B are two polynomials.Input Specification:Each input file contains one test case. Each case occupies 2 lines, and each line contains the information of a polynomial:KN​1​​a​N​1​​​​N​2​​a​N​2​​​​...N​K​

2020-08-19 23:13:10 87

原创 1007 Maximum Subsequence Sum (25分)

Given a sequence of K integers N​1​​,N​2​​,...,N​K​​{ N​1​​ , N​2​​ , ..., N​K​​ }N​1​​,N​2​​,...,N​K​​. A continuous subsequence is defined to be N​i​​,N​i+1​​,...,N​j​​{ N​i​​ , N​i+1​​ , ..., N​j​​ }N​i​​,N​i+1​​,...,N​j​​ where 1≤i≤j≤K. T

2020-08-19 23:00:20 91

原创 1006 Sign In and Sign Out (25分)

At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock the door. Given the records of signing in’s and out’s, you are supposed to find the ones who have unlocked and loc

2020-08-19 22:56:13 101

原创 1002 A+B for Polynomials (25分)

This time, you are supposed to find A+B where A and B are two polynomials.Input Specification:Each input file contains one test case. Each case occupies 2 lines, and each line contains the information of a polynomial:​​KN​ 1a​N​1​​​​N​2​​a​N​2​​​​.

2020-08-19 22:44:03 85

原创 1004 Counting Leaves (30分)

1004 Counting Leaves (30分)A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child.Input Specification:Each input file contains one test case. Each case starts with a line containing 0<N&

2020-08-19 22:22:28 87

原创 AngularJS——Scope

Scope概述Scope(作用域) 是应用在 HTML (视图) 和 JavaScript (控制器)之间的纽带。Scope 是一个对象,有可用的方法和属性。Scope 可应用在视图和控制器上。AngularJS 应用组成如下:View(视图), 即 HTML。Model(模型), 当前视图中可用的数据。Controller(控制器), 即 JavaScript 函数,可以添加...

2019-04-17 15:33:01 154

原创 AngularJS—ng-model指令

ng-model 指令ng-model 指令用于绑定应用程序数据到 HTML 控制器(input, select, textarea)的值。<div ng-app="myApp" ng-controller="myCtrl">名字:<input ng-model="name"></div> <script> var app=angul...

2019-04-17 14:48:21 807

翻译 AngularJS指令

AngularJS指令ng-app指令ng-app 指令告诉 AngularJS,<div> 元素是 AngularJS 应用程序 的"所有者"。ng-app 指令定义了 AngularJS 应用程序的 根元素。ng-app 指令在网页加载完毕时会自动引导(自动初始化)应用程序。ng-init 指令ng-init 指令为 AngularJS 应用程序定义了 初始值。通常情况...

2019-04-17 12:01:34 134

原创 AngularJS 表达式

AngularJS 表达式第一种:数字<div ng-app="" ng-init="quantity=1;cost=5"> <p>总价:{{quantity*cost}} </p> </div> <div ng-app="" ng-init="quantity=1;cost=5"> <p>总价:<s...

2019-04-17 10:15:19 120

原创 AngularJS简介

什么是Angular JSAngularJS是一个JavaScript框架。它是一个以 JavaScript 编写的库。通过 script 标签添加到网页中:<script src="https://cdn.staticfile.org/angular.js/1.4.6/angular.min.js"></script>AngularJS属性介绍ng-app 指令...

2019-04-16 22:00:30 380

空空如也

空空如也

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

TA关注的人

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