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
{ | |
"name" : "Edit", | |
"icon_uri" : "https://upload.wikimedia.org/wikipedia/commons/3/30/Page_white_edit.png" | |
} |
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
#!/bin/bash | |
# | |
# git-svn-diff originally by (http://mojodna.net/2009/02/24/my-work-git-workflow.html) | |
# modified by mike@mikepearce.net | |
# modified by aconway@[redacted] - handle diffs that introduce new files | |
# | |
# Generate an SVN-compatible diff against the tip of the tracking branch | |
# Get the tracking branch (if we're on a branch) | |
TRACKING_BRANCH=`git svn info | grep URL | sed -e 's/.*\/branches\///'` |
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
import scala.collection.immutable.List | |
import spark.SparkContext._ | |
import spark.streaming._ | |
import spark.streaming.StreamingContext._ | |
import spark.streaming.dstream._ | |
object DataStream extends App { | |
val reportHeader = """---------------------------------------------- |
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
import co.freeside.betamax.TapeMode | |
import co.freeside.betamax.Recorder | |
import co.freeside.betamax.proxy.jetty.ProxyServer | |
trait Betamax extends Wrapped{ | |
def betamax(tape: String, mode: Option[TapeMode] = None)(testFun: => Unit) = { | |
println("Starting Betamax") | |
val recorder = new Recorder | |
val proxyServer = new ProxyServer(recorder) |