1、重写commit,删除大文件 git filter-branch --force --index-filter "git rm -rf --cached --ignore-unmatch CPT_0707_ao/temp_past/temp2/deltap.csv" --prune-empty ...
分类:
Web程序 时间:
2021-03-26 15:31:53
阅读次数:
0
1、动态编译 动态编译,简单来说就是在Java程序运行时编译源代码。 从JDK1.6开始,引入了Java代码重写过的编译器接口,使得我们可以在运行时编译Java源代码,然后再通过类加载器将编译好的类加载进JVM,这种在运行时编译代码的操作就叫做动态编译。 静态编译:编译时就把所有用到的Java代码全 ...
分类:
编程语言 时间:
2021-03-26 15:31:17
阅读次数:
0
结合DRF框架提供标准RESTful API接口 https://www.cnblogs.com/xiaonq/p/10053234.html restful说明 1、RESTful不是一种技术,而是一种接口规范,主要规范包括:1.请求方式、2.状态码、3、url规范、4、传参规范 2、RESTfu ...
分类:
其他好文 时间:
2021-03-26 15:25:35
阅读次数:
0
需要在工程的pom文件加上sleuth的起步依赖和zipkin的起步依赖,代码如下: <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-sleuth</artifact ...
分类:
其他好文 时间:
2021-03-18 14:43:18
阅读次数:
0
问题原因在于官方在2020年12月2日正式将CentOS 6相关的软件源移出了官方源,随之而来逐级镜像也会陆续将其删除。 解决方案: curl -o /etc/yum.repos.d/CentOS-Base.repo https://www.xmpan.com/Centos-6-Vault-Aliy ...
分类:
Web程序 时间:
2021-03-17 14:13:50
阅读次数:
0
react-router: 它通过管理 URL,实现组件的切换和状态的变化,开发复杂的应用几乎肯定会用到。 用法:子路由也可以不写在Router组件里面,单独传入Router组件的routes属性。 组件有一个参数history,它的值hashHistory表示,路由的切换由URL的hash变化决定 ...
分类:
其他好文 时间:
2021-03-17 14:02:24
阅读次数:
0
# 图片爬取 import re import urllib import urllib.request def gethtml(url): page=urllib.request.urlopen(url) html=page.read() return html def getimg(html): ...
分类:
编程语言 时间:
2021-03-16 14:08:34
阅读次数:
0
界面 <template> <div align="center" > <component :is='modelUrl' ref='child' :data='data' ></component> </div> </template> 定义 data() { return { modelUrl: ...
分类:
其他好文 时间:
2021-03-16 14:03:20
阅读次数:
0
下载Jenkins Control Plugin 地址 Intellij中设置Jenkins 其中Crumb Data请求方式为:http://URL/crumbIssuer/api/json?tree=crumb.返回中即包含指定数据,如: { "_class": "org.jenkinsci.p ...
分类:
其他好文 时间:
2021-03-16 14:02:35
阅读次数:
0
1.url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。 2.type: 要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和delete也可以使用,但仅部分浏览器支持。 3.timeout: 要求为Number类型的 ...
分类:
Web程序 时间:
2021-03-16 13:48:26
阅读次数:
0