This file contains 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
#!/usr/bin/env rust-script | |
// cargo-deps : openssl="0.10.68", openssl-sys="0.9.104", curl="0.4.47" | |
// summary : hello rust http client | |
// keywords : rust, http-client, @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 : 2455a322-c6a7-4c96-834e-262b3917262c | |
// created-on : 2024-10-25T19:09:32+02:00 | |
// managed-by : https://github.com/dacr/code-examples-manager |
This file contains 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
## summary : flake configuration for ollama | |
## keywords : nix, flake, ollama, mistral, codestral, llama | |
## 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 : e5d0df54-2723-4ad3-aa10-75a4d6b4c869 | |
## created-on : 2024-11-17T18:58:08+01:00 | |
## managed-by : https://github.com/dacr/code-examples-manager | |
## run-with : make serve | |
## attachments : flake.nix, flake.lock |
This file contains 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
## summary : flake configuration for lmstudio | |
## keywords : nix, flake, lmstudio, mistral, codestral, llama | |
## 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 : bfaf2c5b-b796-4117-8c6b-2315b7cc15fa | |
## created-on : 2024-11-17T19:02:50+01:00 | |
## managed-by : https://github.com/dacr/code-examples-manager | |
## run-with : make serve | |
## attachments : flake.nix, flake.lock |
This file contains 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
#!/usr/bin/env rust-script | |
// summary : hello rust structs | |
// keywords : rust, structs, data-class, @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 : 1187efee-710d-4f2b-92b5-8d4d3af72bd0 | |
// created-on : 2024-10-16T09:16:37+02:00 | |
// managed-by : https://github.com/dacr/code-examples-manager | |
// run-with : ./$file |
This file contains 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
#!/usr/bin/env rust-script | |
//! ```cargo | |
//! [dependencies] | |
//! serde= { version = "1.0.210", features = ["derive"] } | |
//! serde_json = "1.0.128" | |
//! ``` | |
// summary : rust hello json | |
// keywords : rust, dependencies, @testable | |
// publish : gist | |
// authors : David Crosson |
This file contains 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
#!/usr/bin/env rust-script | |
// cargo-deps : trim-margin="0.1.0" | |
// summary : hello rust strings | |
// keywords : rust, strings, @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 : 4c26c763-ab9d-4a12-a228-8d65e0eafde3 | |
// created-on : 2024-10-15T22:12:28+02:00 | |
// managed-by : https://github.com/dacr/code-examples-manager |
This file contains 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
#!/usr/bin/env rust-script | |
// summary : hello rust structs and methods | |
// keywords : rust, structs, data-class, @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 : 0d42efab-2b25-4c42-84a4-6d75be03f195 | |
// created-on : 2024-10-16T09:05:31+02:00 | |
// managed-by : https://github.com/dacr/code-examples-manager | |
// run-with : ./$file |
This file contains 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
#!/usr/bin/env rust-script | |
// summary : hello rust type conversions | |
// keywords : rust, types, conversions, @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 : 78987a3a-c3e9-401e-bdf6-773c55c6f3fb | |
// created-on : 2024-10-16T09:27:59+02:00 | |
// managed-by : https://github.com/dacr/code-examples-manager | |
// run-with : ./$file |
NewerOlder