Skip to content

Instantly share code, notes, and snippets.

View miladjahandideh's full-sized avatar
🏠
Working Remote

Milad Jahandideh miladjahandideh

🏠
Working Remote
  • /home/milad
View GitHub Profile
@miladjahandideh
miladjahandideh / ovn-ovs-cheat-sheet.md
Last active December 26, 2025 16:26
Open vSwitch & OVN Command Cheat Sheet

Open vSwitch & OVN Command Cheat Sheet

Open vSwitch (OVS) Commands

Bridge Management

# List all bridges
ovs-vsctl show
@miladjahandideh
miladjahandideh / main.go
Last active October 23, 2025 09:27
Go Lang Review Notes
package main
import (
"bufio"
"context"
"crypto/md5"
"database/sql"
"encoding/json"
"errors"
"fmt"
@miladjahandideh
miladjahandideh / benchmark-base.md
Created August 18, 2025 16:54 — forked from superboum/benchmark-base.md
Benchmark your disk with FIO

Install FIO on Ubuntu/Debian:

sudo apt update
sudo apt install -y fio lshw

Install FIO on Fedora:

@miladjahandideh
miladjahandideh / opensearch-host-maintenance.sh
Last active November 27, 2023 13:35
OpenSearch HOST MAINTENANCE
GET _cluster/health
GET _cat/nodes
GET _cluster/settings
PUT _cluster/settings
{
"persistent": {
"cluster.routing.allocation.enable": "none"
@miladjahandideh
miladjahandideh / ceph-host-maintenance.md
Last active December 12, 2023 11:31
Ceph HOST MAINTENANCE

Ceph host maintenance enable/disable with cephadm

ceph orch host ls

ceph orch host ok-to-stop

ceph mgr fail my-ceph-host-1-xyz # If mgr is on this node/host

ceph orch host maintenance enter my-ceph-host-1