码迷,mamicode.com
首页 >  
搜索关键字:ever    ( 3292个结果
053.Python前端Django框架模板层
模板层 一 模板语法之变量 在 Django 模板中遍历复杂数据结构的关键是句点字符, 语法: {{ var_name }} [root@node10 mysite]# cat app01/urls.py from django.urls import path,re_path from . imp ...
分类:编程语言   时间:2020-04-03 10:24:10    阅读次数:71
五分频器
主体部分: 数分频器的设计比偶数分频器复杂一些,特别是占空比为50%的奇数分频器。如果对占空比没有明确的要求,则可以直接对上升沿计数,计数到(N-1)/2 时让输出翻转,计数到(N-1)时让输出状态再次翻转,并将计数器清零,这样就可以得到一个占空比为2:3的N分频(N为奇数)的分频器。而如果要实现5 ...
分类:其他好文   时间:2020-04-02 17:33:28    阅读次数:249
CF 1012C Dp
Welcome to Innopolis city. Throughout the whole year, Innopolis citizens suffer from everlasting city construction. From the window in your room, you ...
分类:其他好文   时间:2020-04-01 13:15:04    阅读次数:83
Linux用户密码过期 FAILED to authorize user with PAM (Authentication token is no longer valid; new one req)
执行crontab [root@FMPVZABBIX mysql_backup]# tail -f /var/log/cron Jul 16 14:12:01 FMPVZABBIX crond[13308]: (root) PAM ERROR (Authentication token is no ...
分类:系统相关   时间:2020-04-01 12:37:08    阅读次数:219
递归函数
一 递归函数 直接或间接调用自己 递归函数必须有一个条件,终止无限循环 1.直接调用 # def index(): # print('hello') # index() # # index() # 循环自己调用自己 2.间接调用自己 # def func(): # print('hello') # ...
分类:其他好文   时间:2020-03-30 16:43:05    阅读次数:78
Google Kickstart 2020 Round A: Plates Solution
Problem Statement Problem Dr. Patel has N stacks of plates. Each stack contains K plates. Each plate has a positive beauty value, describing how beaut ...
分类:其他好文   时间:2020-03-30 09:49:38    阅读次数:81
CentOS7源码安装Nginx
环境: 1 [root@gz01-nginx-proxy-master ~]# uname -r 2 3.10.0-693.el7.x86_64 3 [root@gz01-nginx-proxy-master ~]# cat /etc/redhat-release 4 CentOS Linux re ...
分类:其他好文   时间:2020-03-30 00:16:59    阅读次数:91
kubernetes(九)二进制安装-CoreDns安装
部署 coredns 插件(在master节点上执行) 1. 下载和配置 coredns 1. 启动 coredns 1. 遇到问题 启动coredns后,状态是CrashLoopBackOff 查看coredns对应的pod日志有如下错误 按照提示进入https://coredns.io/plug ...
分类:Web程序   时间:2020-03-29 21:16:34    阅读次数:161
动态规划基本思想
引入 引用某OI大佬的一段话 动态规划自古以来是DALAO凌虐萌新的分水岭,但有些OIer认为并没有这么重要——会打暴力,大不了记忆化。但是其实,动态规划学得好不好,可以彰显出一个OIer的基本素养——能否富有逻辑地思考一些问题,以及更重要的——能否将数学、算筹学(决策学)、数据结构合并成一个整体并 ...
分类:其他好文   时间:2020-03-29 12:45:52    阅读次数:97
list列表_语法小记
增 list = ["Hello","my","name","is","Python"] list.append(".") 末尾追加 print(list) list.insert(1,",") 根据下标插入内容 print(list) list_extend = ["WOW","YOU","ARE ...
分类:其他好文   时间:2020-03-28 23:46:23    阅读次数:104
3292条   上一页 1 ... 26 27 28 29 30 ... 330 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!