This file contains hidden or 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
import com.natpryce.hamkrest.assertion.assertThat | |
import com.natpryce.hamkrest.equalTo | |
import org.junit.jupiter.api.Test | |
import java.io.File | |
// Implement a Phone Directory | |
// | |
// Given a list of contacts which exist in a phone directory. The task is to implement search query for the phone directory. | |
// The search query on a string ‘str’ displays all the contacts which prefix as ‘str’. |
This file contains hidden or 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
<Bindings> | |
<Binding name="NAMECOPY" header="NAMECOPY" category="ADDONS"> | |
NAME_COPY_ITEM() | |
</Binding> | |
</Bindings> |
This file contains hidden or 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
package org.jab.microservices.wintergames1; | |
import lombok.extern.slf4j.Slf4j; | |
import org.jab.microservices.wintergames1.model.InfoResponse; | |
import org.springframework.http.HttpHeaders; | |
import org.springframework.http.MediaType; | |
import org.springframework.web.reactive.function.client.ClientResponse; | |
import org.springframework.web.reactive.function.client.ExchangeFilterFunction; | |
import org.springframework.web.reactive.function.client.WebClient; | |
import org.springframework.web.reactive.function.server.ServerRequest; |
This file contains hidden or 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
{ | |
type : "batch", | |
data : [ | |
{ | |
url : "/customer/1", | |
method : "patch", | |
customer : { | |
name : "pepe", | |
}, | |
}, |
This file contains hidden or 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
## Interface: 80000 | |
## Title: SukariIslandsExpeditions | |
code.lua |
This file contains hidden or 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
package org.learning.by.example.reactive.kotlin.microservices.KotlinReactiveMS | |
import org.junit.jupiter.api.Test | |
import reactor.core.publisher.Mono | |
import reactor.core.publisher.toMono | |
class MonoErrorTest { | |
companion object{ | |
const val foo = "foo" |
This file contains hidden or 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
package org.learning.by.example.reactive.microservices.services; | |
import org.learning.by.example.reactive.microservices.exceptions.GetGeoLocationException; | |
import org.learning.by.example.reactive.microservices.exceptions.GeoLocationNotFoundException; | |
import org.learning.by.example.reactive.microservices.exceptions.InvalidParametersException; | |
import org.learning.by.example.reactive.microservices.model.GeographicCoordinates; | |
import org.learning.by.example.reactive.microservices.model.GeoLocationResponse; | |
import org.springframework.http.MediaType; | |
import org.springframework.web.reactive.function.client.WebClient; | |
import reactor.core.publisher.Mono; |
This file contains hidden or 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
package org.learning.by.example; | |
import org.junit.Test; | |
import java.util.Random; | |
import java.util.function.Consumer; | |
import java.util.function.Function; | |
import java.util.function.Supplier; | |
import static org.learning.by.example.TestSuite5.Wrapper.From; |
This file contains hidden or 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
package org.learning.by.example; | |
import org.junit.Test; | |
import java.util.Random; | |
import java.util.function.Consumer; | |
import java.util.function.Function; | |
import java.util.function.Supplier; | |
import static org.learning.by.example.PipesTest.Wrapper.ToPipe; |
This file contains hidden or 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
$ python | |
>>> import multiprocessing | |
>>> multiprocessing.cpu_count() | |
12 |
NewerOlder