Skip to content

Instantly share code, notes, and snippets.

Avatar
🕷️

Crosson David dacr

🕷️
View GitHub Profile
@dacr
dacr / zio-lmdb-basic-scala2.sc
Created March 25, 2023 10:55
ZIO LMDB simple example for scala-2 / published by https://github.com/dacr/code-examples-manager #1c3bed7d-d01d-422d-b299-5c1fa03c5294/72fe229e26f8a612e7413ee5da54fc6c8fbbe4a9
View zio-lmdb-basic-scala2.sc
// summary : ZIO LMDB simple example for scala-2
// keywords : scala, zio, lmdb, @testable
// publish : gist
// authors : David Crosson
// license : Apache BUT Machine Learning models training is not allowed by the author
// id : 1c3bed7d-d01d-422d-b299-5c1fa03c5294
// created-on : 2023-03-25T11:47:27+01:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $file
@dacr
dacr / zio-lmdb-feed-postal-codes.sc
Last active March 25, 2023 10:55
ZIO LMDB feeding with french town postal codes / published by https://github.com/dacr/code-examples-manager #55574d76-9b22-422c-abde-9869596ca25f/3abeb453a9b23a04a09de19029df79ccf1994eba
View zio-lmdb-feed-postal-codes.sc
// summary : ZIO LMDB feeding with french town postal codes
// keywords : scala, zio, lmdb, @testable
// publish : gist
// authors : David Crosson
// license : Apache BUT Machine Learning models training is not allowed by the author
// id : 55574d76-9b22-422c-abde-9869596ca25f
// created-on : 2022-08-09T20:01:37+02:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $file
@dacr
dacr / swagger-original.json
Created December 13, 2022 13:49
openapi-generator maven plugin - errors generated by this valid json file
View swagger-original.json
{
"openapi": "3.0.3",
"info": {
"title": "Thing in the future Restful API",
"description": "Thing in Swagger Interface",
"version": "3.0"
},
"tags": [
{
"name": "avatars",
@dacr
dacr / swagger-original.yaml
Created December 13, 2022 13:48
openapi-generator maven plugin - errors generated by this valid yaml file
View swagger-original.yaml
openapi: 3.0.3
info:
title: Thing in the future Restful API
description: Thing in Swagger Interface
version: '3.0'
tags:
- name: avatars
description: Manipulate the avatars a.k.a the digital representations of real objects.
- name: aspects
description: >-
@dacr
dacr / zio-learning-schema-caseclass.sc
Created December 11, 2022 15:44
ZIO learning - learning&testing zio-schemas features / published by https://github.com/dacr/code-examples-manager #735e9391-0449-4f38-9d67-f4f86105a395/a2df68d6f99643337250c6e1ff191e1b6780b63e
View zio-learning-schema-caseclass.sc
// summary : ZIO learning - learning&testing zio-schemas features
// keywords : scala, zio, learning, schema, pure-functional, @testable
// publish : gist
// authors : David Crosson
// license : Apache BUT Machine Learning models training is not allowed by the author
// id : 735e9391-0449-4f38-9d67-f4f86105a395
// created-on : 2022-11-25T15:46:03+01:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $file
@dacr
dacr / zio-test-filtering.sc
Created December 11, 2022 15:43
ZIO learning - zio tests filtering / published by https://github.com/dacr/code-examples-manager #d923a94a-4ce7-4ca4-a403-720904b10e5b/fa655e47a5f78484455a9c75e7c0d80c62d2661b
View zio-test-filtering.sc
// summary : ZIO learning - zio tests filtering
// keywords : scala, scalacli, zio, ziotest, @testable
// publish : gist
// authors : David Crosson
// license : Apache BUT Machine Learning models training is not allowed by the author
// id : d923a94a-4ce7-4ca4-a403-720904b10e5b
// created-on : 2022-11-08T10:18:46+01:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $file
@dacr
dacr / scala.md
Last active December 11, 2022 15:43
scala cheat sheet / published by https://github.com/dacr/code-examples-manager #a30af8ca-1d6b-4021-a477-8b84cec7bed9/9e90cdeaa07fdda9c1280dad2deecc166b50f6cd
@dacr
dacr / i3.md
Last active January 28, 2023 17:48
i3 cheat sheet / published by https://github.com/dacr/code-examples-manager #cbe05f62-a3ec-4e61-9e71-6ed3b2837594/b9afddd8307a27f306a984a59137f9c09989f304
@dacr
dacr / ocaml.md
Last active December 11, 2022 15:42
ocaml cheat sheet / published by https://github.com/dacr/code-examples-manager #c0e2dcaf-f992-4b0a-b0bd-551a7734ee3b/a413e5b7a8d2d3e927baf305bce6f3dc5265f59d
@dacr
dacr / hello.ml
Last active December 11, 2022 15:42
ocaml first example script / published by https://github.com/dacr/code-examples-manager #40d0ed8e-b601-4f19-a13a-aeb683895331/2a5d60a8c7177ce0ede60d737cbdf280bf15461c
View hello.ml
#!/usr/bin/env utop
(*
// summary : ocaml first example script
// keywords : ocaml, @testable
// publish : gist
// authors : David Crosson
// license : Apache BUT Machine Learning models training is not allowed by the author
// id : 40d0ed8e-b601-4f19-a13a-aeb683895331
// created-on : 2022-09-24T11:57:31+02:00
// managed-by : https://github.com/dacr/code-examples-manager