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
FROM postgres:9.6-alpine | |
LABEL version="9.6" | |
LABEL author="[email protected]" | |
RUN apk update && apk upgrade --available | |
RUN apk add build-base git postgresql-dev | |
ENV POSTGRES_VERSION=9.6 |
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 Person(name: String) | |
case class Alias(name: String) | |
case class PersonWithAliases(p: Person, aliases: List[Alias]) | |
/* | |
do some merging magic of Person with Alias to produce: |
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 List | |
import Set | |
import Html exposing (text) | |
type Suit = Hearts | Spades | Clubs | Diamonds | |
type Value = Two | Three | Four | Five | Six | Seven | Eight | Nine | | |
Ten | Jack | Queen | King | Ace | |
type alias Card = (Suit, Value) |
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 scalaz._ | |
import Scalaz._ | |
trait Read[F] { self => | |
def read(f: String): F | |
} | |
object Read { | |
@inline def apply[F](implicit F: Read[F]): Read[F] = F | |
} |
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
github.com/onsi/ginkgo/ginkgo | |
github.com/onsi/ginkgo |
- Why React
- Rethinking best practices - video
- Rebuilding HipChat
- Flux
- ReactJS for Stupid People - Hah!
- Why React is Awesome - by James Longster, a buddy of mine who's crazy good.
- React Native
Read sections in order:
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
scala> val x: Option[String] = Option[String](null) | |
x: Option[String] = None | |
scala> x.isDefined | |
res0: Boolean = false | |
scala> x.getOrElse("foo") | |
res1: String = foo | |
scala> x.map(_.length) |
http://learnxinyminutes.com/docs/go/ - Brief Overview
https://tour.golang.org/welcome/1 - Interactive Tour
https://gobyexample.com/ - Great examples via idiomatic Go
http://www.golangbootcamp.com/book - More in depth
NewerOlder