- Doesn’t know the difference between Array and LinkedList
- Able to explain and use Arrays, LinkedLists, Dictionaries etc in practical programming tasks
- Knows space and time tradeoffs of the basic data structures, Arrays vs LinkedLists, ...
- Able to explain how hashtables can be implemented and can handle collisions, Priority queues and ways to implement them etc.
- Knowledge of advanced data structures like B-trees, binomial and fibonacci heaps, AVL/Red Black trees, Splay Trees, Skip Lists, tries etc
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
package com.marimon | |
case class Address(streetName: String, | |
number: Int, | |
zipCode: String, | |
city: String) | |
case class Person(name: String, | |
surname: String, | |
address: Option[Address]) |
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
package com.marimon.meetup | |
import com.marimon.meetup.providers._ | |
import com.marimon.meetup.providers.MyBookStoreProtocol.cdFormat | |
import spray.routing.SimpleRoutingApp | |
import spray.httpx.SprayJsonSupport._ | |
import com.marimon.meetup.providers.MyBookStoreProtocol._ | |
object Main extends App with SimpleRoutingApp { | |
val u2 = Group("U2", Some(List(Person("Bono"), Person("TheEdge")))) |
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
package com.marimon.meetup | |
object Naive extends App { | |
def parse(s: String): Int = s.toInt | |
def div(in: Int): Int = 16 / in | |
def sqrt(in: Int): Double = Math.sqrt(in) | |
val values = List("4", "2", "-4", "0", "asdf") |
ab -c 10 -n 1000 http://server.com/asdf?timezone=Europe/Madrid
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
package com.example.hello.api | |
import akka.NotUsed | |
import com.example.hello.api.SlackCustomIntegration.Message | |
import com.lightbend.lagom.scaladsl.api.{Descriptor, Service, ServiceCall} | |
import com.lightbend.lagom.scaladsl.api.Service._ | |
import com.lightbend.lagom.scaladsl.api.transport.Method | |
import play.api.libs.json._ | |
import play.api.libs.functional.syntax._ |
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
object $TYPE$ { | |
implicit val format: Format[$TYPE$] = Json.format | |
} |
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
# Change Dir (cd) into the branch you want to release. | |
# Set the value of "TAG='1.3.5'" to the latest tag in the branch you are releasing | |
# The script uses `git log --pretty=format:"" START_HASH..HEAD` to list all commits between the $TAG and HEAD | |
# The $TAG is converted into a HASH ID using `git show-ref --tags -d | grep "tags/$TAG^"\| awk -F\ '{print $1}'` | |
# Of the returned log messages we grep to keep only those that include "(#999)" via `grep "(#"` | |
# The output looks like: | |
# Warn when describeServices is overridden (#847) Tim Moore | |
# Fix typo (#845) Yuliana Apaza | |
# Update sbt-conductr version to 2.3.5 in docs (#843) Ignasi Marimon-Clos | |
# Travis injects values using env vars, not system props (#838) Ignasi Marimon-Clos |
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
diff --git a/framework/src/play-akka-http-server/src/main/scala/play/core/server/AkkaHttpServer.scala b/framework/src/play-akka-http-server/src/main/scala/play/core/server/AkkaHttpServer.scala | |
index d4f495c35..b5aca371b 100644 | |
--- a/framework/src/play-akka-http-server/src/main/scala/play/core/server/AkkaHttpServer.scala | |
+++ b/framework/src/play-akka-http-server/src/main/scala/play/core/server/AkkaHttpServer.scala | |
@@ -6,12 +6,13 @@ package play.core.server | |
import java.net.InetSocketAddress | |
import java.security.{ Provider, SecureRandom } | |
-import javax.net.ssl._ | |
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
trait ACompo { | |
@deprecated("foo", "1.1") | |
def foo: String | |
} | |
trait BCompo { | |
def foo: String | |
} | |
trait CCompo { | |
// @deprecated("foo", "1.1") |