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
import org.springframework.amqp.core.Message; | |
import org.springframework.amqp.core.MessagePostProcessor; | |
import org.springframework.amqp.rabbit.config.SimpleRabbitListenerContainerFactory; | |
import org.springframework.amqp.rabbit.connection.ConnectionFactory; | |
import org.springframework.amqp.rabbit.core.RabbitTemplate; | |
import org.springframework.amqp.support.converter.Jackson2JsonMessageConverter; | |
import org.springframework.boot.autoconfigure.amqp.SimpleRabbitListenerContainerFactoryConfigurer; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.context.annotation.Configuration; |
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
# List of plugins | |
set -g @plugin 'tmux-plugins/tpm' | |
# Dracula Plugin | |
set -g @plugin 'dracula/tmux' | |
set -g @dracula-plugins "cpu-usage git" | |
set -g @dracula-show-powerline true | |
# Custom config | |
set -g mouse on |
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
spring.jpa.properties.javax.persistence.schema-generation.create-source=metadata | |
spring.jpa.properties.javax.persistence.schema-generation.scripts.action=create | |
spring.jpa.properties.javax.persistence.schema-generation.scripts.create-target=create.sql | |
spring.jpa.properties.hibernate.hbm2ddl.delimiter=; |
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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: meupod | |
labels: | |
name: meupod | |
spec: | |
containers: | |
- name: meupod | |
image: nginx |
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
-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n |
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
.spinner { | |
border: 5px solid rgba(0, 0, 0, 0.1); | |
border-left-color: #22a6b3; | |
border-radius: 50%; | |
width: 25px; | |
height: 25px; | |
animation: spin 1s linear infinite; | |
} | |
@keyframes spin { |
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
@JsonFormat(pattern = "yyyy-MM-dd", shape = JsonFormat.Shape.STRING) | |
@JsonDeserialize(using = LocalDateDeserializer.class) | |
@JsonSerialize(using = LocalDateSerializer.class) private LocalDate da |
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
package io.tacsio; | |
import java.util.*; | |
import java.util.stream.IntStream; | |
public class Main { | |
public void run(int size) { | |
int solve = solve(size, new Stack<>()); | |
System.out.println(size + "-> " + solve); |
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
package io.tacsio; | |
import java.util.Collection; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.stream.Collectors; | |
import java.util.stream.Stream; | |
public class Main { |
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
version: '3' | |
services: | |
rabbit: | |
image: "rabbitmq:3-management-alpine" | |
container_name: amqp-quarkus | |
ports: | |
- "5672:5672" | |
- "15672:15672" | |
environment: |