This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.mehalter | |
import twitter4j._ | |
object StatusStreamer { | |
def main(args: Array[String]): Unit = { | |
val twitterStream = new TwitterStreamFactory(Util.config).getInstance | |
twitterStream.addListener(Util.simpleStatusListener) | |
val austinBox = Array(Array(-97.8, 30.25), Array(-97.65, 30.35)) | |
//twitterStream.sample //sample of tweets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.mehalter | |
import scala.util.Random | |
import scalaz.stream._ | |
import scalaz.concurrent.Task | |
object mergeSort { | |
def main(args: Array[String]): Unit = { | |
val a: List[Int] = Random.shuffle((1 to 100).toList) |
NewerOlder