Skip to content

Instantly share code, notes, and snippets.

View johncm's full-sized avatar

John Chambers-Malewig johncm

  • Chicago, IL - USA
View GitHub Profile
@johncm
johncm / Setup.md
Created November 23, 2025 17:16
Win 11-VSCode-WSL

@johncm
johncm / combined.md
Last active March 8, 2024 20:11
nginx-proxy# #docker-compose_Proxy
docker run -d -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock:ro jwilder/nginx-proxy
docker run -d -p 80:80 -e DEFAULT_HOST=foo.bar.com -v /var/run/docker.sock:/tmp/docker.sock:ro jwilder/nginx-proxy

version: '2'

services: nginx-proxy: image: jwilder/nginx-proxy ports:

@johncm
johncm / Overview.gv
Last active March 13, 2024 15:44
# #docker-compose_Synology
strict digraph "Media Overview" {
/* Graph Attributes - https://graphviz.org/docs/graph/ */
graph [
layout=dot;
/* dot */
clusterrank=local;
compound=true;
/* Splines */
splines=curved;
concentrate=true;
@johncm
johncm / !ProxmoxVE.md
Last active June 27, 2025 06:13
!# #ProxmoxVE

[Proxmox] VE

Thanks [MacRimi/ProxMenux]

Run the command below in the Proxmox Shell to install ProxMenux.

bash -c "$(wget -qLO - https://raw.githubusercontent.com/MacRimi/ProxMenux/main/install_proxmenux.sh)"

(Console/shell)

@johncm
johncm / Storage Pool.md
Last active March 7, 2023 01:07
!# #Synology

Synology Storage Pool Setup

If you are adding a new drive, you must create a Storage Pool and then create one or more Volumes for it.

  • Create a Storage Pool (Only)

    • In storage manager, click [Storage Pool], then click [Create]
      • If [Create] is not an option, all drives have been assigned. Add a drive.

      You may choose the Quick option to create a storage pool with SHR RAID type.

      1. If you Select a Storage Pool type Quick, click [Next]
  • This will perform a lengthy Check of the Storage Pool drive(s).
@johncm
johncm / USB2ISO.md
Last active March 4, 2023 00:25
!# #USB

USB to ISO

Linux

sudo dd if=/dev/sdX of=~/<name>.iso
@johncm
johncm / !ProxmoxBS.md
Last active March 1, 2023 09:28
!# #ProxmoxBS

[ProxMox] Backup Server

Thanks Proxmox Helper Scripts

Run the command below in the Proxmox Shell. ⚠️ Proxmox Backup Server ONLY

bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/post-pbs-install.sh)"

It is recommended to answer “yes” (y) to all options presented during the process.

@johncm
johncm / !GistPad.md
Last active June 9, 2025 19:50
!# #GistPad
@johncm
johncm / Host---Instructions.md
Last active March 16, 2024 15:07
Passthrough# #ProxmoxVE
runme
id version
01HNGD1NRP475HNWZE00BJQEX0
v2.2

GPU passthrough is a technology that allows the Linux kernel to directly present an internal PCI GPU to a virtual machine.

@johncm
johncm / !Remove.md
Last active May 7, 2024 06:42
Cluster# #ProxmoxVE

Proxmox - Remove Node from cluster

Caution Read the procedure carefully before proceeding, as it may not be what you want or need.

Use the Proxmox VE Cluster Manager command to show the status of the cluster.

pvecm status

(Console/shell)


Error: Corosync config '/etc/pve/corosync.conf' does not exist - is this node part of a cluster?