If you do much work on computers, eventually you find that there’s some task you’d like to automate. For example, you may wish to perform a search-and...
分类:
移动开发 时间:
2015-01-30 19:00:42
阅读次数:
183
出于效率等原因,最近将web框架由martini切换为了beego,其他地方都很平顺,只是两个框架的handler签名不一致,需要修改,所以耗时较长,这是预计到的。但是有一个地方没有预计到,也耗费了较多时间,那就是静态文件的服务。 用过martini的tx都知道,在mairtini中如果我们设...
分类:
其他好文 时间:
2015-01-30 15:05:42
阅读次数:
146
假设data文件夹和work文件夹并列,我的所有数据存放于data文件夹里面,我的代码存放于code文件夹里面
1、在code文件夹里面写代码获取data文件夹下所有文件
mainpath=mfilename('fullpath');
index=strfind(mainpath,'\');
mainpath=[mainpath(1:index(end-1)) 'data\']...
分类:
其他好文 时间:
2015-01-29 14:46:57
阅读次数:
252
微软近期Open的职位:Job Title: Software Development Engineer Work Location: Suzhou, ChinaThe Office 365 Core Fabric group is looking for a Software Engineer t...
分类:
其他好文 时间:
2015-01-29 07:05:54
阅读次数:
179
代码如下: 1 var folder_exists = fs.existsSync('./cache'); 2 3 if(folder_exists == true) 4 { 5 var dirList = fs.readdirSync('./cache'); 6 7 dirLi...
分类:
Web程序 时间:
2015-01-28 19:23:50
阅读次数:
14018
链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=1755
题意:Ms. Terry is a pre-school art teacher who likes to have her students work with clay. One of her assignments is to form a lump...
分类:
编程语言 时间:
2015-01-27 20:22:45
阅读次数:
310
ELM327 Buletooth/Wifi OBD2 Code Scanner is handle scan tool which can work with iPhone,iPad,Android. ELM327 support reading and clearing fault codes,d...
分类:
移动开发 时间:
2015-01-27 17:59:30
阅读次数:
306
Large sum
Problem 13
Work out the first ten digits of the sum of the following one-hundred 50-digit numbers.
37107287533902102798797998220837590246510135740250
463769376774900097126481248969...
分类:
编程语言 时间:
2015-01-27 11:11:17
阅读次数:
284
uva 10596 Morning Walk
Kamal is a Motashota guy. He has got a new job in Chittagong . So, he has moved to Chittagong from Dinajpur. He was getting fatter in Dinajpur as he had no work in his ha...
分类:
其他好文 时间:
2015-01-27 11:09:02
阅读次数:
172