Sauce curry maison sans cubes Golden Curry — plein de saveurs !
Pour 4 personnes
| { | |
| "openapi": "3.0.1", | |
| "info": { | |
| "title": "App", | |
| "version": "1.0" | |
| }, | |
| "paths": { | |
| "/weatherforecast": { | |
| "get": { | |
| "tags": [ |
| services: | |
| elasticsearch: | |
| image: elasticsearch:7.14.0 | |
| hostname: elasticsearch | |
| ports: | |
| - 9200:9200 | |
| - 9300:9300 | |
| environment: | |
| discovery.type: single-node | |
| networks: |
| use warp::{Filter, Rejection}; | |
| use warp::generic::Either; | |
| fn other_routes() -> impl Filter<Error = Rejection, Extract = (Either<(Either<(String,), (String,)>,), (String,)>,)> + Clone + Send + Sync + 'static { | |
| // GET /hi | |
| let hi = warp::get().and(warp::path("hi").map(|| "Hello, World!".to_string())); | |
| // GET /hello/from/warp | |
| let hello_from_warp = warp::get().and(warp::path!("hello" / "from" / "warp").map(|| "Hello from warp!".to_string())); | |
| // GET /sum/:u32/:u32 | |
| let sum = warp::get().and(warp::path!("sum" / u32 / u32).map(|a, b| format!("{} + {} = {}", a, b, a + b))); |
| [package] | |
| name = "lolilol" | |
| version = "0.1.0" | |
| authors = ["fteychene <francois.teychene@gmail.com>"] | |
| edition = "2018" | |
| # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
| [dependencies] | |
| lol-core = "0.7.1" |
| plugins { | |
| id 'org.jetbrains.kotlin.jvm' version '1.4.10' | |
| } | |
| apply plugin: 'kotlin-kapt' | |
| group 'org.example' | |
| version '1.0-SNAPSHOT' | |
| repositories { |
| Replaced | Rust replacement | GH |
|---|---|---|
| ls | exa | https://github.com/ogham/exa |
| grep | ripgrep | https://github.com/BurntSushi/ripgrep |
| cat | bat | https://github.com/sharkdp/bat |
| du | dust | https://github.com/bootandy/dust |
| ps | procs | https://github.com/dalance/procs |
| find | fd | https://github.com/sharkdp/fd |
| sed | sd | https://crates.io/crates/sd |
| Search sql like | fselect | https://crates.io/crates/fselect |
| package mtpcraft.tdd.kata | |
| import kotlin.random.Random | |
| sealed class Cell { | |
| companion object | |
| } | |
| object Dead : Cell() | |
| object Living : Cell() |
| plugins { | |
| kotlin("jvm") version "1.3.72" | |
| kotlin("kapt") version "1.3.41" | |
| } | |
| group = "xyz.fteychene.kotlin.sample" | |
| version = "0.1.0-SNAPSHOT" |
| [package] | |
| name = "test_multi_runtime" | |
| version = "0.1.0" | |
| authors = ["fteychene <francois.teychene@gmail.com>"] | |
| edition = "2018" | |
| # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
| [dependencies] | |
| anyhow = "1.0.28" |