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
// https://github.com/tpolecat/doobie/issues/460 | |
object Test { | |
import cats.implicits._ | |
import cats.effect.IO | |
import cats.effect.unsafe.implicits.global | |
import doobie.{ConnectionIO, Transactor} | |
import doobie.implicits._ |
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
alias sbt='java -version & echo "running 4gb sbt" && sbt -mem 4096' | |
alias docker-restart='docker-compose down -v && docker-compose up -d' | |
alias docker-restartl='docker-compose down -v && docker-compose up -d && docker-compose logs -f' | |
alias docker-monitor='watch -n 1 "docker-compose ps"' | |
alias dcd='docker-compose down -v' | |
alias dcu='docker-compose up -d' |
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.5' | |
services: | |
kafka-ui: | |
image: provectuslabs/kafka-ui | |
container_name: kafka-ui | |
ports: | |
- "8080:8080" | |
environment: | |
- KAFKA_CLUSTERS_0_NAME=test |
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 | |
# run utility in docker (sbt from hseeberger container) in this folder | |
docker run -it --rm -v "$(pwd)":/root --network host hseeberger/scala-sbt:15.0.2_1.4.9_2.13.5 sbt | |
# do something with it (perhaps start compiling or running application) | |
# press combinations in order: | |
# ctrl + p, ctrl + q |