Skip to content

Instantly share code, notes, and snippets.

View acantril's full-sized avatar
💭
New Course time !!

Adrian Cantrill acantril

💭
New Course time !!
View GitHub Profile
@acantril
acantril / proxmox-ceph.md
Created January 14, 2025 08:45 — forked from scyto/proxmox-ceph.md
setting up the ceph cluster

CEPH HA Setup

Note this should only be done once you are sure you have reliable TB mesh network.

this is because proxmox UI seems fragile wrt to changing underlying network after configuration of ceph.

All installation done via command line due to gui not understanding the mesh network

This setup doesn't attempt to seperate the ceph public network and ceph cluster network (not same as proxmox clutser network), The goal is to get an easy working setup.

this gist is part of this series

@acantril
acantril / iterm2-solarized.md
Created February 14, 2020 05:50 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@acantril
acantril / zwave-events.py
Created April 3, 2017 05:12 — forked from clintoncrick/zwave-events.py
Script to monitor OpenZWave events for Remotec ZRC-90US and send event to Home Assistant. Supports single click, double click, and long press.
#!/usr/bin/env python3
import socket
import requests
from subprocess import Popen, PIPE
import json
# These lines are examples only. They may be useful to compare what your remote sends. To capture the codes that your remote sends,
# tail the OZW_Log.
Outputs:
s3bucketurl:
Description: URL for Bucket
Value: !GetAtt s3bucket.WebsiteURL
Resources:
s3bucket:
Type: "AWS::S3::Bucket"
Properties:
AccessControl: PublicRead
WebsiteConfiguration:
ErrorDocument: index.html
IndexDocument: index.html
bucketpolicy:
Type: "AWS::S3::BucketPolicy"