STM32F4 SPI with DMAA few people have requested code, so I thought I’d post the code showing how I’ve configured my GPIO, timer, SPI, DMA and NVIC mod...
分类:
其他好文 时间:
2015-09-09 06:13:32
阅读次数:
333
1. .elc 是 .el的编译文件,运行速度更快. Elisp source code can be byte-compile.php-mode.el >> php mode.elc 2. 加载方式a. 半路加载: M-x load file >> your file >> M-x php-mod...
分类:
系统相关 时间:
2015-09-09 01:01:57
阅读次数:
319
题目:The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integer n representing the total n...
分类:
其他好文 时间:
2015-09-08 21:54:06
阅读次数:
164
This post shares a nice explanation, which is implemented here. The code is rewritten below. 1 class Solution { 2 public: 3 string minWindow(strin...
This problem is relatively easy. The challenge is how to get a concise code. This post shares a very elegant one which traverses each cell of board on...
分类:
其他好文 时间:
2015-09-08 18:35:38
阅读次数:
127
Just don't be scared by this problem :-) It's also very standard backtracking problem. This post shares a very concise code, which is rewritten below ...
分类:
其他好文 时间:
2015-09-08 18:33:35
阅读次数:
226
一、直接按键盘(Enter)进入首页View Code二、动态效果(鼠标移到图片抖动)1、先导入脚本function JumpObj(elem, range, startFunc, endFunc) { var curMax = range = range || 6; startF...
分类:
Web程序 时间:
2015-09-08 18:08:49
阅读次数:
246
Given an integer, write a function to determine if it is a power of two.Java code:(两种方法,第二种方法很妙,用到了bit wise )第二种方法解题思路:如果一个整数是2的幂,那么它的二进制形式最高位为1,其余各位为...
分类:
其他好文 时间:
2015-09-08 09:27:51
阅读次数:
110
1.UML:统一建模语言 2.SLC:安全登陆码(Security Login Code) 3.POJO:简单的java对象,实际上就是javaBeans(实体类) 4.JNI:本地化(JVM通过在不同的系统上调用不同的JNI方法来实现java跨平台) 5.JNDI:数据库接口 6....
分类:
其他好文 时间:
2015-09-08 01:50:31
阅读次数:
213
由于有一次感觉build setting 里 code signing identity设置证书有点乱,有些已经用不到了,就想把那些删除于是我找到了所有证书的那个文件夹(进入所有证书的那个文件夹),结果脑袋抽筋把里面所有的证书都删除了。结果就悲剧了:我下载了发布证书,打包上传都没有问题,itunes...
分类:
Web程序 时间:
2015-09-08 01:39:35
阅读次数:
118