Skip to content

Instantly share code, notes, and snippets.

View dacr's full-sized avatar
🕷️

Crosson David dacr

🕷️
View GitHub Profile
@dacr
dacr / djl-image-to-text.sc
Created September 1, 2024 10:15
image to text try / published by https://github.com/dacr/code-examples-manager #b35b9b44-ec04-46f5-b904-43605e2b2107/e0d7d84a713d4e8b97de749920b57b77a731fa9
// summary : image to text try
// keywords : djl, machine-learning, image-to-text, ai, @testable
// publish : gist
// authors : David Crosson
// license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2)
// id : b35b9b44-ec04-46f5-b904-43605e2b2107
// created-on : 2024-07-20T08:42:43+02:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $file
@dacr
dacr / chartreuse-battery-degradation.sc
Created September 1, 2024 10:15
plotting with chartreuse - electric car battery degradation / published by https://github.com/dacr/code-examples-manager #417371d2-da5c-4fb7-a266-4377870acc19/41071c27124c96bd6462e867b47b8503b37293c4
// summary : plotting with chartreuse - electric car battery degradation
// keywords : chartreuse, plotting
// publish : gist
// authors : David Crosson
// license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2)
// id : 417371d2-da5c-4fb7-a266-4377870acc19
// created-on : 2024-08-21T18:41:28+02:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $file
// attachments : data-charging-sessions.csv
@dacr
dacr / chartreuse-photos-count.sc
Created September 1, 2024 10:15
plotting with chartreuse - photo count trend / published by https://github.com/dacr/code-examples-manager #fcc44436-bf5f-4bf2-9531-6656f9b6f7fa/920a565d53a72f89654fe2672882dad249613c3b
// summary : plotting with chartreuse - photo count trend
// keywords : chartreuse, plotting
// publish : gist
// authors : David Crosson
// license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2)
// id : fcc44436-bf5f-4bf2-9531-6656f9b6f7fa
// created-on : 2024-08-21T16:42:51+02:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $file
// attachments : data-taken-photos.csv
@dacr
dacr / neo4j-neotypes-zio-stream.sc
Created June 28, 2024 23:14
neo4j cypher - stream inserted records using zio / published by https://github.com/dacr/code-examples-manager #42059935-7404-4166-8e74-5ecb74844aa7/18c9aa07d4c6103405495898000d87fd395b4e2a
// summary : neo4j cypher - stream inserted records using zio
// keywords : scala, zio, scalatest, neo4j, neotypes, cypher, dsl, @testable
// publish : gist
// authors : David Crosson
// license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2)
// id : 42059935-7404-4166-8e74-5ecb74844aa7
// created-on : 2024-06-26T15:39:57+02:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $file
@dacr
dacr / neo4j-neotypes-records-with-parameters.sc
Created June 28, 2024 23:14
neo4j through neotypes - query parameters / published by https://github.com/dacr/code-examples-manager #3a466b4c-5eab-4c2b-ae08-70e7530b129e/c342e326ec13b63bf0622849d07f582ab95911ae
// summary : neo4j through neotypes - query parameters
// keywords : scala, scalatest, neo4j, neotypes, cypher, dsl, @testable
// publish : gist
// authors : David Crosson
// license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2)
// id : 3a466b4c-5eab-4c2b-ae08-70e7530b129e
// created-on : 2024-06-26T14:41:41+02:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $file
@dacr
dacr / neo4j-neotypes-creates.sc
Created June 28, 2024 23:14
neo4j cypher - many inserts / published by https://github.com/dacr/code-examples-manager #43425fdc-b629-48de-9f3c-2b52835ee43a/1984df79d3b068e9ab6c33af6dfd18026fa0bf9c
// summary : neo4j cypher - many inserts
// keywords : scala, scalatest, neo4j, neotypes, cypher, dsl, @testable
// publish : gist
// authors : David Crosson
// license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2)
// id : 43425fdc-b629-48de-9f3c-2b52835ee43a
// created-on : 2024-06-26T14:49:20+02:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $file
@dacr
dacr / neo4j-neotypes-hello.sc
Created June 28, 2024 23:14
neo4j through neotypes - hello world / published by https://github.com/dacr/code-examples-manager #d4502d74-9ade-4fca-a400-12d1e7e18a13/36db70e6da53df1142f6d9dc3798d36799f895c3
// summary : neo4j through neotypes - hello world
// keywords : scala, scalatest, neo4j, neotypes, helloworld, cypher, dsl, @testable
// publish : gist
// authors : David Crosson
// license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2)
// id : d4502d74-9ade-4fca-a400-12d1e7e18a13
// created-on : 2024-06-25T15:10:56+02:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $file
@dacr
dacr / neo4j-cypher-raw-data-types.sc
Created June 21, 2024 21:09
neo4j cypher queries - supported storable data types / published by https://github.com/dacr/code-examples-manager #f7116c87-b923-401a-9d9a-dde815befd86/7c653469703cecfcd1d09af35d6f31d60042ae97
// summary : neo4j cypher queries - supported storable data types
// keywords : scala, neo4j, cypher, @testable
// publish : gist
// authors : David Crosson
// license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2)
// id : f7116c87-b923-401a-9d9a-dde815befd86
// created-on : 2024-06-20T08:29:22+02:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $file
@dacr
dacr / neo4j-repl.sh
Created June 21, 2024 21:09
NEO4j scala-cli REPL startup script / published by https://github.com/dacr/code-examples-manager #db85056b-e1d7-43b6-8d52-c0ede5a681f3/6d5d2e0899659dd8567a1589e0cf74fd54da329a
#!/usr/bin/env bash
## summary : NEO4j scala-cli REPL startup script
## keywords : bash, neo4j, repl, scala-cli
## publish : gist
## authors : David Crosson
## license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2)
## id : db85056b-e1d7-43b6-8d52-c0ede5a681f3
## created-on : 2024-06-21T15:04:13+02:00
## managed-by : https://github.com/dacr/code-examples-manager
@dacr
dacr / neo4j-spatial-features.sc
Last active September 1, 2024 10:15
check neo4j spatial features / published by https://github.com/dacr/code-examples-manager #6a213101-b3ef-4a3e-abbe-cb5c0bcde878/80cf8b7ccb9708909fee043d9fc904ab835c24a9
// summary : check neo4j spatial features
// keywords : scala, neo4j, cypher, spatial, @testable
// publish : gist
// authors : David Crosson
// license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2)
// id : 6a213101-b3ef-4a3e-abbe-cb5c0bcde878
// created-on : 2024-06-20T14:18:48+02:00
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : scala-cli $file