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
#include <SoftwareSerial.h> | |
SoftwareSerial mySerial(3, 4); | |
void setup() { |
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
scalaVersion := "2.11.8" | |
name := "datacrunch" | |
val sparkV = "1.6.1" | |
libraryDependencies ++= Seq( |
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.cym_iot.training.testspark16 | |
import org.apache.spark.rdd.RDD | |
import org.apache.spark.sql.catalyst.encoders.ExpressionEncoder | |
import org.apache.spark.sql.{Dataset, Encoder, SQLContext} | |
import org.apache.spark.{SparkConf, SparkContext} | |
import shapeless.tag | |
import shapeless.tag.@@ | |
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
{ "hash": "2b981d4db4f698bcea7266b0bf68bfb4", | |
"schema": | |
{ "type":"record", | |
"name":"schemaCreated", | |
"namespace":"com.cym_iot.model", | |
"fields":[ | |
{"name":"hash","type":{"type":"string", "logicalType":"hex/md5"}}, | |
{"name":"schema","type":"avroSchema"}]}} |
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
case class Result[+T](nominal: Option[T], | |
annotations: Vector[Annotation]) | |
// eg: userid=123 => QId("user",123) | |
case class QId(idFieldname: String, | |
value: String) | |
case class Anchor(path: String @@ AnchorPath, |
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
ai | |
aie | |
aient | |
aies | |
ait | |
as | |
au | |
aura | |
aurai | |
auraient |
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 java.util.Date | |
import org.apache.spark._ | |
import org.apache.spark.sql.{DataFrame, SQLContext} | |
import shapeless.tag.@@ | |
import scala.collection.immutable.Range.Inclusive | |
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 psug.part0 | |
import scala.language.higherKinds | |
class Part0 { | |
/** | |
* HELLO PSUG !!! | |
* | |
* MY NAME IS AHOY-JON |
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 shapeless.contrib.scalaz.Sequencer | |
import shapeless.labelled._ | |
import shapeless.ops.hlist.Mapper | |
import shapeless.syntax.singleton._ | |
import shapeless._ | |
import scala.language.higherKinds | |
import scalaz.{Apply, Applicative, Functor} |
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
lazy val macros = project.in(file("macros")) | |
lazy val root = project.in(file(".")).dependsOn(macros) |