Skip to content

Instantly share code, notes, and snippets.

View skryvets's full-sized avatar
👋

Sergey Kryvets skryvets

👋
View GitHub Profile
@skryvets
skryvets / 2024-jconf-security.md
Last active September 27, 2024 01:23
Notes from the presentation

Wargames: Java Vulnerabilities and Why You Should Care

Speaker: Gerrit Grunwald
Youtube video


Intro

  • Gerrit Grunwald is a developer advocate at Azul.
  • Log4Shell vulnerability incident (Nov 24, 2021) is highlighted as a reminder of how significant and widespread security vulnerabilities can be.
@skryvets
skryvets / 2024-jconf-kafka.md
Last active September 27, 2024 01:15
Summarized notes from the presentation

Brick-by-Brick: Exploring the Elements of Apache Kafka®

Speaker: Danica Fine
YouTube Link: Youtube


Kafka Fundamentals

  • Apache Kafka is a distributed event streaming platform that enables real-time data applications. It supports:
  • Reactive, accurate, loosely coupled, and resilient systems.

Jonatan Ivanov - Spring Boot observability expert

Relevant YouTube Content

Search Result Link:
Jonatan Ivanov on YouTube

To-Do:

  • Watch: Micrometer and observability topic
  • Take Notes: On how to effectively set up JVM performance tuning tools

Troubleshooting, Monitoring, and Profiling with Java Flight Recorder, Mission Control, and Cryostat

Speaker: Jeremy Davis


Tools for Profiling Java Applications

  1. Mission Control
    • Available starting with Java 11.
  • Provides powerful tools for monitoring and profiling Java applications.

Building a Custom AI Chatbot with Spring Boot, React, and LangChain4j

Speaker: Marcus Hellberg

YouTube Link: Watch the video
GitHub Repository: java-ai-playground


Key Concepts and Insights

#!/usr/bin/env kotlin
@file:Repository("https://repo.maven.apache.org/maven2/")
@file:DependsOn("com.squareup.okhttp3:okhttp:4.12.0")
import okhttp3.OkHttpClient
import okhttp3.Request
import org.w3c.dom.Document
import org.xml.sax.InputSource
import java.io.StringReader
@skryvets
skryvets / simple-http-request.main.kts
Created September 13, 2024 02:04
Simple kotlin script
#!/usr/bin/env kotlin
@file:Repository("https://repo.maven.apache.org/maven2/")
@file:DependsOn("com.squareup.okhttp3:okhttp:4.12.0")
import okhttp3.OkHttpClient
import okhttp3.Request
val client = OkHttpClient()
val request = Request.Builder().url("https://example.com").build();
@skryvets
skryvets / spring-boot-commands.sh
Last active October 17, 2023 19:43
Spring Boot Init commands
#Init spring webapp
spring init -d=lombok,web -type=gradle-project-kotlin -n=spring-boot-hello-world spring-boot-hello-world
#Shows available dependencies
spring init --list
#Init Spring Cloud Function
spring init -d=lombok,cloud-function -type=gradle-project-kotlin -n=spring-cloud-function-hello-world spring-cloud-function-hello-world
@skryvets
skryvets / Boostnote legacy installation.md
Created June 29, 2022 18:16
Boostnote legacy installation