Skip to content

Instantly share code, notes, and snippets.

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
@manics
manics / k3s_gVisor_install.md
Created March 15, 2025 17:48 — forked from Frichetten/k3s_gVisor_install.md
How to install and configure gVisor for K3s

How to install and configure gVisor for K3s

This gist is a quick explainer on how to install and configure gVisor on K3s. There is a sort of hidden gotcha if you aren't reading the documentation thoroughly. If you already have a K3s cluster setup skip to the appropriate section below.

Install K3s

Install K3s as described in the documentation.

Install gVisor

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@manics
manics / README.md
Last active December 7, 2024 17:06
Jupyter dotnet
@manics
manics / environment.yml
Created December 7, 2024 14:20
Jupyter dotnet
name: deno
channels:
- conda-forge
dependencies:
- dotnet>=8
@manics
manics / environment.yml
Created November 29, 2024 23:01
Jupyter Deno
name: deno
channels:
- conda-forge
dependencies:
- deno>=2
@manics
manics / README.md
Last active October 4, 2024 16:09
Test JupyterHub Authenticator configuration from the command line

JupyterHub Authenticator command line tester

It's often difficult to find the correct configuration for JupyterHub Authenticators, especially LDAP.

This command line utility loads your jupyterhub_config.py file, and attempts to login using a configured username and password with debug logging enabled. This should allow you to quickly see whether your Authenticator configuration is correct.

@manics
manics / docker-compose.yml
Last active August 31, 2024 17:25
Example of using JupyterHub with an Apache proxy under a prefix
# Example of using JupyterHub with an Apache proxy under a prefix
version: "3"
services:
jhub:
image: quay.io/jupyterhub/jupyterhub-demo:5.1.0
networks:
- jhub
volumes:
name: nbgitpuller
channels:
- conda-forge
dependencies:
- python=3.12
- nbgitpuller