上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 30 下一页
摘要: 1. SBT使用local maven repository,下载的库依然放在 ~/.m2/repository2. SBT assembly 会把依赖库打包到一个jar包,需要使用assembly相关的script3. SBT package用于编译jar包 阅读全文
posted @ 2015-11-12 13:47 枪侠 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 随着web2.0的兴起,ajax的时代已经成为了事实,更如今 Knockout,backbone, angular,ember前端MDV(model driver view)框架强势而来,Single Page Application已经为大家所熟悉了。如今常见的SPA程序,restfull和前端M... 阅读全文
posted @ 2015-11-10 17:11 枪侠 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 问题导读:1.什么是sbt?2.sbt项目环境如何建立?3.如何使用sbt编译打包scala?【sbt介绍sbt是一个代码编译工具,是scala界的mvn,可以编译scala,java等,需要java1.6以上。sbt项目环境建立sbt编译需要固定的目录格式,并且需要联网,sbt会将依赖的jar包下... 阅读全文
posted @ 2015-11-10 15:40 枪侠 阅读(317) 评论(0) 推荐(0) 编辑
摘要: SPark:Dstream (Discretized Stream) : stream通过按时间段离散成多个RDD (Resilient Distributed Dataset)集合Transformations:把一个RDD集合转换成另一个RDD集合,是lazy的Actions:真正的操作 阅读全文
posted @ 2015-11-10 15:39 枪侠 阅读(172) 评论(0) 推荐(0) 编辑
摘要: np - new sbt project generation made simple(r)As pointed out in the comments by @0__ below, there's another project that aims at simplifying how new p... 阅读全文
posted @ 2015-11-10 15:00 枪侠 阅读(323) 评论(0) 推荐(0) 编辑
摘要: 1. 模块化,是要做好对象在内存中的数据存储,方便被使用。如果大部分对象只是做操作,不保留数据,会很难用。 阅读全文
posted @ 2015-11-06 16:08 枪侠 阅读(164) 评论(0) 推荐(0) 编辑
摘要: Python自带的pdb库,发现用pdb来调试程序还是很方便的,当然了,什么远程调试,多线程之类,pdb是搞不定的。用pdb调试有多种方式可选:1. 命令行启动目标程序,加上-m参数,这样调用myscript.py的话断点就是程序的执行第一行之前python -m pdb myscript.py2.... 阅读全文
posted @ 2015-11-05 17:30 枪侠 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 1. 使用目录管理sys.path.append(sys.argv[0][:sys.argv[0].rfind('com'+os.sep+'abc')])from com.abc.libs import xxx将目录的路径加入到path里2. disable 打印sys.stdout = open(... 阅读全文
posted @ 2015-11-05 15:00 枪侠 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 参考:许晓斌的《Maven实战》镜像是为了提供更快的服务如图:X就认为是Y的一个镜像。编辑settings.xml配置中央仓库镜像:[html] view plaincopyprint?...maven.net.cnoneofthecentralmirrorsinchinahttp://maven.... 阅读全文
posted @ 2015-11-04 17:17 枪侠 阅读(225) 评论(0) 推荐(0) 编辑
摘要: Zipline:Zip Surgical Skin Closure, manufactured and submitted by ZipLine Medical Inc. (Campbell, CA). Zip is a noninvasive skin closure alternative to... 阅读全文
posted @ 2015-11-04 14:57 枪侠 阅读(154) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 30 下一页