会有这么一些个需求,数据不需要存储到服务器端,只需要在客户端(浏览器)取到相关数据,那么有几种方式我们可以使用: Cookie、LocalStorage、SessionStorage、UserData,当然还有一些方式比如flash cookie,Gears等要依赖插件,这就不在我们的介绍范围了。 ...
分类:
其他好文 时间:
2018-01-04 10:58:00
阅读次数:
126
In a strange planet there are n races. They are completely different as well as their food habits. Each race has a food-eating period. That means the ...
分类:
其他好文 时间:
2018-01-03 17:33:17
阅读次数:
186
Mathematically some problems look hard. But with the help of the computer, some problems can be easily solvable. In this problem, you will be given tw ...
分类:
其他好文 时间:
2017-12-31 18:10:54
阅读次数:
168
CGPROGRAM // Physically based Standard lighting model, and enable shadows on all light types #pragma surface surf Standard fullforwardshadows vertex:v... ...
分类:
编程语言 时间:
2017-12-19 15:30:00
阅读次数:
327
1vscode上手一周不到,终于弄出点门路,终于弄清楚了点vscode的设置是什么样子的了....哭 2就我这两天的使用来看,一般vscode默认只让打开一个文件夹,然后在你打开的文件夹里面自动生成 一个.vscode的文件夹(隐藏的,正常是看不见的) 3.vscode文件夹里面会生成两个文件 一个 ...
分类:
Web程序 时间:
2017-12-13 17:20:11
阅读次数:
212
1.首先安装Win32OpenSSL_Light-1_1_0g.exe,默认安装到了C盘根目录 2.将PFX证书粘贴到C:\OpenSSL-Win32\bin下 3.导出证书(进入CMD命令操作界面,进入openssl的bin目录)openssl pkcs12 -in root用户签名.pfx(原证书) -clcerts -nokeys -out cert.pem(证书名)输入
分类:
其他好文 时间:
2017-12-09 18:04:47
阅读次数:
165
1.1 抽象的进步 五大基本特征1.2 对象的接口 Light it = new Light();it.on();1.3 实现方案的隐藏 为什么要进行方法隐藏: 1.第一个原因是防止程序员接触他们不该接触的东西——通常是内部数据类型的设计思想。若只是为了解决特定的问题,用户只需操作接口即可,毋需明白 ...
分类:
其他好文 时间:
2017-12-07 20:50:31
阅读次数:
135
大纲 what is color? The result of interaction between physical light in the environment and our visual system. A psychological property of our visual ex ...
分类:
移动开发 时间:
2017-12-02 14:05:32
阅读次数:
489
Less的模式匹配 Less提供了一种机制,允许根据参数的值来改变 mixin的行为。比如,以下代码就可以让 .mixin 根据不同的 @switch 值而表现各异: 此时,在调用 .mixin 时:如果 @switch 设为 light,就会得到浅色;如果 @switch 设为 dark,就会得到 ...
分类:
其他好文 时间:
2017-11-28 11:49:58
阅读次数:
183
--第十三章 元表与元方法Lua中每个值都有一个表。table和userdata可以有各自独立的元表,其他类型的值共享一个元表。Lua中只能设置table的元表。若要设置其他类型的值的元表,则必须通过C代码来完成。 --13.1算数类型的元方法 除了__add、__mul外,还有__sub、__di ...
分类:
其他好文 时间:
2017-11-26 15:57:43
阅读次数:
178