In mathematics, statistics, finance,[1] computer science, particularly in machine learning and inverse problems, regularization is the process of addi ...
分类:
其他好文 时间:
2021-05-24 07:35:40
阅读次数:
0
基本描述 供应商提供了war格式的项目,需要部署在rancher上,本文记录从war包打docker镜像到云平台镜像库的过程。 材料准备 war包 Dockerfile 编写 Dockerfile编写 FROM tomcat:8.5 #基础镜像,一切从这里开始,运行war包需要用到tomcat,版本 ...
分类:
其他好文 时间:
2021-05-24 07:33:40
阅读次数:
0
import urllib.request # 获取目标网址 url = 'https://www.baidu.com/' # 添加请求头 headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/ ...
分类:
Web程序 时间:
2021-05-24 07:26:13
阅读次数:
0
一. requests库的介绍与安装 pip install requests 二. 请求数据场景 2.1 请求方式:GET, 请求类型:application/x-www-form-urlencoded # -*- coding: utf-8 -*- # @Time : 2021/5/11 23: ...
分类:
编程语言 时间:
2021-05-24 07:15:29
阅读次数:
0
在 Bash 解释器中,内置了许多变量,这些变量的功能是解释器自带的,我们在编写shell脚本时如果能灵活的使用它们,对脚本的编写效率以及差错大有帮助, 下面一一介绍这些变量 $FUNCNAME、$LINENO、$PWD FUNCNAME和LINENO 变量经常用于脚本的调试 FUNCNAME 表示 ...
分类:
系统相关 时间:
2021-05-24 07:09:39
阅读次数:
0
@RequestBody一般用于接口 接收参数为“对象”接口示例 @SysLog("新增办公室") @ApiOperation(value = "新增办公室") @ApiImplicitParams(value = { @ApiImplicitParam(paramType = "body", na ...
分类:
其他好文 时间:
2021-05-24 07:02:46
阅读次数:
0
import java.text.ParseException; import java.text.SimpleDateFormat; import java.time.*; import java.time.format.DateTimeFormatter; import java.util.Ca ...
分类:
编程语言 时间:
2021-05-24 06:45:07
阅读次数:
0
1 from selenium import webdriver 2 from time import sleep 3 import random 4 class testCase(object): 5 def __init__(self): 6 url = 'http://www.baidu.co ...
分类:
Web程序 时间:
2021-05-24 06:36:25
阅读次数:
0
1、top cpu占用过高 2、docker stats 3、docker ps 4、docker exec -it /bin/bash 【id】 5、top 6、ps -mp [占用过高程序pid] -o THREAD,tid,time 7、printf "%x\n" [异常线程tid] 8、js ...
分类:
编程语言 时间:
2021-05-24 06:32:15
阅读次数:
0
#include <chrono> /// nanoseconds typedef duration<_GLIBCXX_CHRONO_INT64_T, nano> nanoseconds; /// microseconds typedef duration<_GLIBCXX_CHRONO_INT64 ...
分类:
编程语言 时间:
2021-05-24 06:07:05
阅读次数:
0