Skip to content

Instantly share code, notes, and snippets.

# https://github.com/GalleyBytes/terraform-operator-tasks/
# TODO: Rebuild image from source and upgrade Terraform
FROM ghcr.io/galleybytes/terraform-operator-tftaskv1.1.1:1.4.6
# https://blog.nashtechglobal.com/using-terraform-without-internet/
# Cache directory needs to be writeable by the user
COPY --chown=2000:0 providers.tf terraform.rc /terraform/
RUN cd /terraform && \
@manics
manics / requirements.txt
Created November 10, 2025 10:56
pip-tools
pip-tools
name: example-environment
channels:
- conda-forge
dependencies:
- python=3.14
- numpy
- pandas
- matplotlib
- pip
- pip:
pypi-timemachine
requests
@manics
manics / README.md
Created August 13, 2025 14:15
Hugo example
@manics
manics / extract-tag-changelog.py
Last active August 4, 2025 18:19
Extract relevant sections of a CHANGELOG for a given version
#!/usr/bin/env python
from argparse import ArgumentParser
from base64 import b64decode
from github import Github, GithubException
import os
import re
# If None then unauthenticated requests are made (may hit API limits)
GITHUB_TOKEN = os.getenv("GITHUB_TOKEN")
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
name: example-environment
channels:
- conda-forge
dependencies:
- python=3.12
- uv
- pip
- pip:
- juvio
name: gmft
channels:
- conda-forge
dependencies:
- pytorch
- pip
- pip:
- gmft
@manics
manics / omop-cdm-postgres.sh
Created March 20, 2025 17:51
OMOP CDM PostgreSQL database with example data
#!/bin/sh
# First run postgres, e.g.
# nerdctl run -it --rm -p5432:5432 -e POSTGRES_PASSWORD=password docker.io/library/postgres:17
set -eu
# Postgres connection details
PG_HOST=127.0.0.1
PG_USER=postgres
PG_SCHEMA=public