首先部署Spring框架I:需要加入的jar包: Spring核心包 org.springframework.asm-3.1.1.RELEASE.jar org.springframework.beans-3.1.1.RELEASE.jar ...
分类:
其他好文 时间:
2015-04-07 15:34:18
阅读次数:
165
1 2 3 4 5 css-keyframes 6 7 8 9 10 11 1 @-webkit-keyframes move{ //定义名为move的动画函数 目前chrome对其支持较好 所以加-webkit-前缀 2 0%{ ...
分类:
其他好文 时间:
2015-04-06 20:14:58
阅读次数:
117
一:unique Path
题目:
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 i...
分类:
其他好文 时间:
2015-04-06 17:21:59
阅读次数:
251
1.新建工程的过程不变,选对芯片,只不过是在新建文件的时候是.asm后缀2.编写汇编程序完成后,将其放到文件夹中,然后再工程上右击,生成Hex文件3.然后按debug按钮4.单步执行(step按钮),可以在右侧看到psw,r0-r7,a,b,pc等的变化,可以选择右下角的memory选项卡,在add...
分类:
其他好文 时间:
2015-04-06 16:55:00
阅读次数:
348
1,move命令:m 13将当前光标所在的行移动到13行后面:m 0降当前光标所在的行移动到第一行前面:m $降当前贯标所在的行移动到最后一行后面:5,7 m 15将第5,6,7行移动到15行后面:5,7 m 0将第5,6,7行移动到第一行前面:5,7 m $将第5,6,7行移动到最后一行后面:.,...
分类:
系统相关 时间:
2015-04-06 15:25:18
阅读次数:
154
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 either down or right ...
分类:
其他好文 时间:
2015-04-06 12:53:23
阅读次数:
132
目标:开发汇编编译器,将Hack汇编语言编写成的程序翻译成Hach硬件平台能够理解的二进制代码。
分析:本章的本质就是文本处理,将给定的.asm文本根据给定的规则映射为.hack二进制文件。
我们先分析.asm文件,一行可以是一下几种情况:
1)指令:又分为A-指令,C-指令。
2)常数和符号:常数还好解决,用户自定义的符号,还得为其分配内存。
3)注释:以"//"开头的被认为是...
分类:
其他好文 时间:
2015-04-06 08:52:32
阅读次数:
122
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
在相应的test.c中添加getpid和getpid-asm的函数,使Menu实现getpid和getpid-asm的命令。添加完成后,修改menu目录下的Makefile文件中的 qemu -kernel linux-3.18.6/arch/x86/boot/bzImage -initrd roo...
分类:
系统相关 时间:
2015-04-05 20:28:55
阅读次数:
254