Skip to content

Instantly share code, notes, and snippets.

Micah Halter mehalter

Block or report user

Report or block mehalter

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View cVimrc.vim
let defaultengine = "duckduckgo"
map <C-d> scrollPageDown
map <C-u> scrollPageUp
View keybase.md

Keybase proof

I hereby claim:

  • I am mehalter on github.
  • I am mehalter (https://keybase.io/mehalter) on keybase.
  • I have a public key ASAk9QNnRRY7H-PiMfxVz-rZJ__9itVtXSxzJUrvJzREMAo

To claim this, I am signing this object:

@mehalter
mehalter / StatusStreamer.scala
Last active Apr 5, 2016
Twitter status streamer
View StatusStreamer.scala
package com.mehalter
import twitter4j._
import scalaz.concurrent.Task
import scalaz.stream.{async, Process, io}
object StatusStreamer {
def main(args: Array[String]): Unit = {
val twitterStream = new TwitterStreamFactory(Util.config).getInstance
@mehalter
mehalter / matrix.scala
Last active Apr 5, 2016
Matrix parallel processing
View matrix.scala
package com.mehalter
import java.util.concurrent.Executors
import scala.annotation.tailrec
import scalaz.concurrent.{Strategy, Task}
import scalaz.stream._
object matrix {
def main(args: Array[String]): Unit = {
View StatusStreamer.scala
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
View mergeSort.scala
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)
You can’t perform that action at this time.