Skip to content

Instantly share code, notes, and snippets.

View OndrejValenta's full-sized avatar

Ondrej Valenta OndrejValenta

View GitHub Profile
@OndrejValenta
OndrejValenta / rocky_linux-zsh-git-python-pipenv.md
Last active July 1, 2023 23:33
Zsh + Git + PipEnv on Rocky Linux KDE

Installation steps for Git + PipEnv on Rocky Linux KDE

Prepare environment

sudo dnf -y update
sudo yum install -y epel-release
sudo dnf install -y wget curl nano mc git
sudo dnf groupinstall -y "Development Tools"
@OndrejValenta
OndrejValenta / rocky_linux-docker.md
Created July 1, 2023 23:58
Install Docker on Rocky Linux 9 with normal user being able to up/down containers
@OndrejValenta
OndrejValenta / install_minio_rockylinux.md
Last active March 4, 2024 02:54
Install Minio.io on RockyLinux

Install standards

Installs also firewalld !!

You can skip this step completely.

sudo dnf -y update sudo yum install -y epel-release sudo dnf install -y tar wget curl nano mc firewalld htop git

@OndrejValenta
OndrejValenta / install_grafana-loki-prometheus_rockylinux9.md
Created March 4, 2024 03:09
Install Grafana/Loki/Prometheus on RockyLinux 9

Installation of Grafana on RHEL

wget -q -O gpg.key https://rpm.grafana.com/gpg.key sudo rpm --import gpg.key

nano /etc/yum.repos.d/grafana.repo and paste

[grafana]
@OndrejValenta
OndrejValenta / create-svg-preview-grid.ps1
Created March 7, 2025 16:30
Create SVG Preview html file that you can serve with live-server or similar.
# Define the folder path where SVG files are located
$folderPath = ".\"
# Get a list of all SVG files in the folder
$svgFiles = Get-ChildItem -Path $folderPath -Filter *.svg
# Create an HTML header with a grid layout
$htmlContent = @"
<!DOCTYPE html>
<html lang="en">