At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock the door ...
分类:
其他好文 时间:
2018-03-11 11:50:18
阅读次数:
181
安装: 基本使用 二、路由系统 三、模板 四、实用功能 1、静态文件 对于静态文件,可以配置静态文件的目录和前段使用时的前缀,并且Tornaodo还支持静态文件缓存。 2、csrf Tornado中的夸张请求伪造和Django中的相似,跨站伪造请求(Cross-site request forger ...
分类:
编程语言 时间:
2018-03-07 21:40:38
阅读次数:
205
unescape与escape unescape() 函数可对通过 escape() 编码的字符串进行解码。 说明:该函数的工作原理是这样的:通过找到形式为 %xx 和 %uxxxx 的字符序列(x 表示十六进制的数字),用 Unicode 字符 \u00xx 和 \uxxxx 替换这样的字符序列进 ...
分类:
其他好文 时间:
2018-03-07 17:32:40
阅读次数:
133
转载请注明出处:http://www.cnblogs.com/shamoyuu/p/currying.html 什么是js函数的currying /柯里化? 说到js的柯里化,相信很多朋友都会头大。或者不是很清楚。我今天简单的给大家介绍一下。 我用一句话总结函数柯里化,js柯里化是逐步传参,逐步缩小 ...
分类:
编程语言 时间:
2018-03-07 11:35:07
阅读次数:
219
这题真tm是醉了。 就是对于每个亲戚,利用其它的亲戚对他半平面交求出其控制的范围,然后随便跑个最短路就行了 n=0卡了我一下午////// 1 #include <cstdio> 2 #include <cstring> 3 #include <iostream> 4 #include <algor ...
分类:
其他好文 时间:
2018-03-06 20:26:15
阅读次数:
116
Description Mr Wang wants some boys to help him with a project. Because the project is rather complex, the more boys come, the better it will be. Of c ...
分类:
其他好文 时间:
2018-03-06 19:07:40
阅读次数:
163
解题思路:Find Gold Someone locked you in the grid house. You can’t escape, until you find the enough gold. But somewhere is on the fire, so you can’t stan ...
分类:
其他好文 时间:
2018-03-04 20:02:17
阅读次数:
209
1. escape是给字符串编码,没在实际场景遇到过 2.对url变化或url的参数编码,经常用到encodeURI和encodeURIComponent, 区别是编码范围不同: encodeURI方法不会对下列字符编码 ASCII字母、数字、~!*()'、=:/,;?+ encodeURIComp ...
分类:
Web程序 时间:
2018-03-03 14:01:22
阅读次数:
180
addcslashes (PHP 4, PHP 5, PHP 7) addcslashes — Quote string with slashes in a C style addcslashes — 以 C 语言风格使用反斜线转义字符串中的字符 Description Parameters str ...
分类:
Web程序 时间:
2018-03-01 21:42:32
阅读次数:
226
1.远程连接项目服务器(miit_shi),遇到的问题 问题:Connecting to IP地址:22... Connection established. To escape to local shell, press 'Ctrl+Alt+]'. Connection closed by for ...
分类:
系统相关 时间:
2018-03-01 17:13:58
阅读次数:
135