Skip to content

Instantly share code, notes, and snippets.

View mrcmatuszak's full-sized avatar

37e433697f0fe31d286a39a76cc0abf9ba78c227d3fa4c7ed4f4bbc724317de8 mrcmatuszak

View GitHub Profile

Keybase proof

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:

@mrcmatuszak
mrcmatuszak / aws-certification.md
Last active October 20, 2017 11:51 — forked from miglen/aws-certification.md
AWS Certification guide and notes on how to prepare for the aws associate certification architect, sysops and developer exams


AWS Certification notes

Those are my personal notes on AWS Solution Architect certification preparation. Hope you find them usefull.

To pass AWS certification, you should have:

  • Sound knowledge about most of the AWS services ( EC2, VPC, RDS, Cloudfront, S3, Route53 etc,)
  • Hands on experience with AWS services.
@mrcmatuszak
mrcmatuszak / README.md
Created September 12, 2017 07:33 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


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


@mrcmatuszak
mrcmatuszak / error.log
Last active July 19, 2017 11:51
Illegal GraphDSL usage
[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ą)

Advanced Functional Programming with Scala - Notes

Copyright © 2017 Fantasyland Institute of Learning. All rights reserved.

1. Mastering Functions

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
@mrcmatuszak
mrcmatuszak / springer-free-maths-books.md
Created January 6, 2016 11:51 — forked from bishboria/springer-free-maths-books.md
Springer made a bunch of books available for free, these were the direct links