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
| UKC02RC6G4G8WN:zio-fabs-fork fse05$ git log -1 | |
| commit 18a433c53e4382d2c316bfec839f5874aa893405 (HEAD -> master, upstream/master, origin/master, origin/HEAD) | |
| Author: Fabio Serragnoli <fabio@serragnoli.com> | |
| Date: Sun Nov 10 18:30:38 2019 +0000 | |
| Add .DS_Store to .gitignore (#2204) | |
| UKC02RC6G4G8WN:zio-fabs-fork fse05$ | |
| UKC02RC6G4G8WN:zio-fabs-fork fse05$ | |
| UKC02RC6G4G8WN:zio-fabs-fork fse05$ | |
| UKC02RC6G4G8WN:zio-fabs-fork fse05$ |
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 akka.actor.ActorSystem | |
| import akka.http.scaladsl.Http | |
| import akka.http.scaladsl.model._ | |
| import akka.http.scaladsl.server.Directives._ | |
| import akka.stream.ActorMaterializer | |
| import zio._ | |
| import zio.console._ | |
| import scala.concurrent.ExecutionContextExecutor | |
| import scala.io.StdIn |
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
| case class TreeNode(left: Option[TreeNode], value: Int, right: Option[TreeNode]) | |
| object TreeNode { | |
| def empty: TreeNode = TreeNode(None, 0, None) | |
| } | |
| case class Tree(rootNode: TreeNode) { | |
| def add(valToAdd: Int): Tree = { | |
| def addRec(recValToAdd: Int, recCurrNode: TreeNode): TreeNode = { | |
| recCurrNode match { |
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
| user www-data; | |
| worker_processes 5; | |
| pid /var/run/nginx.pid; | |
| worker_rlimit_nofile 8192; | |
| events { | |
| worker_connections 4096; | |
| } | |
| http { |
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
| --- | |
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: tutum-deployment | |
| labels: | |
| app: tutum | |
| spec: | |
| replicas: 3 | |
| selector: |
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
| --- | |
| - hosts: localhost | |
| tasks: | |
| - name: Create a k8s namespace | |
| k8s: | |
| name: testing | |
| api_version: v1 | |
| kind: Namespace | |
| state: present | |
| - name: Create a Service object from an inline definition |