题意: 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
开发web应用时,有时更新了类却没有生效,事实上是由于jboss/tomcat中其它公布包下有同名类(包含全路径都同样)。于是萌发了做个程序来检查指定文件夹是否存在反复类(通过asm从类文件里取类的全路径),扩展开来,还支持查找反复的文件(按文件md5进行比較),反复的jar文件。主要代码例如以下:...
分类:
编程语言 时间:
2015-04-04 16:39:53
阅读次数:
196
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
一、cg的关键字与语义字关键字:asm* explicit pixelfragment* templateasm_fragment extern pixelshader* texture*au...
分类:
其他好文 时间:
2015-04-04 10:26:57
阅读次数:
110
asm("assembly code");
ansi c将asm用于其它用途,用__asm__替换
在asm后面加上 volatile可以禁止编译器优化
asm volatile ("pusha \n\tpopa");
__asm__ __volatile__ ("pushl $1\n\t");
扩展asm
asm ("asm code" : output locate :...
分类:
编程语言 时间:
2015-04-04 09:18:44
阅读次数:
144
要实现图片的缩放,首先要判断是否有两个触摸点,然后要获得两个触摸点的当前的距离,还有设置上一次两触摸点的距离。如果当前距离减去上一次的距离大于5,图片则是放大,如果上一次的距离减去当前距离大于5,图片则是缩小,caseMotionEvent.ACTION_MOVE: //移动图片 /..
分类:
其他好文 时间:
2015-04-03 19:32:46
阅读次数:
102
Rac环境: RAC版本异同:[10R2,11R1(和10类似)],11R2,12c: 目录: 10.2的ASM需要单独的目录(oracle home):rdbms home,asm home, crs home 11.2:rdbms,grid(crs+asm) ...
分类:
其他好文 时间:
2015-04-03 10:58:58
阅读次数:
143
/*
* 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