Skip to content

Instantly share code, notes, and snippets.

@ognivo777
ognivo777 / neo4j-build-tips.md
Created May 3, 2026 08:38
Quick instructions for cloning a specific branch and building Neo4j from source

Neo4j Build Guide

Quick instructions for cloning a specific branch and building Neo4j from source.

1. Find the target branch

Browse the repository branches here to find your desired version: Neo4j Branch Explorer

2. Clone and Build

Replace `` with the branch you identified in step 1.

Ниже приведён наглядный пример одной и той же задачи:

Вызвать внешний HTTP-сервис, преобразовать ответ, обработать ошибки и вернуть результат

Демонстрация: императивный код с виртуальными потоками + Spring RestClient остаётся линейным, тогда как реактивный код с Spring Cloud OpenFeign + реактивными расширениями требует существенно больше структурного «обвеса».


1) Императивный подход (Virtual Threads + Spring RestClient)

@ognivo777
ognivo777 / docker-compose-keycloak.yaml
Last active April 21, 2026 13:41
DEV Keycloak docker-compose with Healthcheck and fix "HTTPS Required" (set sslRequired=NONE to master realm using side-car container)
services:
keycloak:
image: quay.io/keycloak/keycloak:latest
command: start-dev # only for test env, in prod replace with `start`
environment:
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin
KC_HEALTH_ENABLED: true
ports:
- "8080:8080"

Разработка игры "Сапёр" на HTML и JavaScript

Создан: 01.10.2025 21:21
Последнее обновление: 01.10.2025 21:32


👤 Пользователь

01.10.2025 21:21

@ognivo777
ognivo777 / 7dtd players stats.html
Created July 4, 2025 17:54
Interactive player stats dashboard with dynamic charts and map visualization. Filter by time range using dual sliders to explore metrics and movement paths over time.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Player Stats Charts with Position Map</title>
<script src="https://code.highcharts.com/highcharts.js"></script>
<style>
body {
font-family: sans-serif;
padding: 20px;
@ognivo777
ognivo777 / 7_dyas_to_die_player_stats_to_influx.py
Created July 3, 2025 10:41
Python async script that connects to a Telnet server, periodically sends lp commands, parses player data, and writes changed-position stats to InfluxDB 1.x or stdout with auto-reconnect and password support.
import asyncio
import re
import argparse
import requests
import telnetlib3
import time
LP_LINE_RE = re.compile(
r"^\d+\.\s+id=(\d+),\s+([^,]+),\s+pos=\(([^)]+)\),\s+rot=\(([^)]+)\),\s+remote=(\w+),\s+health=(\d+),\s+deaths=(\d+),\s+zombies=(\d+),\s+players=(\d+),\s+score=(\d+),\s+level=(\d+),\s+pltfmid=([^,]+),\s+crossid=([^,]+),\s+ip=([^,]+),\s+ping=(\d+)"
)