Skip to content

Instantly share code, notes, and snippets.

@DmitryevichD
DmitryevichD / index.html
Created December 28, 2024 08:19 — forked from TYsewyn/index.html
Visualizing your Spring Integration Components & Flows
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Visualizing your Spring Integration Components &amp; Flows</title>
<script type="text/javascript" src="http://d3js.org/d3.v4.min.js"></script>
<script type="text/javascript" src="http://d3js.org/d3-selection-multi.v1.min.js"></script>
<style>
@DmitryevichD
DmitryevichD / README.md
Created July 15, 2024 05:44 — forked from acamino/README.md
Shortcuts to Improve Your Bash & Zsh Productivity

Shortcut — Action

  • CTRL + A — Move to the beginning of the line
  • CTRL + E — Move to the end of the line
  • CTRL + [left arrow] — Move one word backward (on some systems this is ALT + B)
  • CTRL + [right arrow] — Move one word forward (on some systems this is ALT + F)
  • CTRL + U — (bash) Clear the characters on the line before the current cursor position
  • CTRL + U —(zsh) If you're using the zsh, this will clear the entire line
  • CTRL + K — Clear the characters on the line after the current cursor position
  • ESC + [backspace] — Delete the word in front of the cursor
@DmitryevichD
DmitryevichD / cheatsheet-elasticsearch.md
Created December 10, 2023 18:01 — forked from ruanbekker/cheatsheet-elasticsearch.md
Elasticsearch Cheatsheet : Example API usage of using Elasticsearch with curl
@DmitryevichD
DmitryevichD / amqp-duplicates.md
Last active June 9, 2023 12:10
amqp message duplicate

Дублирование сообщений для очередей подписок и аккаунтов

Необходимо иметь доступ к UI консоли рэббита и доступ к rabbitmqadmin

Шаг 1. Проврека наличия плагина shovel

rabbitmq-plugins list

При необходимости включить плагин

Общая информация

  • Используются 2 сети:
DEV - 192.168.11.0/24
QA  - 192.168.22.0/24
Общие компоненты имеют 2 IP адреса, для доступа из 2х сетей
  • Быстрые диски HDD (fast) монтируются в директорию /data
  • На каждой VM следует создать пользователя techuser 1000:1000 для выполнения тех. работ и для случаев, если вдруг OpenLDAP недоступен
  • Предустановленное ПО
@DmitryevichD
DmitryevichD / notes.md
Created September 13, 2022 17:00
[Aristocrat logging CI\CD] #Aristocrat #Jenkins

Is everything we do in Jenkins arriving in kibana?

No. :)

Details

  • Filebeat DeamonSet is trying to create a index template.

    • script uses filebeat export that contains too much unused patterns
    • curl can't work because the line doesn't contain a credential for elasticsearch
  • Kibana index pattern

 "_index" : ".kibana_7.17.0_001",

export files to minio

To add minio to service I am going to do (estimate arond 10d):

  • add a spring-boot dependency to work with minio (ncube-reporting-batch-processor) 5d
  • add a spring-boot dependency to work with minio (ncube-reporting-configuration-application) 5d
  • create a property flag that can on\off this functional (It's set to off by default)
  • add a logic to the ReportPDFWriter and ReportPDFWriter classes
  • add tests

concern about dev process:

@DmitryevichD
DmitryevichD / ruleServiceMapValue.md
Last active March 30, 2022 09:58
Rule service. Add-ons for the rule expressions contract #rule-service

Abstract expression language v2.0.1

Innovations:

  • Expressions can return result as simple types (date, boolean, number, version, string)

  • Expressions can use names functions with predefined logic and signature such as (some, every, count, min, max, if etc)

  • Expression can use new type (dictionary)

  • Backward compatibility with contract v1.0.0

@DmitryevichD
DmitryevichD / nginx.conf
Created March 1, 2022 15:53 — forked from Stanback/nginx.conf
Example Nginx configuration for adding cross-origin resource sharing (CORS) support to reverse proxied APIs
#
# CORS header support
#
# One way to use this is by placing it into a file called "cors_support"
# under your Nginx configuration directory and placing the following
# statement inside your **location** block(s):
#
# include cors_support;
#
# As of Nginx 1.7.5, add_header supports an "always" parameter which
@DmitryevichD
DmitryevichD / mongo-tips.md
Created February 23, 2022 11:27
[Mongo] #mongo

Admin

show databases - show available databases

show collections - show collections in current database

use <database> - do database with name as default

Collections