Skip to content

Instantly share code, notes, and snippets.

@rcoder
Created August 12, 2014 20:55
Show Gist options
  • Save rcoder/e586af7471cb8dfdb92b to your computer and use it in GitHub Desktop.
Save rcoder/e586af7471cb8dfdb92b to your computer and use it in GitHub Desktop.
package com.urbanairship.unicorn.cowboy
import org.apache.spark.SparkContext
import org.apache.spark.SparkContext._
import org.apache.spark.SparkConf
import org.apache.spark.rdd.RDD
import java.util.Date
object Job {
val conf = new SparkConf().setAppName("HowdyCowboy")
val sc = new SparkContext(conf)
val cow = """ ________
< Howdy! >
--------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| || """
def main(args: Array[String]) {
println(cow)
sc.stop()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment