#默认参数:def greet(name="vivo_张平",content='你好呀,最近怎么样!'):#name): '''函数的用处是向不同的用户 发问候''' print(name+content)# greet("vivo"," 上午好!")# greet("同仁们")greet(cont ...
分类:
编程语言 时间:
2020-05-23 20:20:09
阅读次数:
65
apache版本 伪分布式 完全分布式 CDH版本 编译 编译环境 常见编译错误 CDH版本Zookeeper环境搭建 CDH版本Hadoop环境搭建 ...
分类:
Web程序 时间:
2020-05-22 22:59:12
阅读次数:
90
环境:VMware、CentOS8 从centos7开始使用systemctl.firewalld来管理服务和程序,包括了service和chkconfig。 防火墙状态:systemctl status firewalld.service Active: inactive (dead)/activ ...
分类:
系统相关 时间:
2020-05-22 19:43:38
阅读次数:
88
绑定过程中须进行字符串和数字转换 <el-card> <el-alert title="修改商品信息" type="info" :closable="false" center show-icon></el-alert> <el-steps :space="200" :active="activeI ...
分类:
其他好文 时间:
2020-05-22 19:27:00
阅读次数:
185
Caching Zones定义缓存空间proxy_cache_path /var/nginx/cache #缓存空间路径keys_zone=CACHE:60mlevels=1:2inactive=3h #缓存时长,3小时内没有被再次请求就会被释放max_size=20g;proxy_cache CA ...
分类:
其他好文 时间:
2020-05-21 19:12:36
阅读次数:
55
本文介绍VNC控制台访问虚拟机故障处理指导。 1:基础服务检查 ssh到控制节点(严格来说是配置VNC服务代理节点,TECS目前默认在控制节点上) systemctl status openstack-nova-novncproxy 这个服务要是active / running的 2:基础配置检查 ...
分类:
其他好文 时间:
2020-05-21 10:22:20
阅读次数:
216
https://github.com/abel533/Mapper 以一个基础查询为例子 SELECT * FROM equip_info 很多时候会遇到这样 的情况,例如: SELECT * FROM rmp_equip_info WHERE is_active = 'Y' AND ( creat ...
分类:
移动开发 时间:
2020-05-21 09:35:30
阅读次数:
170
发现在SpringMVC中出现web.xml文件中web-app标签标红的现象,虽然并不影响使用,但是影响整体代码美观 即,当前web.xml中web-app标签内的各标签必须按照以下顺序: "(icon?,display-name?,description?,distributable?,cont ...
分类:
移动开发 时间:
2020-05-20 20:16:02
阅读次数:
142
生成效果如下的 九九乘法表 import os, openpyxl from openpyxl.styles import Font #path = 'D:\\pyspace' #os.chdir(path) wb = openpyxl.Workbook() sheet = wb.active #从 ...
分类:
编程语言 时间:
2020-05-20 18:58:13
阅读次数:
73
vue绑定class <style type="text/css"> .active{ width: 200px; height: 200px; background-color: aqua; } </style> <div id="app"> <!-- 通过对象的方式决定是否存在某个类 --> < ...
分类:
其他好文 时间:
2020-05-19 23:15:32
阅读次数:
169