What do you want to save?
Add Code snippet
New code examples
-
Java 2021-08-31 13:50:01
spring AMQP async nack
// setAcknowledgeMode to MANUAL @Bean fun jsaFactory( connectionFactory: ConnectionFactory, configurer: SimpleRabbitListenerContainerFactoryConfigurer ): SimpleRabbitListenerContainerFactory { val factory = SimpleRabbitListenerContainerFactory... Add solution -
Shell/Bash 2021-08-31 13:10:01
Identities entities in vault hashicorp
#Policy Permissions needed to go ahead with identity entity $ vault policy write base - << EOF path "secret/data/training_*" { capabilities = ["create", "read"] } EOF $ vault policy write test - <<... Add solution -
Javascript 2021-08-31 13:06:01
c# json deserialize list of objects
//using the holy NEWTON! (you can find it as a nuget package) using Newtonsoft.Json; //get some storage for your required type List<YourType> OutputList; //usings clean up //Load some sort of stream (file or memory) using (Stream Stream = new File... Add solution -
Javascript 2021-08-31 12:46:02
Call the web api from $.ajax() function.
1- Calling the web api method without parameter • If you do not have parameter in your web API method then you no need to pass the data parameter inside AJAX function. • The URL parameter of ajax function must match with the Route attribute of ... Add solution