Skip to content

Instantly share code, notes, and snippets.

Avatar
🕷️

Crosson David dacr

🕷️
View GitHub Profile
@dacr
dacr / zio-learning-streams-4-find.sc
Created Nov 28, 2021
ZIO learning - playing with streams - find files / published by https://github.com/dacr/code-examples-manager #5d6e5df8-c059-4fe5-a1a2-a9a8233f601a/403bc6642b261404153217253f05658d9dab266e
View zio-learning-streams-4-find.sc
// summary : ZIO learning - playing with streams - find files
// keywords : scala, zio, learning, streams, find, regex
// publish : gist
// authors : zio
// license : Apache
// id : 5d6e5df8-c059-4fe5-a1a2-a9a8233f601a
// created-on : 2021-11-28T17:58:10+01:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $scriptFile
@dacr
dacr / cemtool.sc
Last active Nov 28, 2021
CEM tools - enhancing my zio knowledge while writing useful stuff / published by https://github.com/dacr/code-examples-manager #63541d6f-32ff-4c6d-be2e-d69a0358ae9d/b12c8868f0feb07a29510439e606133de862aab5
View cemtool.sc
// summary : CEM tools - enhancing my zio knowledge while writing useful stuff
// keywords : scala, cem, examples, zio
// publish : gist
// authors : David Crosson
// license : Apache
// id : 63541d6f-32ff-4c6d-be2e-d69a0358ae9d
// created-on : 2021-11-27T11:32:18+01:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $scriptFile
@dacr
dacr / ssl.md
Created Nov 23, 2021
ssl cheat sheet / published by https://github.com/dacr/code-examples-manager #56f9bb34-87e3-4d13-ba10-8cf7d21456b6/ae05e20449c2b1ebd661968c99625cdad7bd0af2
View ssl.md

ssl cheat sheet

@dacr
dacr / tapir-hello-world-4.sc
Created Nov 22, 2021
hello world http server (vertx based) using tapir with swagger documentation / published by https://github.com/dacr/code-examples-manager #859dd278-983f-4f5d-9d9c-0be7f624703c/8c52669a0432bbda219584917e2c60488f5f41fa
View tapir-hello-world-4.sc
// summary : hello world http server (vertx based) using tapir with swagger documentation
// keywords : scala, zio, tapir, http, vertx, swagger, endpoints
// publish : gist
// authors : David Crosson
// license : Apache
// id : 859dd278-983f-4f5d-9d9c-0be7f624703c
// created-on : 2021-11-22T13:02:43+01:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $scriptFile
@dacr
dacr / tapir-hello-world-1.sc
Last active Nov 22, 2021
hello world http server (zhttp zio based) using tapir / published by https://github.com/dacr/code-examples-manager #fd3e1ee8-afe4-4c3d-a9fe-5e0f16a985ad/a21a3d30063269da6b3d4f004194ca88523fd65
View tapir-hello-world-1.sc
// summary : hello world http server (zhttp zio based) using tapir
// keywords : scala, zio, tapir, http, zhttp, endpoints
// publish : gist
// authors : David Crosson
// license : Apache
// id : fd3e1ee8-afe4-4c3d-a9fe-5e0f16a985ad
// created-on : 2021-11-20T13:51:35+01:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $scriptFile
@dacr
dacr / tapir-hello-world-3.sc
Last active Nov 23, 2021
hello world http server (zhttp zio based) using tapir with swagger documentation / published by https://github.com/dacr/code-examples-manager #6352725e-e1c3-4647-9f82-75fa0f80c9f3/242702c3bdde56b25fca42e51f03fab483fcad9a
View tapir-hello-world-3.sc
// summary : hello world http server (zhttp zio based) using tapir with swagger documentation
// keywords : scala, zio, tapir, http, zhttp, swagger, endpoints
// publish : gist
// authors : David Crosson
// license : Apache
// id : 6352725e-e1c3-4647-9f82-75fa0f80c9f3
// created-on : 2021-11-21T08:39:28+01:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $scriptFile
@dacr
dacr / tapir-hello-world-2.sc
Last active Nov 22, 2021
parameterized hello world http server (zhttp zio based) using tapir / published by https://github.com/dacr/code-examples-manager #c833c2a8-4fa9-4204-8b4d-c1233b608434/fdc7942eb0aa0ed7602d2c3161e9c48c30b6e661
View tapir-hello-world-2.sc
// summary : parameterized hello world http server (zhttp zio based) using tapir
// keywords : scala, zio, tapir, http, zhttp, endpoints
// publish : gist
// authors : David Crosson
// license : Apache
// id : c833c2a8-4fa9-4204-8b4d-c1233b608434
// created-on : 2021-11-20T15:01:58+01:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $scriptFile
@dacr
dacr / regex-operations.sc
Created Nov 19, 2021
Advanced operations on strings with regular expressions / published by https://github.com/dacr/code-examples-manager #41e3e12c-dbbf-4f43-9c4b-5cf05869dffa/f7a8190b54059f69725b6265379f6b13b718949e
View regex-operations.sc
// summary : Advanced operations on strings with regular expressions
// keywords : scala, scalatest, regex, cheatsheet, @testable
// publish : gist
// authors : David Crosson
// license : Apache2
// id : 41e3e12c-dbbf-4f43-9c4b-5cf05869dffa
// created-on : 2021-11-19T07:29:40+01:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : cs launch com.lihaoyi:::ammonite:2.4.1 -M ammonite.Main -- $scriptFile
@dacr
dacr / scala3-feature-trait-parameters.scala
Created Nov 17, 2021
scala3 feature examples - trait parameters / published by https://github.com/dacr/code-examples-manager #9ddc2563-f5a4-461f-b137-8d57c3be914a/40957e062c36818b3a34c80ca18ccd0a92d8f9d1
View scala3-feature-trait-parameters.scala
// summary : scala3 feature examples - trait parameters
// keywords : scala3, tutorial, @testable
// publish : gist
// authors : David Crosson
// license : Apache2
// id : 9ddc2563-f5a4-461f-b137-8d57c3be914a
// created-on : 2021-11-17T18:46:03+01:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $scriptFile
@dacr
dacr / scala3-feature-extension-methods.scala
Last active Nov 15, 2021
scala3 feature examples - using extension methods / published by https://github.com/dacr/code-examples-manager #d956f95d-7271-492d-be99-f0b63d89a79e/437a59cdc77e07884c1891f8c057fb7027ae2571
View scala3-feature-extension-methods.scala
// summary : scala3 feature examples - using extension methods
// keywords : scala3, tutorial
// publish : gist
// authors : David Crosson
// license : Apache2
// id : d956f95d-7271-492d-be99-f0b63d89a79e
// created-on : 2021-11-15T20:12:08+01:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $scriptFile