4.1 遍立列表 ~= shell 数组————————————————————————————————————————————thrink = ['link','path','pwd']for i in thrink: print(i)————————————————————————————pri ...
分类:
其他好文 时间:
2019-03-04 17:07:24
阅读次数:
165
class Foo: x=1 def __init__(self,y): self.y=y def __getattr__(self, item): print('----> from getattr:你找的属性不存在') def __setattr__(self, key, value): pri... ...
分类:
其他好文 时间:
2019-03-02 17:17:57
阅读次数:
208
# 1/0# name# 2+'3'# [][3]#{}['k']# try:# print('1111')# # 1/0# print('2222')# # name# # 2+'3'# # [][3]# # {}['k']# ret = int(input('number >>>'))# pri ...
分类:
其他好文 时间:
2019-02-25 16:48:54
阅读次数:
136
1 #include 2 int main(){ 3 char str[13] = {'0','1','2','3','4','5','6','7','8','9','A','B','C'}; 4 int a, b, c; 5 scanf("%d %d %d", &a, &b, &c); 6 pri... ...
分类:
其他好文 时间:
2019-02-21 23:05:40
阅读次数:
161
1.[root@pserver78 ~]# kubectl -n rook-ceph exec -it rook-ceph-tools-c95b8496b-g4stp -- ceph osd tree ID CLASS WEIGHT TYPE NAME STATUS REWEIGHT PRI-AFF ...
分类:
Web程序 时间:
2019-02-18 23:18:34
阅读次数:
243
序列化与反序列化:序列化:把对象转换为字节序列的过程称为对象的序列化反序列化:把字节序列恢复为对象的过程称为对象的反序列化漏洞成因:反序列化对象中存在魔术方法,而且魔术方法中的代码可以被控制,漏洞根据不同的代码可以导致各种攻击,如代码注入,sql注入,目录遍历等等序列化的不同结果public:pri ...
分类:
Web程序 时间:
2019-02-09 13:27:32
阅读次数:
224
1. 按照如下链接 安装mysql https://www.cnblogs.com/bigbrotherer/p/7241845.html 2. 开放阿里云3306 防火墙 3. 赋予远程链接权限 登录mysql: mysql -uroot -p 设置链接的用户名及密码: grant all pri ...
分类:
数据库 时间:
2019-02-07 20:27:05
阅读次数:
269
基础命令学习目录首页 原文链接:https://www.cnblogs.com/77qt/p/6144126.html 它主要的用法和详解!(netstat -na 命令),本文主要是说Linux下的netstat工具,然后详细说明一下各种网络连接状态。netstat -nat |awk ‘{pri ...
分类:
Web程序 时间:
2019-02-05 19:32:46
阅读次数:
236
在Manage Roles中设置Table Filter: The USERNAME() DAX function returns the user's domain login in the format domain\user) locally, but returns the user pri ...
分类:
其他好文 时间:
2019-01-30 15:57:15
阅读次数:
238
In most professional sporting events, cheerleaders play a major role in entertaining the spectators. Their roles are substantial during breaks and pri ...
分类:
其他好文 时间:
2019-01-26 11:47:29
阅读次数:
134