Auth: jinDate:
20140520参考:http://www.redis.cn/article.html官网:http://redis.io/一、源码安装1.create
basedirmkdir -p /data/redismkdir -p /usr/local/redis/binmk...
分类:
其他好文 时间:
2014-05-21 21:54:30
阅读次数:
700
Reverse a linked list from positionmton. Do it
in-place and in one-pass.For example:Given1->2->3->4->5->NULL,m=
2 andn= 4,return1->4->3->2->5->NULL.No...
分类:
其他好文 时间:
2014-05-21 19:08:08
阅读次数:
195
Iptables防火墙配置
安装防火墙
sudo apt-get install iptables
查看状态
sudo iptables --list
sudo iptables -A OUTPUT -p tcp --dport 80 -j DROP
浏览器不能上网
清除防火墙设置
Sudo iptables -F
Sudo iptables -D OUTPUT...
分类:
其他好文 时间:
2014-05-21 16:18:12
阅读次数:
316
1. 准备2. 语法和语义3. 为我们的游戏世界定义数据4. 环顾我们的游戏世界5. 函数式编码风格6. 环游我们的游戏世界7. 构建SPELs8. 创建特殊操作9. 附录10. 为什么没有使用”宏”这个词11. 译者感想
本文翻译自:Casting SPELs in Clojure
1 准备
任何学过Lisp的人都会说List和其它语言有很大的不同.它有很多...
分类:
其他好文 时间:
2014-05-21 15:53:25
阅读次数:
249
描述list layout item有上倒下依次显示的代码实现形式
LayoutAnimation2.java
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may no...
分类:
其他好文 时间:
2014-05-21 09:02:15
阅读次数:
250
懒人用 php + nginx + mysql + redis...
分类:
数据库 时间:
2014-05-21 08:43:16
阅读次数:
479
介绍list item倒序显示
LayoutAnimation3.java
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file e...
分类:
其他好文 时间:
2014-05-21 08:25:44
阅读次数:
278
Reverse a linked list from position m to n. Do it in-place and in one-pass.
For example:
Given 1->2->3->4->5->NULL, m = 2 and n =
4,
return 1->4->3->2->5->NULL.
Note:
Given m, n satisfy the fol...
分类:
其他好文 时间:
2014-05-21 07:18:02
阅读次数:
301
Subset
Time Limit: 30000MS
Memory Limit: 65536K
Total Submissions: 1562
Accepted: 261
Description
Given a list of N integers with absolute values no larger than 1015,...
分类:
其他好文 时间:
2014-05-21 07:16:37
阅读次数:
409