Skip to content

Instantly share code, notes, and snippets.

View antonarhipov's full-sized avatar
💣

Anton Arhipov antonarhipov

💣
View GitHub Profile
@antonarhipov
antonarhipov / gist:1aeb3b444734bfb648f28c3b152f4f30
Last active September 12, 2025 08:06
requirements-prompt.md
# Requirements Analysis Prompt
Transform the provided high-level requirements into a comprehensive, structured requirements document using the following methodology:
## Instructions:
1. **Create a Requirements Document** with the following structure:
- Document title: "Requirements Document"
- Introduction section that summarizes the application purpose and key functionality
- Requirements section with numbered requirements
@antonarhipov
antonarhipov / demo.ipynb
Created July 16, 2025 10:16
Kotlin Notebook demo
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@antonarhipov
antonarhipov / guidelines.md
Created April 7, 2025 07:57
Spring Boot Junie guidelines

Spring Boot Style Guide for Bookstore Application

This document outlines the coding standards, architectural patterns, and best practices for the Bookstore application.

Technology Stack

Frontend

  • React 18 for building user interfaces
  • Tailwind CSS for utility-first styling
  • Vite for frontend tooling and development environment
@antonarhipov
antonarhipov / spring_ai.ipynb
Created March 20, 2025 17:17
gettings started with Spring AI in Kotlin Notebooks
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@antonarhipov
antonarhipov / guidelines.md
Created January 28, 2025 22:00
Guidelines for Junie (.junie/guidelines.md)

Project Overview

Technology Stack

  • Backend:

    • Spring Boot - Java-based framework for building the application
    • Spring Data JDBC - For data persistence and repository implementation
    • Spring MVC - For handling HTTP requests and REST endpoints
    • H2 database - for storing data
  • Frontend:

sealed interface Creature
data class Cthulhu(
val madnessLevel: Int,
val isAwakened: Boolean
) : Creature
data class Kraken(
val length: Double,
@antonarhipov
antonarhipov / SonicPiDarkHouseGenerator.kt
Last active October 24, 2024 12:55
Sonic Pi Dark House Music Generator in Kotlin
import kotlin.random.Random
data class Note(val pitch: Int, val duration: Double)
class SonicPiDarkHouseGenerator {
private val scale = listOf(60, 63, 65, 67, 70, 72) // C minor pentatonic scale
private val rhythms = listOf(0.25, 0.5, 1.0) // Sixteenth, eighth, and quarter notes
fun generateMelody(length: Int): List<Note> =
List(length) {
@antonarhipov
antonarhipov / gist:2e214d122147cfc24366f1bef666c500
Created October 24, 2024 11:37
Sonic Pi Dark House program
##| Generated Sonic Pi code for Dark House:
use_bpm 120
live_loop :atmos_pad do
use_synth :dark_ambience
play chord(:C3, :minor), release: 8, amp: 0.4
sleep 8
end