grafana4.get_org Show a single organization. name Name of the organization. profile Configuration profile used to connect to the Grafana instance. Def ...
分类:
其他好文 时间:
2020-03-28 21:49:12
阅读次数:
80
ini.remove_option Remove a key/value pair from a section in an ini file. Returns the value of the removed key, or if nothing was removed. API Example: ...
分类:
其他好文 时间:
2020-03-28 21:46:58
阅读次数:
70
1、创建django项目 $ django-admin startproject DailyFresh 2、进入项目目录 $ cd DailyFresh 3、启动项目 $ python manage.py runserver Watching for file changes with StatRe ...
分类:
其他好文 时间:
2020-03-28 21:35:42
阅读次数:
100
Ansible角色 roles是在ansible中,playbooks的目录组织结构。 而模块化之后,成为roles的组织结构,易读,代码可重用,层次清晰。 需求:通过role远程部署nginx并配置 准备目录结构 编写任务 准备配置文件 自定义变量需要在vars/main.yaml文件中声明 编写 ...
分类:
其他好文 时间:
2020-03-28 20:15:12
阅读次数:
79
一、vscode的使用 vscode常用快捷键 Ctrl+Shift+P,F1 展示全局命令面板 Ctrl+P 快速打开最近打开的文件 Ctrl+Shift+N 打开新的编辑器窗口 Ctrl+Shift+W 关闭编辑器 Ctrl + X 剪切 Ctrl + C 复制 Alt + up/down 移动 ...
分类:
其他好文 时间:
2020-03-28 20:13:07
阅读次数:
64
Ansible点对点模式 在ansible中快速执行的单条命令,并且不需要保存的命令,可以使用点对点模式。对于复杂的命令则使用 playbook。 如果不知道该怎么如何使用某个模块,可以使用 查询模块的用法 shell模块 帮助:ansible doc shell 获取主机名 部署apache 指定 ...
分类:
其他好文 时间:
2020-03-28 20:03:00
阅读次数:
73
"""12、请说明python2 与python3中的默认编码是什么?答:python2重视 ASCII,python3中默认编码方式是UTF-8""""""13、为什么会出现中文乱码?你能列举出现乱码的情况有哪几种?答:出现乱码就是由于编码的方式不一致导致的。1,mac上编码方式为utf-8,wi ...
分类:
编程语言 时间:
2020-03-28 18:04:15
阅读次数:
168
方法一: <input type="file" accept="image/*" capture="camera" > 方法二: 使用vant组件 1.下载,安装,配置main.js 2.<van-uploader :after-read="afterRead" accept='image/*' c ...
分类:
Web程序 时间:
2020-03-28 15:04:29
阅读次数:
372
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <!--在这里以link标签导入的方式就是外链式--> <link rel="stylesheet" href="css/new_file.css" /> </h ...
分类:
Web程序 时间:
2020-03-28 13:49:19
阅读次数:
120
原文: "server certificate verification failed. CAfile: none CRLfile: none" 当使用命令 出现错误信息如下: 解决方案: ...
分类:
其他好文 时间:
2020-03-28 13:37:29
阅读次数:
93