Skip to content

Instantly share code, notes, and snippets.

View minrk's full-sized avatar

Min RK minrk

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
services:
proxy:
image: ghcr.io/minrk/configurable-http-proxy:custom-dump-netstat
# build:
# context: ..
command:
- --error-target=http://error-target
- --default-target=http://169.254.0.0
- --log-level=debug
environment:
FROM python:3.13-alpine
RUN apk add --no-cache net-tools
RUN pip install tornado
COPY main.py /main.py
CMD ["python3", "main.py"]
@minrk
minrk / GPTutorial.ipynb
Created September 17, 2025 21:53 — forked from fonnesbeck/GPTutorial.ipynb
An iPython notebook containing a short PyMC tutorial on Gaussian Processes. Requires PyMC and iPython (>=0.12) to be installed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
c = get_config() # noqa
# dummy deployment boilerplate
c.JupyterHub.authenticator_class = "dummy"
c.JupyterHub.spawner_class = "simple"
c.JupyterHub.ip = "127.0.0.1"
c.JupyterHub.load_roles = [
{
"name": "user",
@minrk
minrk / Dockerfile
Last active April 28, 2025 07:58
locked derivate image from jupyter docker stack
ARG BASE_IMAGE=quay.io/jupyter/minimal-notebook:2025-04-28
FROM $BASE_IMAGE
# copy the locked environment.yaml
COPY conda-*.lock.yml /tmp/env.yml
# update the base env with this
RUN mamba env update -n base -f /tmp/env.yml \
&& mamba clean --all
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.