Skip to content

Instantly share code, notes, and snippets.

@kutsoff
kutsoff / test_setup.py
Created October 30, 2025 13:30 — forked from Pilipets/test_setup.py
Kafka SASL_SSL docker setup with OAUTHBEARER Keycloak OIDC
# https://medium.com/@pilipets.gleb/kafka-sasl-ssl-docker-setup-with-oauthbearer-keycloak-oidc-82230264a438
#
import subprocess
import time
import traceback
import requests
import base64
import json
import kafka
import confluent_kafka
@kutsoff
kutsoff / frontend-ws-connection.ts
Created August 7, 2024 11:34 — forked from jsdevtom/frontend-ws-connection.ts
kubernetes-ingress websockets with nodejs
export const ws = webSocket<WebsocketMessage>(`wss://${location.hostname}:${location.protocol === 'https:' ? 443 : 80}/ws/`);
export const wsObserver = ws
.pipe(
retryWhen(errors =>
errors.pipe(
delay(1000)
)
)
);
@kutsoff
kutsoff / linux.md
Created April 29, 2024 07:03 — forked from miranda-zhang/linux.md
Linux Command Cheat Sheet, Ubuntu, CentOS

Linux Command Cheatsheet

Linux Keyboard shortcuts

open terminal: Ctrl+Alt+T

Ctrl + C is used to kill a process with signal SIGINT , in other words it is a polite kill .

Ctrl + Z is used to suspend a process by sending it the signal SIGTSTP , which is like a sleep signal, that can be undone and the process can be resumed again.