11.redis常用命令keys*返回所有的键keysmy*模糊匹配existskey确认key是否存在delkeyexpirekeytime对现有的键设置过期时间[秒为单位]ttlkey查看过期时间,-1代表已过期move将当期数据库中的key移到其它数据库当中selectdatabase_name选择数据库movekeydatabase_namepersistkey取..
分类:
其他好文 时间:
2015-04-06 06:31:00
阅读次数:
138
linkhttp://rabbitstack.github.io/deploying-cloud-foundry-on-openstack-juno-and-xenserver-part-ii/Let's move on. We should have our OpenStack instance ...
分类:
其他好文 时间:
2015-04-05 21:43:27
阅读次数:
521
题意: https://leetcode.com/problems/unique-paths/
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).
The robot can only move either down or right at a...
分类:
其他好文 时间:
2015-04-05 17:33:39
阅读次数:
105
一 . XMOVE 系统简介 X-MOVE是作者于2010年本科四年级年启动的运动传感模拟,建模和计算的平台,已经发展到第四代。利用优秀算法和自主设计的硬件,充分发挥传感器能力,搭建起全新人机交互和动作传感解决方案,并努力实现产品级成熟度。 目前开发了以下应用: 全身动作捕捉和重现 对使命...
分类:
其他好文 时间:
2015-04-05 06:39:32
阅读次数:
188
要求示例:将文本
1234
123
12
1
转换成
1
12
123
1234命令:g/.*/mo0
或者
:g/^/mo0补充说明
原理是从第一行开始,匹配每一行,然后执行mo(move)操作移动到第0行。如此处理每一行,直到文本末行。执行完毕文本逆序化成功!...
分类:
系统相关 时间:
2015-04-04 22:42:11
阅读次数:
263
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).
The robot can only move either down or right at any point in time. The robot is trying to reach the ...
分类:
其他好文 时间:
2015-04-04 13:47:15
阅读次数:
135
要实现图片的缩放,首先要判断是否有两个触摸点,然后要获得两个触摸点的当前的距离,还有设置上一次两触摸点的距离。如果当前距离减去上一次的距离大于5,图片则是放大,如果上一次的距离减去当前距离大于5,图片则是缩小,caseMotionEvent.ACTION_MOVE: //移动图片 /..
分类:
其他好文 时间:
2015-04-03 19:32:46
阅读次数:
102
/*
* touchScroll
* param:el,evt
* evt:{start:function(){},move:function(){},end:function(){}}
*/
(function(window,document,undefined){
var hasTouch = 'ontouchstart' in window,
hasPoi...
分类:
其他好文 时间:
2015-04-02 19:01:16
阅读次数:
157
problem:
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which
minimizes the sum of all numbers along its path.
Note: You can only move e...
分类:
其他好文 时间:
2015-04-02 16:27:56
阅读次数:
131
problem:
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).
The robot can only move either down or right at any point in time. The robot is...
分类:
其他好文 时间:
2015-04-02 11:42:24
阅读次数:
188