Skip to content

Instantly share code, notes, and snippets.

View minrk's full-sized avatar

Min RK minrk

View GitHub Profile
apiVersion: batch/v1
kind: Job
metadata:
name: s3-clone
spec:
parallelism: 1
template:
metadata:
labels:
app: cloner
FROM python:3.13-slim
RUN pip install boto3
COPY s3rmrf.py /usr/local/bin/s3rmrf.py
apiVersion: batch/v1
kind: Job
metadata:
name: s3-delete
spec:
parallelism: 1
template:
metadata:
labels:
app: deleter
<html>
<head>
<title>test</title>
</head>
<body>
<div id="out"></div>
<script type="text/javascript">
function onMessage(evt) {
const msg = JSON.parse(evt.data);
console.log(msg);
import json
import secrets
import sys
import time
import uuid
from copy import deepcopy
from dataclasses import asdict, dataclass
from functools import partial, wraps
from pathlib import Path
from subprocess import check_output
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.