首页 > 2018年05月17日 > 全部分享
json格式处理及扩展
1 <script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.js"></script> 2 <script> 3 //json扩展方法 4 if (!Object.prototype.forEach) { 5 Object.protot ...
分类:Web开发   时间:2018-05-17 13:14:34    收藏:0  评论:0  赞:0  阅读:203
Python库大全
通用: urllib -网络库(stdlib)。 requests -网络库。 grab – 网络库(基于pycurl)。 pycurl – 网络库(绑定libcurl)。 urllib3 – Python HTTP库,安全连接池、支持文件post、可用性高。 httplib2 – 网络库。 Rob ...
分类:编程语言   时间:2018-05-17 13:14:19    收藏:0  评论:0  赞:0  阅读:167
linux-AWK
输出第1列和第4例 awk '{print $1, $4}' netstat.txt 格式化输出, C语言的printf没什么两样 awk '{printf "%-8s %-8s %-8s %-18s %-22s %-15s\n",$1,$2,$3,$4,$5,$6}' netstat.txt 过滤 ...
分类:系统服务   时间:2018-05-17 13:13:59    收藏:0  评论:0  赞:0  阅读:209
CentOS 7搭建FTP服务器
安装vsftpd 命令:yum -y install vsftpd 修改ftp配置文件 命令:vim /etc/vsftpd/vsftpd.conf 按i进入insert模式后,按以下要求修改 anonymous_enable=YES #改为anonymous_enable=NO chroot_lo ...
分类:其他   时间:2018-05-17 13:13:44    收藏:0  评论:0  赞:0  阅读:154
【Mybatis】mybatis查询报错org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'areaName' in 'class java.lang.String'
mybatis查询报错: 解决方法: 需要添加 ...
分类:编程语言   时间:2018-05-17 13:13:24    收藏:0  评论:0  赞:0  阅读:1354
785. Is Graph Bipartite?从两个集合中取点构图
[抄题]: Given an undirected graph, return true if and only if it is bipartite. Recall that a graph is bipartite if we can split it's set of nodes into t ...
分类:其他   时间:2018-05-17 13:12:51    收藏:0  评论:0  赞:0  阅读:114
PHP 分页
<ul> <?php $c =new conn11('localhost','user','','test'); $c->connect();//连接数据库 $sql2 = 'select count(*) from liuyan'; $res3 =$c->sel($sql2); $res4 = $ ...
分类:Web开发   时间:2018-05-17 13:12:33    收藏:0  评论:0  赞:0  阅读:183
播放图像有锯齿_反隔行操作
摄像机按图像扫描方式可分为隔行扫描像机和逐行扫描像机,常用的是隔行扫描像机。隔行扫描像机拍摄的每帧图像分为顶场和底场,图像中的奇数行为顶场,图像中的偶数行为底场。隔行扫描摄像机在拍摄图像时先拍摄顶场然后拍摄底场,当摄像机以每秒25帧的速率拍摄图像时,顶场和底场之间的拍摄时间差为20毫秒,这20毫秒的 ...
分类:其他   时间:2018-05-17 13:11:40    收藏:0  评论:0  赞:0  阅读:169
Reverse Proxy Vs Forward Proxy
Reverse Proxy What is Reverse Proxy Server A reverse proxy server is an intermediate connection point positioned at a network’s edge. It receives init ...
分类:其他   时间:2018-05-17 13:11:24    收藏:0  评论:0  赞:0  阅读:173
PDO连续query()失败问题
设置了非缓冲查询(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY)以后,连续query会导致下一次结果为false 解决办法 1、每次query的结果用完以后,unset()或者重新赋值 2、query以后的结果我们一般会用fetch()函数去获取结果,如果用while($re ...
分类:其他   时间:2018-05-17 13:11:06    收藏:0  评论:0  赞:0  阅读:157
作业1#python用列表实现多用户登录,并有三次机会
实现思路,先实现单用户登录,然后用while循环三次,三次机会输入登录,列表中的账户和密码是一一对应的关系。 ...
分类:编程语言   时间:2018-05-17 13:10:20    收藏:0  评论:0  赞:0  阅读:595
正则表达式 python
下面这种方式 从结果上看 匹配的是关键字, 但是不是 每一次都可以 100% 准确 第二种方式 这种方式匹配出来的 就比较多了 从结果上看: 匹配的是全部 ...
分类:编程语言   时间:2018-05-17 13:10:02    收藏:0  评论:0  赞:0  阅读:192
基础 数字类型 字符串类型
数字类型、字符串类型扩展 赋值方式: 增量赋值、链式赋值、交叉赋值 变量解压 哈希 hash 字符串类型取反 列表切片 长度统计 len 成员运算 in 和not in in:在里面 not in :不在里面 移除 strip()中的数据 如果()中为空 那么默认为移除空格 split () 切分 ...
分类:其他   时间:2018-05-17 13:09:13    收藏:0  评论:0  赞:0  阅读:137
HIVE Error : Java heap space 解决方案
Java heap space问题一般解决方案: 设置 set io.sort.mb=10; 排序所使用的内存数量,默认值是100M,和mapred.child.java.opts相对应,opts默认:-Xmx200m,则mb不能超过200M,否则会OOM。 设置 set hive.map.aggr ...
分类:编程语言   时间:2018-05-17 13:08:26    收藏:0  评论:0  赞:0  阅读:219
springboot整合freemarker
1.在pom.xml引入freemarker包 2.在springboot的属性配置文件(application.properties)里面加入freemarker的相关属性配置 ps:这里有个问题,spring.freemarker.charset=UTF-8 本人本机会报错,还不知道原因. 3. ...
分类:编程语言   时间:2018-05-17 13:08:07    收藏:0  评论:0  赞:0  阅读:257
PHP游戏概率方法
...
分类:Web开发   时间:2018-05-17 13:07:51    收藏:0  评论:0  赞:0  阅读:191
SSM整合时初始化出现异常
java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException at java.lang.Class.getDeclaredMethods0(Native Meth ...
分类:其他   时间:2018-05-17 13:07:32    收藏:0  评论:0  赞:0  阅读:257
C7-1 账户类(100/100)
题目描述 定义一个基类Account,数据成员包含string类变量userName用于保存账户主人姓名,函数成员包括默认构造函数、带参构造函数用于初始化数据成员和输出姓名的成员函PrintName()。从Account类派生出CreditAccount类,增加整型数据成员credit用于记录该用户 ...
分类:其他   时间:2018-05-17 13:06:46    收藏:0  评论:0  赞:0  阅读:192
Tensorflow代码解析(一)
http://www.leiphone.com/news/201702/n0uj58iHaNpW9RJG.html?utm_source=tuicool&utm_medium=referral 摘要 2015年11月9日,Google发布深度学习框架TensorFlow并宣布开源,并迅速得到广泛关注 ...
分类:其他   时间:2018-05-17 13:06:30    收藏:0  评论:0  赞:0  阅读:154
Django入门(一)
1.什么是Django Django是一个Python Web框架,可以快速实现Web开发。 Django官方文档 https://docs.djangoproject.com/en/1.11/ 2.安装 确保安装了python和pip,使用pip安装django 在命令行输入,可以看到django ...
分类:其他   时间:2018-05-17 13:06:12    收藏:0  评论:0  赞:0  阅读:215
1274条   上一页 1 ... 39 40 41 42 43 ... 64 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!