首页 > 全部
DeploymentConfig和Deployment
OpenShift可以看成是K8S的发行版,它在K8S的基础上,增加了很多红帽修改后的补丁,在稳定性与安全性方面有了很大的提升。 OpenShift除了有Deployment外,还有一个DeploymentConfig的资源,特别是DeploymnetConfig提供了一个Triggers,可以很方 ...
分类:其他   时间:2021-08-11 15:23:37    收藏:0  评论:0  赞:0  阅读:14
centos6 yum源
查看配置文件路径[root@localhost ~]# find / -name CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo 备份老的配置文件 mv CentOS-Base.repo CentOS-Base.repo.bak 添加新的配置文件 ...
分类:其他   时间:2021-08-11 15:23:24    收藏:0  评论:0  赞:0  阅读:16
数组中的数字按某值划分为左边小、中间相等、右边大的形式
题目:给一个数组arr=[2,7,9,3,1,8,5,2,5] 给定数字5,把数组中的数按照<5,=5,>5进行排列 >arr=[2,2,3,1, 5,5, 8,9,7] 代码: package Algorithms; /** * @author : zhang * @version : 1.0 * ...
分类:编程语言   时间:2021-08-11 15:23:16    收藏:0  评论:0  赞:0  阅读:11
哈希表
package A;public class Emp {//它是盒子 int id; String name; Emp next; public Emp(int id, String name) { this.id = id; this.name = name; }} package A;impor ...
分类:其他   时间:2021-08-11 15:23:04    收藏:0  评论:0  赞:0  阅读:17
SQL基本格式、聚合函数、分组、分页格式随笔
一、查询语句的格式详解 1 select 2 字段列表 3 from 4 表名列表 5 where 6 条件列表 7 group by 8 分组字段 9 having 10 分组之后的条件 11 order by + 字段名 + asc(升序)/ desc(倒序)//order by + 字段名 默 ...
分类:数据库技术   时间:2021-08-11 15:22:49    收藏:0  评论:0  赞:0  阅读:20
【代码规范】16条军规
一、MyBatis 不要为了多个查询条件而写 1 = 1 当遇到多个查询条件,使用where 1=1 可以很方便的解决我们的问题,但是这样很可能会造成非常大的性能损失,因为添加了 “where 1=1 ”的过滤条件之后,数据库系统就无法使用索引等查询优化策略,数据库系统将会被迫对每行数据进行扫描(即 ...
分类:其他   时间:2021-08-11 15:22:37    收藏:0  评论:0  赞:0  阅读:9
cv2读取图片报错cv2.error: OpenCV(3.4.2)c:\projects\opencv-python\opencv\modules\imgproc\src\color.hpp:253: error:
Traceback (most recent call last): File "C:/Users/赵立敏/PycharmProjects/OpenCV/4.图像特征与目标检测/4.5人脸检测算法.py", line 31, in <module> img_gray = cv2.cvtColor(i ...
分类:编程语言   时间:2021-08-11 15:22:27    收藏:0  评论:0  赞:0  阅读:33
[LeetCode] 1187. Make Array Strictly Increasing 使数组严格递增
Given two integer arrays arr1 and arr2, return the minimum number of operations (possibly zero) needed to make arr1 strictly increasing. In one operat ...
分类:编程语言   时间:2021-08-11 15:22:13    收藏:0  评论:0  赞:0  阅读:14
poj 3984(模板题,bfs)
#include<iostream> #include<cstring> #include<cstdio> #include<queue> using namespace std; struct Node{ int x,y; Node(){ x = 0; y = 0; } Node(int a,in ...
分类:其他   时间:2021-08-11 15:22:03    收藏:0  评论:0  赞:0  阅读:20
echarts 给 提示框(tooltip)添加点击事件(点击显示弹出窗)
需求描述: 如图所示,希望达到如下效果:点击 图1(echarts绘制的地图)中的图标,展示图1的文字提示框,再点击提示框展示详情页面(图2的弹出窗) 用到的技术:vue + element-ui + echarts 图1 图2 代码展示: 高亮显示的部分都是重要部分,在注意事项中也都有说明。 le ...
分类:其他   时间:2021-08-11 15:21:53    收藏:0  评论:0  赞:0  阅读:12
Web MVC 页面组织
C# razor 语法。可以直接拿c#的语法来用。 java jsp--会被编译成一个Servlet,用的就是java语言。 jstl-taglib,包装jsp jsp写起来很破碎,每个小段都要括起来。 <%int i =0; for (String hero : heros) {i++;%> <t ...
分类:Web开发   时间:2021-08-11 15:21:43    收藏:0  评论:0  赞:0  阅读:19
NPM 命令
# install dependenciesnpm install # serve with hot reload at localhost:8080npm run dev # build for production with minificationnpm run build # build f ...
分类:其他   时间:2021-08-11 15:21:28    收藏:0  评论:0  赞:0  阅读:13
基本求导法则与导数公式
常数和基本初等函数的求导公式 (1) \((C)'=0\) (2) \((x^u)'=ux^{u-1}\) (3) \((\sin x)'=\cos x\) (4) \((\cos x)'=-\sin x\) (5) \((\tan x)'=\sec^2x\) 注:\(\sec x=\frac{1} ...
分类:其他   时间:2021-08-11 15:21:14    收藏:0  评论:0  赞:0  阅读:29
springmvc的乱码问题
1,自定义Filter过滤器: public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, Serv ...
分类:编程语言   时间:2021-08-11 15:21:05    收藏:0  评论:0  赞:0  阅读:11
java接口——map
一般使用HashMap import java.util.*;/** * 测试Map的使用方式 */public class MapTest { public static void main(String[] args) { Test02(); iterateListSet(); Test03() ...
分类:编程语言   时间:2021-08-11 15:20:50    收藏:0  评论:0  赞:0  阅读:23
算法图解: 1.二分查找
""" @project: books @file: binary_search.py @time: 2021/08/11 @software: PyCharm @author: zy7y 二分查找算法: 二分查找是一种算法,其输入是一个有序的元素列表(必须有序的原因稍后解释)。如果要 查找的元素包 ...
分类:编程语言   时间:2021-08-11 15:20:38    收藏:0  评论:0  赞:0  阅读:21
http请求util
http请求util import org.springframework.core.io.FileSystemResource;import org.springframework.core.io.InputStreamSource;import org.springframework.http. ...
分类:Web开发   时间:2021-08-11 15:20:23    收藏:0  评论:0  赞:0  阅读:20
313. 超级丑数
难度 medium 超级丑数 是一个正整数,并满足其所有质因数都出现在质数数组 primes 中。 给你一个整数 n 和一个整数数组 primes ,返回第 n 个 超级丑数 。 题目数据保证第 n 个 超级丑数 在 32-bit 带符号整数范围内。 示例 1: 输入:n = 12, primes ...
分类:其他   时间:2021-08-11 15:20:12    收藏:0  评论:0  赞:0  阅读:11
解决 SyntaxError: Cannot use import statement outside a module 报错问题
解决 SyntaxError: Cannot use import statement outside a module 报错问题 ...
分类:其他   时间:2021-08-11 15:20:02    收藏:0  评论:0  赞:0  阅读:46
《量子计算与量子信息》2.1线性代数Linear algebra概述
[Nielsen, Chuang_2010] Quantum Compututation and Quantum Information 《量子计算与量子信息》第二章量子力学引论2.1线性代数Linear algebra ...
分类:其他   时间:2021-08-11 15:19:48    收藏:0  评论:0  赞:0  阅读:27
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!