Skip to content

Instantly share code, notes, and snippets.

View suharevA's full-sized avatar

alexey.suharev suharevA

View GitHub Profile
@alexcpn
alexcpn / Velero-Restic-CSI tests.md
Last active February 23, 2023 07:43
Test of Velero Restic based bacup of PV,PVCs, CSI Snapshot , StatefulSets etc from one cluster to another
@Mau5Machine
Mau5Machine / docker-compose.yml
Last active April 9, 2024 16:00
Traefik Configuration and Setup
version: "3.3"
services:
################################################
#### Traefik Proxy Setup #####
###############################################
traefik:
image: traefik:v2.0
restart: always
@gdamjan
gdamjan / ssl-check.py
Last active April 14, 2024 07:16
Python script to check on SSL certificates
# -*- encoding: utf-8 -*-
# requires a recent enough python with idna support in socket
# pyopenssl, cryptography and idna
from OpenSSL import SSL
from cryptography import x509
from cryptography.x509.oid import NameOID
import idna
from socket import socket
#!/bin/bash
#usage
# ./search.sh "(uid=person)" mail
# returns the "mail" value from uid person
ldaphost=ldap://server:389
ldapuser=cn=config
ldappass=password_hele
@subfuzion
subfuzion / curl.md
Last active May 16, 2024 18:04
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.