码迷,mamicode.com
首页 >  
搜索关键字:you    ( 26666个结果
通过CommandManager调用static查看命令记录
Command模式属于行为模式,作为大名鼎鼎的23个设计模式之一,Command模式理解起来不如工厂模式,单例模式等那么简单直白。究其原因,行为模式着重于使用,如果没有编程实践,确实不如创造模式那么直白。我们先看看UML类图。 估计很多同学看着图就晕了,那么多东西,Command和Concrete ...
分类:其他好文   时间:2020-06-26 01:21:09    阅读次数:79
练习12--提示用户
一 练习内容 1 对于input函数来说,我们还可以给用户放一个提示,让用户知道该输入什么,例如:age = input("How old are you?"),提示用户输入年龄 2 代码 age = input("How old are you?") height = input("How tal ...
分类:其他好文   时间:2020-06-25 23:42:58    阅读次数:62
Zabbix 5.0切换中文语言小结
最近测试Zabbix 5.0,去修改语言时发现不能选择“Chinese(zh_CN)”,这个选项在下拉框中是灰色的(无法选择)。提示“You are not able to choose some of the languages, because locales for them are not ...
分类:编程语言   时间:2020-06-25 21:34:13    阅读次数:69
模型的加载和保存
pytorch三种模型的加载保存操作 方法1 : PATH表示保存模型的路径和文件名 torch.save(model, PATH) model = torch.load(PATH) model.eval() class Model(nn.Module): def __init__(self, n_ ...
分类:其他好文   时间:2020-06-25 21:25:26    阅读次数:58
0030. Substring with Concatenation of All Words (H)
Substring with Concatenation of All Words (H) 题目 You are given a string, s, and a list of words, words, that are all of the same length. Find all star ...
分类:其他好文   时间:2020-06-25 21:20:39    阅读次数:56
解决报错:from err django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module. Did you install mysqlclient?
前言 使用python manage.py makemigrations时出现报错: from err django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module. Did you install mysqlcl ...
分类:数据库   时间:2020-06-25 19:32:03    阅读次数:216
oracle 03-11 备份恢复概念
Backup and Recovery: Concepts ObjectivesAfter completing this lesson, you should be able to:? Identify the types of failure that can occur in an Oracl ...
分类:数据库   时间:2020-06-25 19:17:27    阅读次数:296
Python 安装与命令行参数 ,Pip 的命令参数--官方文档
python 解释器: 1、Python 命令行参数 --官方文档:https://docs.python.org/zh-cn/3/using/cmdline.html#options-you-shouldn-t-use 2、在Windows上使用 Python :https://docs.pyth ...
分类:编程语言   时间:2020-06-25 19:13:29    阅读次数:113
攻防世界 bug
攻防世界 bug 发现有Register界面,先去注册 登录以后发现以下界面,点击Manage显示you are not admin,并且在注册界面用admin为注册名时显示用户名已存在。初步推测是设法改变admin的密码取得权限。 在主界面一通操作并没有什么发现,去findpwd页面试试 输入自己 ...
分类:其他好文   时间:2020-06-25 17:53:06    阅读次数:90
异常测试-中间件故障演练
#前言 多年前入职了现在的公司,当时还没有完整的异常测试的体系,后来根据自己的经验结合现状,帮助公司建立了一套异常测试的流程和文档,和另外的同学一起设计了异常故障注入平台,也完成了一些演练的落地,在这里做一些总结。 #kv故障演练 kv即key-value数据库,业界普遍使用的有redis、zook ...
分类:其他好文   时间:2020-06-25 17:20:29    阅读次数:199
26666条   上一页 1 ... 61 62 63 64 65 ... 2667 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!