View Dockerfile
FROM postgres:9.6-alpine | |
LABEL version="9.6" | |
LABEL author="jpfuentes2@gmail.com" | |
RUN apk update && apk upgrade --available | |
RUN apk add build-base git postgresql-dev | |
ENV POSTGRES_VERSION=9.6 |
View json4s_ahhhh.scala
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: |
View memory.elm
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) |
View foo.scala
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 | |
} |
View Godeps
github.com/onsi/ginkgo/ginkgo | |
github.com/onsi/ginkgo |
View reactjs.md
Why / How / Intro
- 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
View blah.scala
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) |
View go.md
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