Skip to content

Instantly share code, notes, and snippets.

View medihack's full-sized avatar

Kai Schlamp medihack

  • Thoraxklinik Heidelberg
  • Germany
View GitHub Profile
@medihack
medihack / docker-swarm-gpu.md
Created June 13, 2024 19:00 — forked from tomlankhorst/docker-swarm-gpu.md
Instructions for Docker swarm with GPUs
@medihack
medihack / rate_limit2.py
Created December 9, 2021 12:57 — forked from josiahcarlson/rate_limit2.py
Regular and sliding window rate limiting to accompany two blog posts.
'''
rate_limit2.py
Copyright 2014, Josiah Carlson - josiah.carlson@gmail.com
Released under the MIT license
This module intends to show how to perform standard and sliding-window rate
limits as a companion to the two articles posted on Binpress entitled
"Introduction to rate limiting with Redis", parts 1 and 2:
@medihack
medihack / tmux.md
Created February 4, 2014 15:30 — forked from andreyvit/tmux.md

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a