- Install IntelliJ + Scala Plugin
- Don’t do the Coursera courses yet.
- Don’t do the “red book” Functional Programming in Scala yet.
- Do: http://underscore.io/books/
- Essential Scala
- Essential Play
- Essential Slick
- Do Scala for the Impatient: https://www.amazon.com/Scala-Impatient-Cay-S-Horstmann/dp/0321774094
- The Neophyte’s Guide to Scala http://danielwestheide.com/scala/neophytes.html
This file contains hidden or 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
const express = require("express") | |
const app = express() | |
const { Pool } = require("pg") | |
const SphericalMercator = require("sphericalmercator") | |
const pool = new Pool({ | |
host: "localhost", | |
port: 15432, | |
user: "postgres", | |
database: "postgres" | |
}) |
Edit: This list is now maintained in the rust-anthology repo.
This file contains hidden or 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
/** | |
Copy left Alexander Hasselbach | |
Usage: | |
val E = b.add(splitEither[Throwable,Int]) | |
val parsed = b.add(Flow[Either[Throwable,Int]]) | |
val valids = b.add(Flow[Int]) | |
val invalids = b.add(Flow[Throwable]) | |
This file contains hidden or 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
resource "aws_iam_instance_profile" "beanstalk_service" { | |
name = "beanstalk-service-user" | |
roles = ["${aws_iam_role.beanstalk_service.name}"] | |
} | |
resource "aws_iam_instance_profile" "beanstalk_ec2" { | |
name = "beanstalk-ec2-user" | |
roles = ["${aws_iam_role.beanstalk_ec2.name}"] | |
} |
Links on Must watch talks
-
A Year living Freely - Chris Myers
-
Programs as Values Pure Composable Database Access in Scala. In general each talk from Rob Norris is very useful for learning.
This file contains hidden or 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 sangria.ast | |
import sangria.execution.Executor | |
import sangria.marshalling.{InputUnmarshaller, ScalarValueInfo, ArrayMapBuilder, ResultMarshaller} | |
import sangria.schema._ | |
import sangria.validation.{ValueCoercionViolation, IntCoercionViolation, BigIntCoercionViolation} | |
import spray.json._ | |
import sangria.macros._ | |
import scala.concurrent.ExecutionContext.Implicits.global | |
implicit object CustomSprayJsonResultMarshaller extends ResultMarshaller { |
An experimental change for fast Clojure REPL startup:
- Download the JAR: clojure-1.8.0-fast.jar
- Launch it via
java -jar clojure-1.8.0-fast.jar
The code used to create this JAR is on GitHub.
What's it doing?
It is: