一、标题:COOKIE之安全设置漫谈副标:httponly属性和secure属性解析二、引言经常有看到XSS跨站脚本攻击窃取cookie案例,修复方案是有httponly。今天写出来倒腾下...2.1首先必须的预备cookie知识。假如你第一次认识cookie,请先阅读我的这篇文章:>三、Cooki...
分类:
其他好文 时间:
2014-06-06 11:47:16
阅读次数:
368
现在苹果已经放出了OS X 10.9 Mavericks第一个开发者预览版,从Mac App
Store中获得的安装程序,可以在10.8的系统中直接进行升级,原有文件都会保留。但是要想制作成一个10.9的安装U盘,那么可就没有之前10.7和10.8那么简单了,这次苹果不让人直接制作那么简单了。当然,...
分类:
其他好文 时间:
2014-06-05 21:34:01
阅读次数:
285
As far as I know, SharedPreferences allow us to
store some simple data in a named area in our phone. Introduction to the uses of
SharedPreferences is ...
分类:
移动开发 时间:
2014-06-05 14:07:21
阅读次数:
390
redis cluster practice1. create three instance
folder: 9001,9002,9003,folder name as redis instance port2.Store configuration
files redis-server, redi...
分类:
其他好文 时间:
2014-06-03 17:02:51
阅读次数:
474
效果很不错的画笔App,提供几十种不同的画笔,包括毛笔画笔。拥有绘画App的一些基本功能,包括颜色选择、绘画保存,支持撤销(undo)、重做(redo)以及橡皮擦功能等等,甚至还支持类似PhotoShop图层(layer)的功能(如第二张效果图)。说明:应用的App
Store地址:https://...
分类:
移动开发 时间:
2014-06-03 16:12:14
阅读次数:
285
Swift is a multi-tenant, highly scalable and
durable object storage system that was designed to store large amounts of
unstructured data at low cost v...
分类:
移动开发 时间:
2014-06-03 15:50:12
阅读次数:
369
.android_secure
是官方app2sd的产物,删了之后装到sd卡中的软件就无法使用了。里面有非常多.asec的文件,都是装到SD卡上的软件,可是一般装到sd卡中的程序被卸载了.android_secure
目录中还会存在,全部当知道那个asec文件相应那个软件后把没不是必需的文件删除吧....
分类:
移动开发 时间:
2014-06-02 10:24:32
阅读次数:
362
【AES】
一种对称加密算法,DES的取代者。
加密相关文章见:
【代码】
代码比较多,有一部分非本文章内容代码,具体自己看吧。
package com.uikoo9.util.encrypt;
import java.math.BigInteger;
import java.security.MessageDigest;
import java.security.Secure...
分类:
编程语言 时间:
2014-06-02 04:49:21
阅读次数:
426
【题目】
Given n, how many structurally unique BST's (binary search trees) that store values 1...n?
For example,
Given n = 3, there are a total of 5 unique BST's.
1 3 3 2 1
\ / / / \ 3 2 1 ...
分类:
其他好文 时间:
2014-06-01 15:34:24
阅读次数:
231
【题目】
Given n, generate all structurally unique BST's (binary search trees) that store values 1...n.
For example,
Given n = 3, your program should return all 5 unique BST's shown below.
1 3 3 2 1
\ / / / \ ...
分类:
其他好文 时间:
2014-06-01 15:33:45
阅读次数:
297