I hereby claim:
- I am mrcmatuszak on github.
- I am marcinmatuszak (https://keybase.io/marcinmatuszak) on keybase.
- I have a public key ASCoPMVIXZEaA2axTWsq32kcTtqNONY0XI98eMzOa4zAHQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Those are my personal notes on AWS Solution Architect certification preparation. Hope you find them usefull.
To pass AWS certification, you should have:
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.
For more about AWS and AWS Certifications and updates to this Gist you should follow me @leonardofed
| [error] (run-main-0) java.lang.IllegalStateException: Illegal GraphDSL usage. Inlets [GraphStages$Identity$.in] were not returned in the resulting shape and not connected. Outlets [Collect.out, Map.out] were not returned in the resulting shape and not connected. | |
| java.lang.IllegalStateException: Illegal GraphDSL usage. Inlets [GraphStages$Identity$.in] were not returned in the resulting shape and not connected. Outlets [Collect.out, Map.out] were not returned in the resulting shape and not connected. | |
| at akka.stream.scaladsl.GraphDSL$Builder.result(Graph.scala:1163) | |
| at akka.stream.scaladsl.GraphApply.createGraph(GraphApply.scala:539) | |
| at akka.stream.scaladsl.GraphApply.create(GraphApply.scala:19) | |
| at akka.stream.scaladsl.GraphApply.create$(GraphApply.scala:15) | |
| at akka.stream.scaladsl.GraphDSL$.create(Graph.scala:1036) | |
| at Main2$.delayedEndpoint$com$ryanair$bi$ngmcs$Main2$1(App.scala:91) | |
| at Main2$delayedInit$body.apply(App.scala:22) | |
| at scala.Function0.apply$mcV$sp(Function0.scala:34) |
| case class User(id: Long, name: String) | |
| /** | |
| Następujący scenariusz | |
| UserService zależy od UserRepository. UserRepository wyciąga dane np z bazy. | |
| Kilka przypadków | |
| 1. UserService zależy bezpośrednio od UserRepository (który jest klasą) |
Copyright © 2017 Fantasyland Institute of Learning. All rights reserved.
A function is a mapping from one set, called a domain, to another set, called the codomain. A function associates every element in the domain with exactly one element in the codomain. In Scala, both domain and codomain are types.
val square : Int => Int = x => x * x| object Counter { | |
| type CounterState = State[Int, Int] | |
| } | |
| trait Counter { | |
| import Counter._ | |
| def inc: CounterState = State { s => (s + 1, s + 1) } | |
| } | |
| trait Service { |
| package main | |
| import cats.data.State | |
| object Example { | |
| type CounterState = State[Int, Unit] | |
| def inc: CounterState = State { s => (s + 1, ()) } | |
| def dec: CounterState = State { s => (s - 1, ()) } |
| package test | |
| import shapeless.{HNil, Poly1} | |
| object Main extends App { | |
| sealed trait Product { | |
| def name: String | |
| def unitPrice: BigDecimal |