码迷,mamicode.com
首页 >  
搜索关键字:range    ( 9515个结果
nginx实现range请求
前提条件:nginx支持ngx_http_slice_module模块 配置文件示例: #location 块的配置: location /asd/ { slice 512k; proxy_cache cache; proxy_cache_key $uri$is_args$args$slice_ra ...
分类:其他好文   时间:2020-07-19 00:50:36    阅读次数:186
RN(移动端)编辑文章、插入图片 的 简单富文本
1.事件(onkeydown、onkeypress onkeyup onchange)总结的很好 https://blog.csdn.net/wenqiang612/article/details/73139620 2. 理解 range对象(明天早上看) https://www.cnblogs.c ...
分类:移动开发   时间:2020-07-19 00:36:44    阅读次数:124
mininet对象添加带外管理
for i in range(1, 4+1): name = 'r%s' % i eth0 = { 'mac' : '00:00:00:00:0%s:01' % i, 'ipAddrs' : ['10.0.%s.1/24' % i] } eth1 = { 'ipAddrs' : ['192.168. ...
分类:Web程序   时间:2020-07-18 22:53:30    阅读次数:92
Python : TypeError: 'int' object is not iterable
用循环依次对list中的每个名字打印出 Hello, xxx! L = ['Bart', 'Lisa', 'Adam']x = len(L) for i in range(x): print('Hello,', L[i]) 此处,若直接使用 for i in x 时,编译报错:TypeError: ...
分类:编程语言   时间:2020-07-18 22:45:27    阅读次数:95
C# 8中的范围类型(Range Type)
//语法糖Rangestatic void Main(string[] args) { var myArray = new string[] { "Item1", "Item2", "Item3", "Item4", "Item5" }; for(int i=1; i <= 3; i++) { Co ...
分类:Windows程序   时间:2020-07-18 22:10:21    阅读次数:65
C# 使用Enumerable.Range 打印数字
static void Main(string[] args) { var list1 = Enumerable.Range(0, (int)Math.Pow(2, 22)).ToList(); var list2 = new List<int>(list1); list2.Add(1); Cons ...
分类:编程语言   时间:2020-07-18 22:06:18    阅读次数:69
Mnist手写数字识别 Tensorflow
Mnist手写数字识别 Tensorflow 任务目标 了解mnist数据集 搭建和测试模型 编辑环境 操作系统:Win10 python版本:3.6 集成开发环境:pycharm tensorflow版本:1.* 了解mnist数据集 mnist数据集:mnist数据集下载地址 MNIST 数据集 ...
分类:其他好文   时间:2020-07-18 20:01:40    阅读次数:78
[CISCN2019 华东南赛区]Double Secret
0x01 进入页面如下 提示我们寻找secret,再加上题目的提示,猜测这里有secret页面,我们尝试访问,结果如下 根据它这个话的意思,是让我们传参,然后它会给你加密,我们试一下 发现输入的1变成了d,我们尝试增加输入参数的长度,然后就出现了下图的结果 报错了,直接源码泄露,然后我们看一下标记处 ...
分类:其他好文   时间:2020-07-18 15:52:28    阅读次数:82
关于ORACLE索引的几种扫描方式
恢复内容开始 恢复内容开始 一条sql执行的效率因执行计划的差异而影响,经常说这条sql走索引了,那条sql 全表扫了。索引是怎么走的呢,说说我了解到的几种索引走的方式。 索引的几种扫描方式 1.Index Unique Scans 索引唯一扫描2.Index Range Scans 索引范围扫描3 ...
分类:数据库   时间:2020-07-18 11:32:10    阅读次数:91
字符视频
图片 转 字符 from PIL import Image def main(): for a in range(0, 100): print(a) if a < 10: pic = "001 - 2333000" + str(a) + ".jpg" if a >= 10 and a < 100: ...
分类:其他好文   时间:2020-07-18 00:49:39    阅读次数:98
9515条   上一页 1 ... 36 37 38 39 40 ... 952 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!