talked by Ralph Winzinger
###Microservices I
- fault-tolerant /resilient
> through docker or other container services to supoprt backup/restore/launch-up when an instance is down.
######################### | |
# .gitignore file for Xcode4 and Xcode5 Source projects | |
# | |
# Apple bugs, waiting for Apple to fix/respond: | |
# | |
# 15564624 - what does the xccheckout file in Xcode5 do? Where's the documentation? | |
# | |
# Version 2.6 | |
# For latest version, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects | |
# |
##### | |
# OS X temporary files that should never be committed | |
.DS_Store | |
*.swp | |
*.lock | |
profile | |
##### | |
# DotEnv files | |
.env |
##Requirement for HMAC secret key
package main | |
import ( | |
"github.com/graphql-go/graphql" | |
"github.com/graphql-go/handler" | |
"net/http" | |
) | |
type Todo struct { | |
ID string `json:"id"` |
Slick 3.2.0 source code generator prepend final
key word for Entity
type case class generation, this leads the issue have not been resolved since years:
https://issues.scala-lang.org/browse/SI-4440
The workaround is to create custom source code generator then override that def caseClassFinal = true
to false
instead.
Related thread:
If a type class extend or transform to GenTraversableOnce
type, then it is flattenable. But you have to write your own GenTraversableOnce
rule
import scala.language.implicitConversions
implicit def int2Traversable[T <: Any](n: T): Traversable[Any] = n match {
case x: List[Any] => x
case c => Traversable[T](c)
}