上一页 1 ··· 164 165 166 167 168 169 170 171 172 ··· 183 下一页
摘要: 实践: 1) 首先,可以先查看一下数据库现在的sql_mode的值,sql语句为: select version(), @@sql_mode; 获取结果可能如下,不同的设置查询出来的有区别: 然后可以使用如下语句,去设置自己需要的sql_mode. SET sql_mode=(SELECT REPL 阅读全文
posted @ 2017-02-16 15:32 papering 阅读(280) 评论(0) 推荐(0) 编辑
摘要: https://docs.djangoproject.com/en/2.2/ref/contrib/ contrib packages Django aims to follow Python’s “batteries included” philosophy. It ships with a va 阅读全文
posted @ 2017-02-16 14:06 papering 阅读(309) 评论(0) 推荐(0) 编辑
摘要: w数组的元素排序,不同编程语言的算法。 w耗时、耗内存。 情景: 一张grab表,行时时新增中;每次按一定条件取出一定行,遍历每行,对单表单行数据进行处理分析,分析后再更新是否分析二元值标识字段。 若采用外部脚本分析,如php,暂时不考虑存储过程,同时认为只有一个分析脚本在运行,无并发分析,则需要获 阅读全文
posted @ 2017-02-16 13:11 papering 阅读(723) 评论(0) 推荐(0) 编辑
摘要: w TypeError : Cannot set property 'innerHTML' of nullTypeError : Cannot set property 'value' of null通过id或其他部分属性查找元素改变页面值时,如在点击中event.target.getAttribu 阅读全文
posted @ 2017-02-15 13:44 papering 阅读(261) 评论(0) 推荐(0) 编辑
摘要: Python | super() function with multilevel inheritance - GeeksforGeeks https://www.geeksforgeeks.org/python-super-function-with-multilevel-inheritance/ 阅读全文
posted @ 2017-02-14 17:50 papering 阅读(279) 评论(0) 推荐(0) 编辑
摘要: https://docs.djangoproject.com/en/2.2/topics/pagination/ Paginator objects¶ The Paginator class has this constructor: class Paginator(object_list, per 阅读全文
posted @ 2017-02-14 17:42 papering 阅读(225) 评论(0) 推荐(0) 编辑
摘要: http://www.world-english.org/boys_names-j-l.htm w http://ename.dict.cn/list/male/F/4 http://babynames.net/all/starts-with/d?page=2 阅读全文
posted @ 2017-02-14 15:51 papering 阅读(263) 评论(0) 推荐(0) 编辑
摘要: w HTTP The Definitive Guide Cookies themselves are not believed to be a tremendous security risk, because they can be disabled and because much of the 阅读全文
posted @ 2017-02-14 11:31 papering 阅读(191) 评论(0) 推荐(0) 编辑
摘要: w HTTP The Definitive Guide 11.6.9 Cookies and Caching You have to be careful when caching documents that are involved with cookie transactions. You d 阅读全文
posted @ 2017-02-14 11:29 papering 阅读(146) 评论(0) 推荐(0) 编辑
摘要: w HTTP The Definitive Guide Cookies can be used to track users as they make multiple transactions to a web site. E-commerce web sites use session cook 阅读全文
posted @ 2017-02-14 11:26 papering 阅读(256) 评论(0) 推荐(0) 编辑
摘要: w https://www.zhihu.com/question/35307626 w 0-客户端(附加用户信息)首次请求服务端 》服务端生成session(有唯一性)、session_id,cookie(可能含有用户名、登录密码、浏览历史),并且设定cookie的生命周期、适用域名、适用域名下的路 阅读全文
posted @ 2017-02-14 11:20 papering 阅读(198) 评论(0) 推荐(0) 编辑
摘要: HTTP The Definitive Guide Cookies are the best current way to identify users and allow persistent sessions. They don't suffer many of the problems of 阅读全文
posted @ 2017-02-14 11:16 papering 阅读(182) 评论(0) 推荐(0) 编辑
摘要: w本地存储数据2种形式。 http://superuser.com/questions/292952/chrome-cookies-folder-in-windows-7 chrome://settings/cookies Settings > Show Advanced Settings > Pr 阅读全文
posted @ 2017-02-14 10:54 papering 阅读(184) 评论(0) 推荐(0) 编辑
摘要: w在每个URL后面都附加一个用户特有的标识码。 HTTP The Definitive Guide Some web sites keep track of user identity by generating special versions of each URL for each user. 阅读全文
posted @ 2017-02-14 10:40 papering 阅读(308) 评论(0) 推荐(0) 编辑
摘要: w用HTTP认证首部注册用户名。 HTTP The Definitive Guide Rather than passively trying to guess the identity of a user from his IP address, a web server can explicit 阅读全文
posted @ 2017-02-14 10:36 papering 阅读(225) 评论(0) 推荐(0) 编辑
摘要: HTTP The Definitive Guide Early web pioneers tried using the IP address of the client as a form of identification. This scheme works if each user has 阅读全文
posted @ 2017-02-14 10:31 papering 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 用户信息通过HTTP头部承载:不能实现用户唯一性标识。 w HTTP The Definitive Guide Table 11-1 shows the seven HTTP request headers that most commonly carry information about the 阅读全文
posted @ 2017-02-14 10:27 papering 阅读(201) 评论(0) 推荐(0) 编辑
摘要: w服务器要知道和谁在交谈。 HTTP The Definitive Guide Web servers may talk to thousands of different clients simultaneously. These servers often need to keep track 阅读全文
posted @ 2017-02-14 10:04 papering 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 0-服务器识别用户的目的:服务器存有不同用户的信息,而对这些信息,服务器自身、网站开发管理者、网站访问者会对其读写; 1-暂且存入服务器数据库,购物车分为2种表:购物车入车表和购物车下单表; 2-单个客户的购物车是只有一个,状态具有单一时刻,或者说,当前唯一性,其中入车表一个客户的一种商品数量大于1 阅读全文
posted @ 2017-02-14 09:59 papering 阅读(163) 评论(0) 推荐(0) 编辑
摘要: w元素的上的下。 阅读全文
posted @ 2017-02-14 01:23 papering 阅读(234) 评论(0) 推荐(0) 编辑
摘要: w调用函数次数的计算。 JavaScript: The Good Parts 4.15. Memoization Functions can use objects to remember the results of previous operations, making it possible 阅读全文
posted @ 2017-02-14 00:10 papering 阅读(386) 评论(0) 推荐(0) 编辑
摘要: wta 问题发源的代码: 阅读全文
posted @ 2017-02-13 18:08 papering 阅读(580) 评论(0) 推荐(0) 编辑
摘要: wjs php返回结果一致 阅读全文
posted @ 2017-02-13 16:47 papering 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 借助cookie,cookie是js和php互相传值的纽带。 阅读全文
posted @ 2017-02-13 16:29 papering 阅读(269) 评论(0) 推荐(0) 编辑
摘要: w变量名为变量,减少重复代码。 阅读全文
posted @ 2017-02-13 12:32 papering 阅读(160) 评论(0) 推荐(0) 编辑
摘要: http://stackoverflow.com/questions/143847/best-way-to-find-if-an-item-is-in-a-javascript-array Best way to find if an item is in a JavaScript array? [ 阅读全文
posted @ 2017-02-13 11:49 papering 阅读(487) 评论(0) 推荐(0) 编辑
摘要: w 将数据库的不同数值寄存到自定义的不同属性上,避免通过寄存到同一id属性上的字符串处理。 阅读全文
posted @ 2017-02-13 11:46 papering 阅读(196) 评论(0) 推荐(0) 编辑
摘要: HTTP: The Definitive Guide 17.3.2 Content-Negotiation Header Quality Values The HTTP protocol defines quality values to allow clients to list multiple 阅读全文
posted @ 2017-02-13 11:28 papering 阅读(189) 评论(0) 推荐(0) 编辑
摘要: w交给客户端浏览器js处理,减少向服务器的提交字节、精简处理逻辑。 阅读全文
posted @ 2017-02-13 09:54 papering 阅读(140) 评论(0) 推荐(0) 编辑
摘要: w拼写多一个空格导致。 http://stackoverflow.com/questions/16100543/uncaught-typeerror-cannot-set-property-value-of-null 阅读全文
posted @ 2017-02-13 09:51 papering 阅读(423) 评论(0) 推荐(0) 编辑
摘要: w作用域控制变量的可见范围。 JavaScript: The Good Parts Instead of initializing myObject with an object literal, we will initialize myObject by calling a function t 阅读全文
posted @ 2017-02-12 23:35 papering 阅读(215) 评论(0) 推荐(0) 编辑
摘要: w单图,绕开了显示的兼容性。 http://res.m.suning.com/project/JoinGo/intro.html http://res.m.suning.com/project/JoinGo/assets/images/group/fullpage.png http://res.su 阅读全文
posted @ 2017-02-12 19:16 papering 阅读(1452) 评论(0) 推荐(0) 编辑
摘要: 1 玩法介绍返回玩法介绍 1 2 3 4 5 6 7 8 9 10 玩法介绍 11 12 28 39 40 41 42 返回 43 玩法介绍 44 45 47 48 阅读全文
posted @ 2017-02-12 19:07 papering 阅读(281) 评论(0) 推荐(0) 编辑
摘要: https://en.wikipedia.org/wiki/Microservices https://zh.wikipedia.org/wiki/微服務 微服務 (Microservices) 是一種軟體架構風格,它是以專注於單一責任與功能的小型功能區塊 (Small Building Block 阅读全文
posted @ 2017-02-11 20:09 papering 阅读(342) 评论(0) 推荐(0) 编辑
摘要: w没有实现宽度分配为1:1:1:1.5:1.5效果 w行按比例分配宽度。 阅读全文
posted @ 2017-02-10 11:01 papering 阅读(343) 评论(0) 推荐(0) 编辑
摘要: w环境。 http://geek.csdn.net/news/detail/136883 “我们认为只有用大数据的手段先解决看问题的全面性,才有可能真正解决安全问题,很多安全解决方案的失败,不是在于防护做得不好,而是在于根本没看见敌人,防护就无从谈起。因为过去缺少对原始数据的计算能力,只靠单机设备想 阅读全文
posted @ 2017-02-10 00:01 papering 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 对__construct()构造函数传入参数,提高代码的复用性。 构造函数与后台登录安全 w 前言 0-访问后台安全方面暂且考虑客户端浏览器cookie和客户端的访问历程; 1-后台控制器中登录控制器相对其他业务控制器单列,暂未写安全控制器; 2-cookie是成功登录后被存储到客户端单个浏览器的, 阅读全文
posted @ 2017-02-09 17:37 papering 阅读(457) 评论(0) 推荐(0) 编辑
摘要: w客户端浏览器cookie、追踪访问路径来源php-$_SERVER['HTTP_REFERER']、数据库疑似恶意ip和环境变量结合ip-ua-platform-requestUrl-time。 阅读全文
posted @ 2017-02-09 15:54 papering 阅读(254) 评论(0) 推荐(0) 编辑
摘要: w待学习、实践、优化 https://github.com/ElmahdiMahmoud/fly-to-cart-effect https://codepen.io/anon/pen/ggdzEK?editors=1111 https://codepen.io/elmahdim/pen/tEeDn 阅读全文
posted @ 2017-02-08 16:39 papering 阅读(201) 评论(0) 推荐(0) 编辑
摘要: w图标生成原理。 阅读全文
posted @ 2017-02-08 15:33 papering 阅读(1276) 评论(0) 推荐(0) 编辑
上一页 1 ··· 164 165 166 167 168 169 170 171 172 ··· 183 下一页