名称: 原型模式(prototype) 问题: Specify the kind of objects to create using a prototypical instance, and create new objects by copying this prototype. 解决方案: 1 ...
分类:
其他好文 时间:
2020-06-21 13:42:56
阅读次数:
56
1.在git上创建项目 2.右键文件夹 git bash here 3.初始化 本地仓库 git init 4.克隆项目 git clone 项目地址 5.将需要上传的文件放入克隆下来的文件内 6.将文件放入git git add 文件名/文件夹名 7.更新项目 git pull 8.提交到本地仓库 ...
分类:
Web程序 时间:
2020-06-21 13:25:38
阅读次数:
54
简介 googletest是Google公司开发的一款跨平台的c++测试框架。 依赖 Bazel或者CMake(通常用cmake) 支持c++11标准的编译器 安装 下载 git clone https://github.com/google/googletest.git 编译 cd googlet ...
分类:
其他好文 时间:
2020-06-21 09:55:58
阅读次数:
189
function deepClone(obj={}){ if (typeof obj !== "object" || obj == null) { // obj是null,或者不是数组对象,直接返回 return obj; } // 初始化返回结果 let result; if (obj insta ...
分类:
其他好文 时间:
2020-06-21 09:46:57
阅读次数:
51
一、svn迁移至gitlab详细步骤 1.安装软件 yum install -y perl git subversion -y rpm -ivh *.rpm 2.整理svn系统内用户名单user.txt (1)方法一: svn checkout http://svnserver/trunk cd . ...
分类:
其他好文 时间:
2020-06-21 00:36:29
阅读次数:
183
很多时候,我们不需要拉取所有的内容,我们可以拉取指定版本后的内容。 你可用使用参数:-r8000:HEAD 例如使用下面的命令: git svn clone https://svn.code.sf.net/p/docutils/code/trunk docutils -r8000:HEAD 可以拉取 ...
分类:
其他好文 时间:
2020-06-21 00:06:44
阅读次数:
73
安装git 在liunx终端sudo apt install git 使用git安装bunlde插件 git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim 对vimrc文件进行配置 call vu ...
分类:
系统相关 时间:
2020-06-20 21:32:22
阅读次数:
124
要构建LSQUIC,您需要CMake,zlib和BoringSSL。该示例程序使用libevent提供事件循环。 BoringSSL git clone https://boringssl.googlesource.com/boringssl cd boringssl; mkdir build; c ...
分类:
其他好文 时间:
2020-06-20 01:26:45
阅读次数:
89
*.cmd;*.hprof;*.iml;*.log;*.md;*.pyc;*.pyo;*.rbc;*.yarb;*~;.DS_Store;.apt_generated;.classpath;.factorypath;.git;.hg;.idea;.metadata;.mvn;.project;.se ...
分类:
其他好文 时间:
2020-06-19 22:41:27
阅读次数:
64
配置用户信息 git config --global user.name 'xxxx' git config --global user.email 'sfasd@ksyun.com' 下载(拉取)代码库 git clone git@github.com:账号名/项目名.git 与远程交互 从远程库 ...
分类:
其他好文 时间:
2020-06-19 21:11:11
阅读次数:
62