【0】概述 const是constant 的缩写,是C语言的关键字之一,是一个类型修饰符(type specifier)。const是恒定不变的意思也翻译为常量、常数等。很不幸,正是因为这一点,很多人都认为被 const 修饰的值是常量。这是不精确的,精确的说应该是只读的变量,其值在编译时不能被使用 ...
分类:
其他好文 时间:
2016-05-08 19:57:11
阅读次数:
225
1、错误信息 Attaching an entity of type 'LawProject.Models.Models.T_Category' failed because another entity of the same type already has the same primary k ...
分类:
其他好文 时间:
2016-05-08 19:41:48
阅读次数:
615
name: 单独一个网页中,一个控件是否设置name不会影响这个网页功能的实现。当我们需要把这个控件 所关联的数据传递到数据库时,就必须设置name属性,否则这个值是没办法传到服务器保存的; id: 主要用于javascript; value: 主要用于赋值,如:<input type="butto ...
分类:
Web程序 时间:
2016-05-08 18:09:54
阅读次数:
536
1.下载Jmeter http://jmeter.apache.org/download_jmeter.cgi 2.解压,在bin目录下找到jmeter.bat,并双击打开。 3.添加线程组 4.添加HTTP信息头管理器,并配置Content-type和Content-encoding头部字段 5. ...
分类:
Web程序 时间:
2016-05-08 16:47:27
阅读次数:
176
课程链接 http://www.imooc.com/learn/36 1.在HTML中加入JS的方法 <script type="text/javascript">表示在<script></script>之间的是文本类型(text)javascript是为了告诉浏览器里面的文本是属于JavaScri ...
分类:
编程语言 时间:
2016-05-08 15:12:39
阅读次数:
173
1.python 的metaclass 关于元类 在python中,有一经典解释文章,特别是注意到,而python中的基本元类就是type,type会根据传入参数的个数来决定发挥打印类型的函数功能或者发挥元类的作用。元类的自定义使用__metaclass__: (一)自定义metaclass 使用m ...
分类:
Web程序 时间:
2016-05-08 15:04:13
阅读次数:
189
<!DOCTYPE html><html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta charset="utf-8"> <title>点击按钮文字变成inp ...
分类:
其他好文 时间:
2016-05-08 13:23:42
阅读次数:
169
Values of type 'NSInteger' should not be used as format arguments Values of type 'NSInteger' should not be used as format arguments 苹果app支持arm64以后会有一个 ...
分类:
其他好文 时间:
2016-05-08 11:51:28
阅读次数:
126
按问题类型分类的问题 使用 SQL 注入的认证旁路2 已解密的登录请求3 登录错误消息凭证枚举1 会话标识未更新2 跨站点请求伪造1 Missing "Content-Security-Policy" header 9 Missing "X-Content-Type-Options" header ...
分类:
移动开发 时间:
2016-05-08 10:27:54
阅读次数:
1606
(1)系统时间向后走10秒即停止<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<htmlxmlns="http://www.w3.org/1999/xhtml">
<head>
<metahttp-equiv="Content-Type"content="tex..
分类:
编程语言 时间:
2016-05-08 06:59:52
阅读次数:
245