scala/akka/spark
文章平均质量分 95
yuliying
这个作者很懒,什么都没留下…
展开
-
Scala网址收藏
sbt Reference Manual — sbt Reference Manual : http://www.scala-sbt.org/0.13/docs/index.htmlAkka Documentation | Akka : http://akka.io/docs/原创 2016-11-29 10:09:33 · 414 阅读 · 0 评论 -
play framework (scala) eclipse 调试环境搭建
1.安装jdk1.8以上版本2.安装sbt 0.13.13以上版本 【可选】设置依赖库文件下载路径,方便svn共享下载的jar包。 修改sbt配置文件:[sbt安装目录]\conf\sbtconfig.txt ,在文件中添加: -Dsbt.global.base=D:/sbt -Dsbt.boot.directory=D:/sbt/boot/ -Dsbt.ivy.home=D:/sbt/...原创 2018-03-13 12:00:46 · 653 阅读 · 0 评论 -
在命令行下,如何使用JAD反编译jar文件
转自: http://blog.csdn.net/huoyin/article/details/1769137在工作中,我们经常需要对遗留系统或其他的第三方系统进行维护,如果我们没有java源文件的情况下,一般都需要将其中的jar文件进行反编译。 本文将以如何用命令来反编译一个test.jar文件为例,你可以通过简单修改并将其放入到你的批处理脚本中,进行自动化反转载 2017-12-04 01:12:00 · 3813 阅读 · 0 评论 -
在Eclipse中使用Maven构建Spring项目
转自: http://blog.csdn.net/unix21/article/details/19281793最新版的Spring需要使用Maven构建,本文讲述怎么在Eclipse构建Maven项目,以配置Spring项目为例。maven简单介绍maven是构建工具,也是构建管理工具。ant只是构建工具,因为不支持生成站点功能,只有预处理,编译,转载 2017-12-09 21:32:49 · 9527 阅读 · 3 评论 -
Scala之偏函数Partial Function
转自: http://blog.csdn.net/bluishglc/article/details/50995939本文原文出处: http://blog.csdn.net/bluishglc/article/details/50995939 严禁任何形式的转载,否则将委托CSDN官方维护权益!从使用case语句构造匿名函数谈起在Scala里,我们可以使用case语转载 2017-03-22 10:09:16 · 386 阅读 · 0 评论 -
Scala call-by-name evalutation (A Tour of Scala: Automatic Type-Dependent Closure Construction)
转自: http://www.scala-lang.org/old/node/138Scala allows parameterless function names as parameters of methods. When such a method is called, the actual parameters for parameterless function转载 2017-03-22 09:49:55 · 374 阅读 · 0 评论 -
sbt 配置 akka , spark , 创建eclipse工程
sbt运行时经常需要下载大量的jar包,默认连接到maven官网,速度通常比较慢。在`~/.sbt/`下添加一个`repositories`文件,里面内容如下:[repositories]localoschina: http://maven.oschina.net/content/groups/public/oschina-ivy:http://maven.oschina.net/c原创 2016-11-19 14:33:26 · 2176 阅读 · 0 评论 -
anonymous classes(java as well as scala)
转自: https://docs.oracle.com/javase/tutorial/java/javaOO/anonymousclasses.htmlAnonymous ClassesAnonymous classes enable you to make your code more concise. They enable you to declare a转载 2017-03-21 21:29:02 · 337 阅读 · 0 评论 -
Define Functions in Scala using Anonymous Inner Class
//转自: https://www.youtube.com/watch?v=HhqNJuDApEo//Define Functions in Scala using Anonymous Inner Class//When calling a function we indirectly invoke the apply method on the object that represent转载 2017-03-21 21:01:18 · 270 阅读 · 0 评论 -
ScalaTest User Guide
传送门: http://www.scalatest.org/user_guide转载 2017-03-21 17:11:09 · 327 阅读 · 0 评论 -
Why is the fold action necessary in Spark?
转自: http://stackoverflow.com/questions/34529953/why-is-the-fold-action-necessary-in-sparkEmpty RDDIt cannot be substituted when RDD is empty:val rdd = sc.emptyRDD[Int]rdd.reduce(_ + _转载 2017-03-18 16:33:53 · 334 阅读 · 0 评论 -
Adding .jar's to classpath (Scala)
转自: http://stackoverflow.com/questions/10077899/adding-jars-to-classpath-scalaYou need to pass both classpath paths as a single argument.Try this:$ scalac -classpath "*.jar:dependencies/*.转载 2017-03-10 16:22:29 · 791 阅读 · 0 评论 -
给Vim配置Scala语法高亮显示
第一步,执行下面这个脚本:mkdir -p ~/.vim/{ftdetect,indent,syntax} && for d in ftdetect indent syntax ; do curl -o ~/.vim/$d/scala.vim https://raw.githubusercontent.com/gchen/scala.vim/master/scala.vim; do...转载 2018-03-14 01:04:45 · 871 阅读 · 0 评论