1 HTML字符实体(Character Entities),转义字符串(Escape Sequence)为什么要用转义字符串? 2 HTML中,&等有特殊含义(,用于链接签,&用于转义),不能直接使用。这些符号是不显示在我们最终看到的网页里的,那如果我们希望在网页中显示这些符号,该怎么办呢?...
分类:
其他好文 时间:
2014-10-10 14:11:44
阅读次数:
166
function setCookie(name,value)
{
var Days = 30;
var exp = new Date();
exp.setTime(exp.getTime() + Days*24*60*60*1000);
document.cookie = name + "="+ escape (value) + ";expires=" + exp....
分类:
Web程序 时间:
2014-10-10 10:00:44
阅读次数:
209
var before = "\xxx\xxx"var after = escape(before);var after2 = unescape(after );
分类:
其他好文 时间:
2014-10-09 21:54:57
阅读次数:
189
escape、encodeURI 和encodeURIComponent 的区别escape(), encodeURI()和encodeURIComponent()是在Javascript中用于编码字符串的三个常用的方法,而他们之间的异同却困扰了很多的Javascript初学者,今天我就在这里对这三...
分类:
其他好文 时间:
2014-10-09 14:40:33
阅读次数:
224
现在将重新制定一个camera摄像机。可以自由移动。
比如前进 后退,上游 下潜。 各个方向渲染之类的。
首先设置按键。
这个时候需要在
XWindow.h 里面
bool XWindow::frame()
{
//判断是否按下ESC键
if(x_input->isKeyDown(VK_ESCAPE))
return false;
//如果A,S,D,W,Q,E,Z,X,C键按...
分类:
移动开发 时间:
2014-10-09 02:36:17
阅读次数:
271
Code Path:
https://github.com/bluesilence/Lisp/blob/master/clojure/projects/room-escape/src/room_escape/core.clj
E2E Process
Now it's time to put the stuff altogether.
The body of the core c...
分类:
Web程序 时间:
2014-10-05 18:36:28
阅读次数:
191
Based on the draft, the data models can be built of 3 major units:
1. Room...
分类:
Web程序 时间:
2014-10-05 17:54:18
阅读次数:
215
Code path:
https://github.com/bluesilence/Lisp/tree/master/clojure/projects/room-escape
As I have been a fan of room-escape games, there have always been a desire to make my own story of a roo...
分类:
Web程序 时间:
2014-10-05 17:44:38
阅读次数:
269
Code Path:
https://github.com/bluesilence/Lisp/blob/master/clojure/projects/room-escape/src/room_escape/script.clj
Extract Story to TXT
In order to move the story from .clj into .txt, I lever...
分类:
Web程序 时间:
2014-10-05 17:36:38
阅读次数:
214
老老实实mysql_real_escape_string()防作死......is_numeric的SQL利用条件虽然有点苛刻,但还是少用的好= =某CTF中亦有实测案例,请戳http://drops.wooyun.org/tips/870一、is_numberic函数简介国内一部分CMS程序里面有...
分类:
数据库 时间:
2014-10-03 21:25:25
阅读次数:
370