Skip to content

Instantly share code, notes, and snippets.

View 128f's full-sized avatar
☠️

128f

☠️
View GitHub Profile
version: '3'
services:
prometheus:
network_mode: "host"
image: prom/prometheus
container_name: prometheus
restart: always
ports:
- "9090:9090"
volumes:
@128f
128f / calendar.js
Created June 29, 2022 15:09
A script to generate an ics file for AX2022
const allEvents = $$('.event');
function sanitizeTime(timeString) {
return timeString.split(/([0-9:]*)(AM|PM)/)
.filter(e => !!e)
.join(" ")
}
const events = allEvents.map((event) => {