Skip to content

Instantly share code, notes, and snippets.

View serhiiluhovyi's full-sized avatar
🎯
Focusing

Serhii Luhovyi serhiiluhovyi

🎯
Focusing
View GitHub Profile

Junie Guidelines for Spring Boot Development

This file contains guidelines for Junie to follow when working on this Spring Boot project. Adhering to these standards ensures consistency, maintainability, and leverages modern practices.

Core Technologies & Versions

  • Java: Use the latest Long-Term Support (LTS) version of Java (e.g., Java 21 or later) unless project constraints dictate otherwise.
  • Spring Boot: Always use the latest stable release of Spring Boot 3.x (or the latest major stable version available) for new features or projects.
  • Build Tool: Use Maven as the build tool. Ensure the pom.xml uses the latest stable Spring Boot parent POM and compatible plugin versions.

Minishift

https://quay.io/repository/
https://gitlab.com/

install virtualbox
brew cask install minishift
minishift version

minishift start --vm-driver virtualbox
@serhiiluhovyi
serhiiluhovyi / tokens.md
Created December 4, 2020 09:20 — forked from zmts/tokens.md
Про токены, JSON Web Tokens (JWT), аутентификацию и авторизацию. Token-Based Authentication

Про токены, JSON Web Tokens (JWT), аутентификацию и авторизацию. Token-Based Authentication

Last major update: 25.08.2020

  • Что такое авторизация/аутентификация
  • Где хранить токены
  • Как ставить куки ?
  • Процесс логина
  • Процесс рефреш токенов
  • Кража токенов/Механизм контроля токенов

docker-compose.yaml

version: '3.1'

services:

  jenkins:
    image: jenkinsci/blueocean
    privileged: true
@serhiiluhovyi
serhiiluhovyi / aboutNodeJsArchitecture.md
Created November 27, 2020 04:16 — forked from zmts/aboutNodeJsArchitecture.md
A little bit about Node.js API Architecture

A little bit about Node.js API Architecture (Архитектура/паттерны организации кода Node.js приложений)

node.js

TL;DR

code: https://github.com/zmts/supra-api-nodejs

Предисловие

Одной из болезней Node.js комьюнити это отсутствие каких либо крупных фреймворков, действительно крупных уровня Symphony/Django/RoR/Spring. Что является причиной все ещё достаточно юного возраста данной технологии. И каждый кузнец кует как умеет ну или как в интернетах посоветовали. Собственно это моя попытка выковать некий свой подход к построению Node.js приложений.

  1. create ec2 bootstrap instance

  2. ssh to ec2

aws configure
  1. install kops

Links:

https://kubernetes.io/docs/reference/kubectl/cheatsheet/
https://medium.com/faun/be-fast-with-kubectl-1-18-ckad-cka-31be00acc443
https://github.com/twajr/ckad-prep-notes#tasks-from-kubernetes-doc
https://github.com/saaguero/ckad-notes
https://github.com/dgkanatsios/CKAD-exercises
https://github.com/lucassha/CKAD-resources
https://eax.me/vim-commands/
https://discuss.kubernetes.io/t/kubectl-tips-and-tricks/
#! /bin/bash
sudo yum update -y
sudo yum install -y docker
sudo usermod -a -G docker ec2-user
sudo curl -L https://github.com/docker/compose/releases/download/1.20.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo service docker start
mkdir /opt/monitoring && cd /opt/monitoring