keepalived配置文件 ! Configuration File for keepalived global_defs { notification_email { root@localhost } notification_email_from root@localhost smtp_ser ...
分类:
其他好文 时间:
2020-12-09 12:31:15
阅读次数:
14
想法 我们来想想有没有其他解决方案,假定当前项目目录结构为 ├── src | ├── config | └── controller ├── node_modules ├── index.js └── package.json 1. 全局变量 第一反应,在 Node 程序里面,我们可以直接通过 g ...
分类:
其他好文 时间:
2020-12-08 13:01:10
阅读次数:
16
注册公共组件,在每个需要的页面直接输入文件名(<g-table/>)即可引用该组件 步骤: 1.新建components/global文件夹,以及components/global/g-table.vue文件。 2.新建untils/globalComponents-register.js,内容: ...
分类:
其他好文 时间:
2020-12-08 12:59:03
阅读次数:
7
定义:A property of an execution context (global, function or eval) that, in non–strict mode, is always a reference to an object and in strict mode can b ...
分类:
其他好文 时间:
2020-12-07 12:36:53
阅读次数:
6
在生产环境,我们对密码要求比较高,如密码复杂度、密码有效期、账号授权、账号允许白名单等等
本文档使用:mysql5.7,重点介绍密码复杂度配置
分类:
数据库 时间:
2020-12-05 10:39:30
阅读次数:
7
pip换源 1. 常见国内源 # 豆瓣 https://pypi.doubanio.com/simple/ # 阿里云 https://mirrors.aliyun.com/pypi/simple/ # 清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/ h ...
分类:
其他好文 时间:
2020-12-04 11:46:04
阅读次数:
25
原文 git基本小操作 git 查看全部配置 先查看本地的 config 配置文件内容 git config —list 看user.name和user.email都是别人配置好的 删除全局 config 配置 git config —global —unset configname 添加 conf ...
分类:
其他好文 时间:
2020-12-04 11:21:49
阅读次数:
5
目的:为了方便服务器上每次git拉去都需要填写密码,而又不想用ssh密钥的 1、在终端下执行 git config --global credential.helper store 2、查看 ~/.gitconfig文件,会多了一项: [credential] helper = store ...
分类:
系统相关 时间:
2020-12-04 10:57:17
阅读次数:
10
一些相关概念 imply global 暗示全局变量:如果变量没有声明直接赋值,系统不会报错.此时该变量归为全局对象window对象所有。等效于在全局用 var 关键字声明该变量。例如, 直接 a = 10; 这时候 window.a == 10 this.a == 10,这里this指向windo ...
分类:
Web程序 时间:
2020-12-02 12:07:22
阅读次数:
7
计算顺序编号 # 计算顺序编号 # 可访问 esriurl.com/CalculatorExamples 获取更多计算器示例 rec=0 def SequentialNumber(): global rec pStart = 1 pInterval = 1 if (rec == 0): rec = ...
分类:
编程语言 时间:
2020-11-30 16:11:03
阅读次数:
8