- 博客(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
293
原创 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
281
1
原创 @AllArgsConstructor @NoArgsConstructor注解失效解决方案
打开配置seting-plugins,搜索lombok安装Lombok
2020-09-20 23:17:27
3074
4
原创 docker下载缓慢,如何使用镜像加速
1.登录阿里镜像,注册自己的加速地址https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors2.docker pull <加速地址>/library/镜像名称
2020-09-13 18:35:05
259
原创 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
791
原创 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
656
原创 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
186
原创 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
308
原创 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:KN1aN1N2aN2...NK
2020-08-19 23:13:10
119
原创 1007 Maximum Subsequence Sum (25分)
Given a sequence of K integers N1,N2,...,NK{ N1 , N2 , ..., NK }N1,N2,...,NK. A continuous subsequence is defined to be Ni,Ni+1,...,Nj{ Ni , Ni+1 , ..., Nj }Ni,Ni+1,...,Nj where 1≤i≤j≤K. T
2020-08-19 23:00:20
120
原创 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
131
原创 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 1aN1N2aN2.
2020-08-19 22:44:03
115
原创 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
120
原创 AngularJS——Scope
Scope概述Scope(作用域) 是应用在 HTML (视图) 和 JavaScript (控制器)之间的纽带。Scope 是一个对象,有可用的方法和属性。Scope 可应用在视图和控制器上。AngularJS 应用组成如下:View(视图), 即 HTML。Model(模型), 当前视图中可用的数据。Controller(控制器), 即 JavaScript 函数,可以添加...
2019-04-17 15:33:01
196
原创 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
848
翻译 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
169
原创 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
159
原创 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
422
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人