Skip to content

Instantly share code, notes, and snippets.

View fidanf's full-sized avatar
⚙️
Vagrantusiast

Frank Fidanza fidanf

⚙️
Vagrantusiast
View GitHub Profile
@fidanf
fidanf / install-ssm-agent
Last active August 18, 2025 17:29
ssm-agent
#!/bin/bash
set -euo pipefail
ARCH=$(dpkg --print-architecture) # returns amd64 or arm64
TMPDIR=$(mktemp -d)
PKG_FILE="$TMPDIR/amazon-ssm-agent.deb"
# Map dpkg arch to SSM path
case "$ARCH" in
amd64)
@fidanf
fidanf / docker-compose.glances.yml
Created July 29, 2021 20:55
Run Glances in the web browser using Docker Compose
---
version: '3.8'
services:
glances:
image: nicolargo/glances:3.2.0-full
container_name: glances-plexmediaserver
pid: host
network_mode: host # http://<ip>:61208
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro