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
Follow up for H-Index: What if the citations array is sorted in ascending order? Could you optimize your algorithm?Hint:Expected runtime complexity is...
分类:
其他好文 时间:
2015-09-05 06:38:47
阅读次数:
285
H-Index IIFollow upforH-Index: What if thecitationsarray is sorted in ascending order? Could you optimize your algorithm?Hint:Expected runtime complex...
分类:
编程语言 时间:
2015-09-05 06:31:38
阅读次数:
164
在工程头文件中引用头文件 #include <queue> 莫名奇妙出错,其原因很可能是由于头文件引用问题。 include/c++/4.7.1/bits/stl_vector.h:1308:40:?error:?expected?unqualified-id?before?‘(’?token
/lib/...
分类:
其他好文 时间:
2015-09-04 18:42:07
阅读次数:
366
For iOS, tabs will appear at the bottom of the screen. For Android, tabs will be at the top of the screen, below the nav-bar. This follows each OS‘s design specification, but can be configured with...
分类:
移动开发 时间:
2015-09-04 11:12:26
阅读次数:
188
因为文件上传这样的工作一般来说是开发人员自定的,所以Spring默认是不处理multipart请求的。但Spring为multipart做了些通用的支持性工作。Form元素Form元素的enctype必须是multipart/form-data。ConfigurationMultipartResolver处理multipart请求需要一个MultipartResolver:bean id="mul...
分类:
编程语言 时间:
2015-09-02 15:59:02
阅读次数:
216
如果在logcat日志中出现以下错误:
java.lang.IllegalStateException: The application's PagerAdapter changed the adapter's contents without calling PagerAdapter#notifyDataSetChanged!
Expected adapter item count: 0,...
分类:
移动开发 时间:
2015-08-30 14:24:48
阅读次数:
557
github虽说挺好用,但对于新手来说,还是个噩梦,比如说对我- - ,搞得乱七八糟,还把之前用来爬微博数据的爬虫给搞没了
这个问题是在Myeclispe 中,右键项目 team 选择pull时报错的,国内很多人都有各自乱七八糟的解答,没几个能用的
在Stackoverflow找到了答案,原题地址 http://stackoverflow.com/questions/88206...
分类:
其他好文 时间:
2015-08-29 23:25:43
阅读次数:
442
今天在myeclipse中建立虚拟目录的时候不小心物理路径中出现了中文,出现了服务器无法启动的问题
所以编码过程中涉及路径的最好不要出现中文,在将文件上传到服务器过程中被编码的话就无法将文件正常写到磁盘。...
分类:
其他好文 时间:
2015-08-29 21:41:27
阅读次数:
416
J2se的安装过程非常简单,跟安装软件一样,双击然后下一步直到最后。在这个过程中要注意的是一定要记住软件的安装路径,方便后面的查找。
第一步:在你想要的地方新建一个.txt的文本文件,保存为HelloWorld.java文件。在文件中编写代码:
Public Class HelloWorld
{
Publicstatic void main(String [] arg...
分类:
其他好文 时间:
2015-08-29 12:40:45
阅读次数:
191