Skip to content

Instantly share code, notes, and snippets.

Avatar
🕷️

Crosson David dacr

🕷️
View GitHub Profile
@dacr
dacr / zio-learning-process-4-race.sc
Created Jul 23, 2022
ZIO learning - race several sub-command processes / published by https://github.com/dacr/code-examples-manager #56f16fa2-8f7e-4046-a2a5-bf19fcba2623/b06c905efbfb688044def4a23292a84e8000c6f9
View zio-learning-process-4-race.sc
// summary : ZIO learning - race several sub-command processes
// keywords : scala, zio, learning, process, commands, pure-functional, @testable
// publish : gist
// authors : David Crosson
// license : Apache
// id : 56f16fa2-8f7e-4046-a2a5-bf19fcba2623
// created-on : 2022-07-20T20:24:11+02:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $file
@dacr
dacr / zio-learning-sttp-client-basic-1.sc
Last active Jul 23, 2022
ZIO learning - Simplest http client using sttp / published by https://github.com/dacr/code-examples-manager #7c34fd86-2780-4a3b-9b7b-99f20c2bf9b0/acf9690b69739e86f3f4ddfdf13f0c4aadb011b9
View zio-learning-sttp-client-basic-1.sc
// summary : ZIO learning - Simplest http client using sttp
// keywords : scala, zio, learning, pure-functional, sttp, @testable
// publish : gist
// authors : David Crosson
// license : Apache
// id : 7c34fd86-2780-4a3b-9b7b-99f20c2bf9b0
// created-on : 2022-07-18T14:40:23+02:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $file
@dacr
dacr / scala-erasures.sc
Created Jul 5, 2022
Type erasure and solutions to avoid it - work in progress / published by https://github.com/dacr/code-examples-manager #b88b5c9e-7aed-476a-8b44-8ff30015cfd1/343f1ecdad47e008ca0345c98e285f9ed30174e1
View scala-erasures.sc
// summary : Type erasure and solutions to avoid it - work in progress
// keywords : scala, erasure, @testable
// publish : gist
// authors : David Crosson
// license : Apache2
// id : b88b5c9e-7aed-476a-8b44-8ff30015cfd1
// created-on : 2022-07-04T09:29:07+02:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $file
@dacr
dacr / zio-learning-logging-0-hello.sc
Last active Jul 23, 2022
ZIO learning - using zio logging / published by https://github.com/dacr/code-examples-manager #55b5a3ca-e04a-4383-a171-a6b259add699/49054b0e0c688c0489b3b44ee01c65def9a9da5f
View zio-learning-logging-0-hello.sc
// summary : ZIO learning - using zio logging
// keywords : scala, zio, learning, logging, pure-functional, @testable
// publish : gist
// authors : David Crosson
// license : Apache
// id : 55b5a3ca-e04a-4383-a171-a6b259add699
// created-on : 2022-06-30T22:28:12+02:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $file
@dacr
dacr / zio-learning-logging-3-features.sc
Last active Jul 23, 2022
ZIO learning - using zio logging great features / published by https://github.com/dacr/code-examples-manager #5dd422d4-9a90-4450-bd24-23a46ee351b9/909820d92ea982f840db5bee2d69b1af0cef44f1
View zio-learning-logging-3-features.sc
// summary : ZIO learning - using zio logging great features
// keywords : scala, zio, learning, logging, pure-functional, @testable
// publish : gist
// authors : David Crosson
// license : Apache
// id : 5dd422d4-9a90-4450-bd24-23a46ee351b9
// created-on : 2022-06-30T22:08:34+02:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $file
@dacr
dacr / zio-learning-logging-2-hello-log4j.sc
Last active Jul 23, 2022
ZIO learning - using zio logging great features / published by https://github.com/dacr/code-examples-manager #3532fec8-5527-403e-a06f-f1a8f9a57dec/74f40fb262f4ae1426ee089dc61a9731dd10ee50
View zio-learning-logging-2-hello-log4j.sc
// summary : ZIO learning - using zio logging great features
// keywords : scala, zio, learning, logging, pure-functional, @testable
// publish : gist
// authors : David Crosson
// license : Apache
// id : 3532fec8-5527-403e-a06f-f1a8f9a57dec
// created-on : 2022-06-30T22:08:34+02:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $file
@dacr
dacr / live-01.sc
Last active Jul 23, 2022
ZIO live session - simple live demo / published by https://github.com/dacr/code-examples-manager #e9ac3978-7758-4828-8497-2144664a9323/43087538a323730b585f7b0385b1d08f3632a6e8
View live-01.sc
// summary : ZIO live session - Hello world
// keywords : scala, zio, live, demo, pure-functional, @testable
// publish : gist
// authors : David Crosson
// license : Apache
// id : 7d6e7858-f20b-43da-a914-50027a61af79
// created-on : 2021-09-26T16:27:18+02:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $file
@dacr
dacr / zio-json-644-bigdecimal.sc
Last active Jul 5, 2022
zio-json - dealing with bigdecimal representation / published by https://github.com/dacr/code-examples-manager #9d4116ca-6856-455c-9c3d-8a0f0d1facbd/aabfd40c74e5c368926c7361222b1e4621a85dcd
View zio-json-644-bigdecimal.sc
// summary : zio-json - dealing with bigdecimal representation
// keywords : scala, zio, zio-json, @testable, bigdecimal, issue, @fail
// publish : gist
// authors : David Crosson
// license : Apache
// id : 9d4116ca-6856-455c-9c3d-8a0f0d1facbd
// created-on : 2022-07-02T08:45:35+02:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $file
@dacr
dacr / zio-unsaferun-2-simplified.sc
Last active Jul 20, 2022
ZIO simplified unsafeRun suggested by @adamfraser / published by https://github.com/dacr/code-examples-manager #4e20b965-f188-46a6-ad9d-d043edd1cd05/355ebdc229231d5872d095643fe3edbb12531260
View zio-unsaferun-2-simplified.sc
// summary : ZIO simplified unsafeRun suggested by @adamfraser
// keywords : scala, zio, unsafeRun
// publish : gist
// authors : Adam Fraser
// license : Apache
// id : 4e20b965-f188-46a6-ad9d-d043edd1cd05
// created-on : 2022-06-25T23:48:21+02:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $file
@dacr
dacr / zio-unsaferun-1-default.sc
Last active Jul 20, 2022
ZIO default unsafeRun for synchronous effect execution / published by https://github.com/dacr/code-examples-manager #24858e26-80d6-443a-b78e-6e590c48e2d7/377318674dc5d32d907bd29ce81e07e9da384e58
View zio-unsaferun-1-default.sc
// summary : ZIO default unsafeRun for synchronous effect execution
// keywords : scala, zio, unsafeRun
// publish : gist
// authors : David Crosson
// license : Apache
// id : 24858e26-80d6-443a-b78e-6e590c48e2d7
// created-on : 2022-06-25T23:48:21+02:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $file