Skip to content

Instantly share code, notes, and snippets.

View pljoel's full-sized avatar

Joel Perron-Langlois pljoel

  • Montréal, Qc
View GitHub Profile
@rameerez
rameerez / postgres-production-setup.sh
Last active December 17, 2025 07:32
PostgreSQL Production Server Setup - Set up a new Ubuntu Server 24.04 LTS machine to run a production Postgres server
#!/bin/bash
# This script takes a clean Ubuntu Server 24.04 LTS image and installs and configures
# everything needed to deploy a production-ready PostgreSQL server.
set -euo pipefail
# --- AESTHETICS ---
GREEN='\033[0;32m'
@pljoel
pljoel / vsphere_priv_ids.md
Last active February 10, 2025 11:53
VMware vSphere Privilege IDs

VMware vSphere Privilege ID Mapping

This file contains the mapping between the VMware vSphere UI Privileges and the Privilege IDs. The mapping can be useful when working with the vSphere APIs, vsphere_role resource of the Hashicorp Terraform vSphere provider, etc.

The following privileges have been retrieved from VMware vCenter Server 7.0 Update 3H:

Category (UI) / Managed Object Type Group Name (UI) / Group ID Privilege Name (UI) / Privilege Name Privilege ID
Alarms
Alarm
- Acknowledge alarm
Acknowledge
Alarm.Acknowledge
Alarms
Alarm
- Create alarm
Create
Alarm.Create