1 第一步 搭建一个基于maven的web工程 2 第二步 在web.xml配置文件中写上如下代码 <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.c ...
分类:
编程语言 时间:
2020-06-12 20:12:49
阅读次数:
66
this的绑定方式: 默认绑定(非严格模式下this指向全局对象, 严格模式下this会绑定到undefined) 隐式绑定,this 永远指向最后调用它的那个对象(如 obj.foo()的调用方式, foo内的this指向obj) 显示绑定(apply、call、bind) new绑定 箭头函数绑 ...
分类:
Web程序 时间:
2020-06-12 19:59:45
阅读次数:
92
import java.io.UnsupportedEncodingException; import java.security.InvalidKeyException; import java.security.NoSuchAlgorithmException; import java.secu ...
分类:
编程语言 时间:
2020-06-12 18:42:39
阅读次数:
64
Docker For Windows | Setting Up Docker On Windows 7 / 11 Blog from Docker If you’re looking for simple and painless software deployment, Docker is the ...
D27 1. 向文件中添加或插入行 1)在文件的指定行后添加一行内容 $ cat info.txt Linux - Sysadmin Database - Oracle, MySQL etc. Security - Firewall, Network, Online Security etc. Co ...
分类:
系统相关 时间:
2020-06-12 14:56:35
阅读次数:
76
WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requiremen ...
分类:
其他好文 时间:
2020-06-12 12:31:44
阅读次数:
99
1.健康检查1.1健康检查概述应用在运行过程中难免会出现错误,如程序异常,软件异常,硬件故障,网络故障等,kubernetes提供HealthCheck健康检查机制,当发现应用异常时会自动重启容器,将应用从service服务中剔除,保障应用的高可用性。k8s定义了三种探针Probe:readinessprobes准备就绪检查,通过readiness是否准备接受流量,准备完毕加入到endpoint,
分类:
Web程序 时间:
2020-06-12 12:25:14
阅读次数:
74
简介:项目迁移到GitLab 后不能调试,各种百度谷歌 stackoverflow git vscode issue 无果, N天后解决 明显和outFiles没关系 解决办法: add configuration 出现 "type": "pwa-node" "version": "0.2.0", ...
分类:
其他好文 时间:
2020-06-12 10:39:40
阅读次数:
156
this 是 js 里绕不开的话题,也是非常容易混淆的概念,今天试着把它理一理。 this 在非严格模式下,总是指向一个对象,在严格模式下可以是任意值,本文仅考虑非严格模式。记住它总是指向一个对象对于理解它的意义很重要。this 在实际使用中,大致分为以下几种情况: 函数作为对象的方法调用时,thi ...
分类:
移动开发 时间:
2020-06-12 00:39:28
阅读次数:
65
参考官方文档https://docs.gitlab.com/ee/security/reset_root_password.htmlhttps://docs.gitlab.com/ee/security/unlock_user.html操作背景Gitlab是Docker部署,Jenkins账号登陆不了,开始是怀疑密码不对,通过控制台登陆重置了密码,还是登陆不了,怀疑是Jenkins用户被锁住了(默
分类:
其他好文 时间:
2020-06-11 23:16:57
阅读次数:
309