会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Mr.zou
闲着自怨,忍者自强
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
17
下一页
2020年7月21日
git 清除缓存
摘要: 清除缓存 git rm -r --cached .git add .git statusgit commit -m "rm cached"git push 合并分支 git checkout mastergit merge pcap0721
阅读全文
posted @ 2020-07-21 17:17 Mr.zou
阅读(5133)
评论(0)
推荐(0)
2020年7月17日
Flask 蓝本 简单示例
摘要: 目录结构 test app user.py run.py user.py 1 #!/usr/bin/env python 2 #-*- coding: utf-8 -*- 3 4 from flask import Blueprint 5 6 user = Blueprint('user',__na
阅读全文
posted @ 2020-07-17 14:19 Mr.zou
阅读(242)
评论(0)
推荐(0)
2020年6月3日
centos7 防火墙firewalld
摘要: 配置外部转发规则 firewall-cmd --permanent --zone=external --change-interface=enp1s0 删除外部转发规则 firewall-cmd --permanent --zone=external --remove-interface='enp1
阅读全文
posted @ 2020-06-03 17:16 Mr.zou
阅读(169)
评论(0)
推荐(0)
2020年5月20日
python之yield 的用法
摘要: 转载:https://blog.csdn.net/mieleizhi0522/article/details/82142856 def foo(): print("starting...") while True: res = yield 4 #yield 看成一个rutrue print("res
阅读全文
posted @ 2020-05-20 14:34 Mr.zou
阅读(184)
评论(0)
推荐(0)
2020年5月19日
python之__str__用法
摘要: 1 class Person(object): 2 def __init__(self,name,gender): 3 self.name = name 4 self.gender = gender 5 6 def __str__(self): 7 return '(Person: %s, %s)'
阅读全文
posted @ 2020-05-19 10:08 Mr.zou
阅读(956)
评论(0)
推荐(0)
2020年5月12日
2020 flag
摘要: 2020 flag 希望自己成为一个优秀的运维开发,加油,加油!
阅读全文
posted @ 2020-05-12 17:35 Mr.zou
阅读(166)
评论(0)
推荐(0)
2020年4月30日
bps、pps与Bps的区别就是他们三个是三种不同的概念
摘要: bps、pps与Bps的区别就是他们三个是三种不同的概念。 (1)bps是指比特率 bps是线路单位,表示bit(比特)/second(秒)。在计算机网络或者是网络运营商中,一般,宽带速率的单位用bps(或b/s)表示;bps表示比特每秒即表示每秒钟传输多少位信息。 (2)pps是指网络吞吐率 pp
阅读全文
posted @ 2020-04-30 18:44 Mr.zou
阅读(6934)
评论(0)
推荐(0)
2020年4月14日
python如何获取列表中每个元素的下标位置
摘要: 1 第一种方法 2 3 for i in range(len(numbers)): 4 5 print('({0}, {1})'.format(i, numbers[i])) 6 7 第二种方法使用enumerate函数 8 numbers = [10, 29, 30, 41] 9 for inde
阅读全文
posted @ 2020-04-14 16:00 Mr.zou
阅读(14829)
评论(0)
推荐(1)
2020年1月3日
mysql 手动启动
摘要: ./mysqld_safe --user=mysql --basedir=/usr/local/mysql5.7 --datadir=/usr/local/mysql5.7/data & mysqld_safe --user=mysql --basedir=/usr/local/mysql5.7 -
阅读全文
posted @ 2020-01-03 11:44 Mr.zou
阅读(1471)
评论(0)
推荐(0)
2020年1月2日
FLASK SQLALCHEMY--COLUMN 列的类型
摘要: 最常用的SQLAlchemy列类型 类型名Python类型说 明 Integer int 普通整数,一般是 32 位 SmallInteger int 取值范围小的整数,一般是 16 位 BigInteger int 或 long 不限制精度的整数 Float float 浮点数 Numeric d
阅读全文
posted @ 2020-01-02 14:03 Mr.zou
阅读(1215)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
17
下一页
公告