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 com.boilerplate.kafka.config; | |
import java.util.HashMap; | |
import java.util.Map; | |
import org.apache.kafka.clients.admin.AdminClientConfig; | |
import org.apache.kafka.clients.admin.NewTopic; | |
import org.springframework.beans.factory.annotation.Value; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.context.annotation.Configuration; | |
import org.springframework.kafka.core.KafkaAdmin; |
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 com.ktor | |
import io.ktor.application.* | |
import io.ktor.http.* | |
import io.ktor.response.* | |
import io.ktor.routing.* | |
import io.ktor.server.engine.* | |
import io.ktor.server.netty.* | |
fun main(args: Array<String>) { | |
val server = embeddedServer(Netty, port = 8080) { |
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 com.discovery.controller; | |
import java.net.URI; | |
import java.util.Optional; | |
import javax.naming.ServiceUnavailableException; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.cloud.client.discovery.DiscoveryClient; | |
import org.springframework.http.HttpStatus; |
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: | |
application: | |
name: consulApp | |
cloud: | |
consul: | |
host: localhost | |
port: 8500 | |
discovery: | |
healthCheckPath: /health-check | |
healthCheckInterval: 20s |
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 com.discovery; | |
import org.springframework.boot.SpringApplication; | |
import org.springframework.boot.autoconfigure.SpringBootApplication; | |
import org.springframework.cloud.client.discovery.EnableDiscoveryClient; | |
/** | |
* A Simple Spring Cloud Consul app | |
* | |
* @author Odilio Noronha Filho |
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 controllers; | |
import java.io.IOException; | |
import java.util.HashMap; | |
import org.jsoup.Connection; | |
import org.jsoup.Jsoup; | |
import org.jsoup.nodes.Document; | |
import org.jsoup.nodes.Element; | |
import org.jsoup.select.Elements; | |
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
#!/bin/bash | |
export ME=${USER:-$(whoami)} | |
# tilix, git, zsh, curl and ohmyz.sh | |
sudo apt update -qm && | |
sudo apt install -qy tilix zsh git curl fonts-firacode && | |
bash -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" && | |
sed -Ei "s/ZSH_THEME=\"robbyrussell\"/ZSH_THEME=\"lambda\"/" $HOME/.zshrc | |
sudo ln -s /etc/profile.d/vte-2.91.sh /etc/profile.d/vte.sh |
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
ServiceHub | |
https://colorlib.com/wp/template/skillhunt/ |
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
pro sistema erp | |
https://colorlib.com/wp/template/gaas/ | |
https://colorlib.com/wp/template/MobApp/ | |
https://colorlib.com/wp/template/favison/ |
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
dplyr para kotlin | |
https://github.com/holgerbrandl/krangl | |
tutorial camunda | |
https://medium.com/@venkat.y/running-workflow-as-a-microservice-25781ecf8155 |