Skip to content

Instantly share code, notes, and snippets.

Avatar

Till Dettmering dettmering

View GitHub Profile
View docker-compose.yaml
version: '3.1'
services:
unifi:
container_name: unifi
restart: unless-stopped
image: linuxserver/unifi
volumes:
- /srv/docker/unifi:/config
environment:
- PGID=0
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@afternoon
afternoon / git-slim.py
Created Dec 5, 2011
Remove large objects from a git repository
View git-slim.py
#!/usr/bin/python
#
# git-slim
#
# Remove big files from git repo history.
#
# Requires GitPython (https://github.com/gitpython-developers/GitPython)
#
# References:
# - http://help.github.com/remove-sensitive-data/