1. clone配置文件到本地服务器 git clone https://github.com/BetterVoice/freeswitch-container.git 相关Dockerfile如下: # Jenkins. FROM ubuntu:16.04 MAINTAINER Thomas Qu ...
分类:
其他好文 时间:
2020-01-10 15:45:49
阅读次数:
417
Let‘s Encrypt 获取Https证书 假设安装目录:/root/letsencrypt1.cd root目录安装git yum -y install git2.输入 git clone https://github.com/letsencrypt/letsencrypt3.cd letse ...
分类:
其他好文 时间:
2020-01-09 19:08:25
阅读次数:
109
node v12.2.0 要使用npx命令则npm版本需要>5.2 创建项目:npx es10-cli create 项目名 运行:npm start 如果npm不大于5.2,无法使用npx npm install es10-cli -g es10-cli create 项目名 cd 项目名 npm ...
分类:
其他好文 时间:
2020-01-08 00:30:53
阅读次数:
242
Ansible的两种安装模式(Centos7) 1.Yum包管理安装 #yum -y install ansible 2.Git源代码安装[推荐] git clone https://github.com/ansible/ansible.git ? ? ? 演示 新安装一个虚拟机,可以使用xshel ...
分类:
其他好文 时间:
2020-01-07 18:13:27
阅读次数:
93
创建开发仓库 打开git Bash,删除之前root管理创建的仓库目录 rm -rf admin-test 选择项目进行拷贝 ? 克隆 # git -c http.sslVerify=false clone https://gitlab.example.com/root/admin-test.git ...
分类:
其他好文 时间:
2020-01-07 17:55:31
阅读次数:
147
!!!坑:一言以蔽之:npm太慢,需要注册下taobao镜像 新年了,重装了系统,也就需要重装vue devtools了。 clone了vue-devtools包。 安装办法如下: 1. Clone this repo2. `yarn install`3. `yarn run dev`4. A pl ...
分类:
Web程序 时间:
2020-01-06 22:35:46
阅读次数:
94
三私一公: 1. 私有化属性 2. 私有化构造方法 3. 私有化克隆方法 4. 公有化静态方法,供外部调用 单例类: <?php namespace app; class Database { /** * 私有化静态属性 */ private static $db; /** * 私有化构造方法 * ...
分类:
其他好文 时间:
2020-01-06 22:31:34
阅读次数:
88
创建risc-v目录 $ mkdir risc-v $ cd risc-v 获取源码 $ git clone --recursive https://github.com/riscv/riscv-gnu-toolchain.git 安装依赖包$ sudo apt-get install autoco ...
分类:
其他好文 时间:
2020-01-06 18:00:16
阅读次数:
310
git git 系统 解决方案 git 是一套 分布式 版本控制 系统 记录的是当前文件和之前版本文件的区别 版本控制 多人协作 svn commit提交 svn update下载 linux git世界上最复杂的系统 0 a b c d e A B C D E O https://www.gith ...
分类:
其他好文 时间:
2020-01-06 17:40:45
阅读次数:
78
什么是魔术方法呢? 在PHP中以两个下划线开头的方法,被称为"魔术方法"(Magic methods)。比如之前讲过的__construct(), __destruct (), __clone(),以及__call(),,__get(), __set(),__sleep(), __wakeup(), ...
分类:
其他好文 时间:
2020-01-06 14:34:04
阅读次数:
144