Add this to settings.json (cmd ,
):
{
"editor.fontFamily": "Operator Mono, Fira Code iScript, Menlo, Monaco, 'Courier New', monospace",
"editor.fontLigatures": true,
"editor.tokenColorCustomizations": {
"textMateRules": [
{
!/bin/bash | |
cd /home/hadoop/ | |
sudo apt-get install git | |
git clone https://github.com/amplab/shark.git -b branch-0.7 shark | |
#wget http://elasticmapreduce.s3.amazonaws.com/samples/spark/0.7/hive-0.9-bin.tgz | |
#wget http://elasticmapreduce.s3.amazonaws.com/samples/spark/0.7/shark-0.3-bin.tgz | |
package main | |
import ( | |
"code.google.com/p/go.net/websocket" | |
"flag" | |
"log" | |
"net/http" | |
"os" | |
) |
import akka.actor.Actor | |
import akka.actor.ActorSystem | |
import akka.agent.Agent | |
import com.typesafe.config.ConfigFactory | |
import akka.event.Logging | |
import akka.actor.Props | |
import kafka.utils.Utils | |
import java.nio.ByteBuffer | |
import unfiltered.request._ | |
import unfiltered.response._ | |
import unfiltered.netty._ | |
import unfiltered.request.uploads.netty._ | |
object App { | |
def main(a: Array[String]) { |
import kafka.api.FetchRequest | |
import kafka.consumer.SimpleConsumer | |
import kafka.message._ | |
import kafka.utils.Utils | |
import kafka.api.OffsetRequest | |
import java.io.{File, FileOutputStream} | |
import com.yammer.metrics.Instrumented | |
import com.yammer.metrics.reporting.ConsoleReporter | |
import java.util.concurrent.TimeUnit |