Git实际工作流程 首先通过git clone下载远端master主干代码 对于已经clone的代码,使用git pull命令获取最新 在本地仓库通过git branch命令新建分支,分支命名规则为:feature/xa_工号_dts单号 使用git checkout切换到新分支 在该分支下修改代码 ...
分类:
其他好文 时间:
2020-09-07 19:22:35
阅读次数:
67
1.首先写一个测试用例; public class Main { public static void main(String[] args) { System.out.println("Hello World!"); Thread thread = new Thread(new Worker()) ...
分类:
编程语言 时间:
2020-09-07 18:47:25
阅读次数:
40
万物皆对象,在面向对象思想里,封装,继承,多态我们可能不会特别总视它。什么是面向对象?什么是封装,什么是继承?什么是多态?什么接口?什么是抽象?接口与抽象之间的关系?在面试过程中,我回答的支支吾吾,深刻发现到自己对面向对象没有一个系统的,深刻的理解,一切只停留在课本上,只有一个浅显的认识。在面试官的 ...
分类:
编程语言 时间:
2020-09-07 18:42:52
阅读次数:
36
public class MainTest { public static void main(String[] args) { //求sin值 double sin = Math.sin(3.14); System.out.println("sin3.14=" + sin); //求cos值 do ...
分类:
编程语言 时间:
2020-09-04 17:46:13
阅读次数:
87
作用:把不是通过路由切换过来的组件中,将react-router 的 history、location、match 三个对象传入props对象上 1. 默认情况下必须是经过路由匹配渲染的组件才存在this.props,才拥有路由参数,才能使用编程式导航的写法,执行this.props.history ...
分类:
其他好文 时间:
2020-09-04 17:41:32
阅读次数:
92
常用的软件设置代理方法Gitgitconfig--globalhttps.proxyhttp://127.0.0.1:1080gitconfig--globalhttps.proxyhttps://127.0.0.1:1080gitconfig--global--unsethttp.proxygitconfig--global--unsethttps.proxynpmconfigdeletepro
分类:
其他好文 时间:
2020-09-04 17:05:18
阅读次数:
54
https://www.cnblogs.com/daofaziran/p/12604879.html 错误提示: ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -u -c 'import sys, s ...
分类:
其他好文 时间:
2020-09-04 17:01:31
阅读次数:
133
自己想了好一会,AC后看了下好像和网上挺多人思路不太一样(但本质是一样的),所以就来写这篇题解 首先这题之所以能反悔的根本原因和性质在于你在第i天买股票,第j天卖出,可以拆成第i天买股票,第k(i <= k <= j)天卖出和第k天买股票,第j天卖出两个过程(I) 我们首先可以从大到小倒序扫描,假设 ...
分类:
其他好文 时间:
2020-09-03 17:04:38
阅读次数:
37
1、默认配置SpringBoot默认帮我们配置好了日志; //记录器 Logger logger = LoggerFactory.getLogger(getClass()); @Test public void contextLoads() { //System.out.println();? //... ...
分类:
编程语言 时间:
2020-09-03 17:04:04
阅读次数:
43