码迷,mamicode.com
首页 >  
搜索关键字:ships    ( 104个结果
新人开车——注入攻击
一.1 SQL注入 1、注入攻击的本质,是把用户输入的数据当做代码执行。这里有两个关键条件: (1)用户能够控制输入; (2)原本程序要执行的代码,拼接了用户输入的数据。 大家都耳熟能详了,我举一个例子, var ship; ships=Request.form("ship"); var sql= ...
分类:其他好文   时间:2018-02-17 22:50:22    阅读次数:285
Java Tomcat7性能监控与优化详解
1. 目的 通过优化tomcat提高网站的并发能力。 2. 服务器资源 服务器所能提供CPU、内存、硬盘的性能对处理能力有决定性影响。 3. 优化配置 3.1. 配置tomcat管理员账户 在conf/ tomcat-users.xml下添加用户: <role rolename="manager"/ ...
分类:编程语言   时间:2018-02-08 00:27:44    阅读次数:582
nil / Nil / NULL / NSNull VS objc_msgSend
nil的处理展示出消息机制的优越性,相对于函数调用的空指针处理。 ENTRY objc_msgSend # check whether receiver is nil teq a1, #0 itt eq moveq a2, #0 bxeq lr # save registers and load r ...
分类:其他好文   时间:2018-02-06 14:23:29    阅读次数:194
Application Metrics With Spring Boot Actuator
转自:https://bartcode.co.uk/2015/01/application-metrics-with-spring-boot-actuator Update 12/2017: It will need an update/rewrite since Spring Boot 2.0 i ...
分类:移动开发   时间:2018-01-26 17:09:55    阅读次数:301
Django REST framework
教程 1 - Serialization 2 - Requests & Responses 3 - Class-based views 4 - Authentication & permissions 5 - Relationships & hyperlinked APIs 6 - Viewsets ...
分类:其他好文   时间:2017-12-09 14:07:32    阅读次数:281
Django Rest framework
快速上手 Django REST framework 是用于构建Web API 的强大而灵活的工具包。 我们可能想使用REST框架的一些原因: Web浏览API对于开发人员来说是一个巨大的可用性。 认证策略包括OAuth1a和OAuth2的包。 支持ORM和非ORM数据源的序列化。 安装需求以及安装 ...
分类:其他好文   时间:2017-09-10 00:08:06    阅读次数:199
51 nod 1521 一维战舰 时间复杂度O(n),同 Codeforces 567D. One-Dimensional Battle Ships 有详细注释
题目:51nod: 题目Codeforces: 题目注意到两个战舰不能挨在一起就可以了。 每一段可容纳战舰数: ship*a + (ship - 1) <= length; --> ship = (length+1) / (a+1);(舍去小数部分) 构造出这么一个数据结构就简单了。 现在还有一个问 ...
分类:其他好文   时间:2017-08-29 20:39:43    阅读次数:366
HDU 3172 Virtual Friends (map+并查集)
These days, you can do all sorts of things online. For example, you can use various websites to make virtual friends. For some people, growing their s ...
分类:其他好文   时间:2017-08-06 15:59:46    阅读次数:147
D - 船之战
Alice and Bob love playing one-dimensional battle ships. They play on the field in the form of a line consisting of n square cells (that is, on a 1?×? ...
分类:其他好文   时间:2017-07-23 15:27:18    阅读次数:164
April 18 2017 Week 16 Tuesday
Every light has darkness to balance it out. 有光明的地方,必定有黑暗予以平衡。 I strive to get a balance between life and work. But it seems my efforts were just futil ...
分类:其他好文   时间:2017-06-27 12:58:59    阅读次数:194
104条   上一页 1 2 3 4 5 6 ... 11 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!