gitlab 拉取远程分支代码 1.在本地新建一文件夹用来存放项目代码 (eg:xny) 2.进入该文件,右键选择 git bush here,打开命令窗后,输入初始化命令:git init 3.命令行:git remote add origin 后面是项目所在远程仓库地址(不是远程分支名称,而是仓 ...
分类:
其他好文 时间:
2021-01-29 11:51:00
阅读次数:
0
一、在servlet中,http服务器能调用的【动态资源文件】必须是一个servlet接口实现类tomcat可以被称为是servlet的容器。 servlet接口的方法:init、getservletcinfig、service、getservletinfo、destory。 二、servlet接口 ...
分类:
其他好文 时间:
2021-01-29 11:43:12
阅读次数:
0
1.删除链表中的节点https://leetcode-cn.com/problems/delete-node-in-a-linked-list/ 一开始没看清题目中传入的参数为“要被删除的节点”,找了半天链表在哪 1 class ListNode: 2 def __init__(self, x): ...
分类:
其他好文 时间:
2021-01-28 12:08:24
阅读次数:
0
yml spring: data: elasticsearch: client: reactive: endpoints: 192.168.209.160:9200 connection-timeout: 10000#链接到es的超时时间,毫秒为单位,默认10秒(10000毫秒) socket-ti ...
分类:
编程语言 时间:
2021-01-28 12:03:55
阅读次数:
0
转:npm install 时总是报phantomjs-prebuilt@2.1.14安装失败 在npm install时总是报如下错误, 尝试单独安装:npm install phantomjs-prebuilt@2.1.14 还是报错 Please report this full log at ...
分类:
Web程序 时间:
2021-01-28 12:01:50
阅读次数:
0
1. 安装n管理包 终端使用npm install -g n命令全局安装, 安装成功后在终端输入n --version或n查看。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 ~ npm install -g n /usr/local/bin/n - ...
分类:
其他好文 时间:
2021-01-27 14:02:06
阅读次数:
0
★NPM包管理器 1.简介 官网:https://www.npmjs.com/ NPM:Node Package Manager,是nodejs包管理工具。 作用: 快速构建nodejs工程 npm init -y 快速安装和依赖碲酸个模块,比如:npm install mysql redis等等。 ...
分类:
其他好文 时间:
2021-01-27 13:20:34
阅读次数:
0
图片: 使用pygame编写的代码源代码: import pygame pygame.init() canvas=pygame.Surface((4096,4096)) rgb=[0,0,0] x_y=[0,0] for r in range(256): rgb[2]=0 rgb[1]=0 for ...
分类:
其他好文 时间:
2021-01-27 13:07:13
阅读次数:
0
https://github.com/nacos-group/nacos-k8s 1,将这个仓库下载到kubectl的主机上 git clone https://github.com/nacos-group/nacos-k8s 2,创建namespace(因为是测试想与k8s上其他业务区分开) ku ...
分类:
其他好文 时间:
2021-01-27 13:01:59
阅读次数:
0
git clone过大的仓库时会报以下错误 remote: aborting due to possible repository corruption on the remote side. fatal: protocol error: bad pack header 解决办法是分层clone $ ...
分类:
其他好文 时间:
2021-01-26 12:41:49
阅读次数:
0