Skip to content

Instantly share code, notes, and snippets.

View jonyr's full-sized avatar

Juan Rabadan jonyr

View GitHub Profile
# Luke's config for the Zoomer Shell
# Enable colors and change prompt:
autoload -U colors && colors
PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b "
# History in cache directory:
HISTSIZE=10000
SAVEHIST=10000
HISTFILE=~/.cache/zsh/history
@matog
matog / home_media_server.md
Last active November 22, 2021 18:58
Apuntes para la instalación de dockSTARTer

Apuntes para la instalación de dockSTARTer

Problemas de permisoss para agregar la root folder a sonarr y radarr

sudo chown -R $USER:$USER /home/mato/storage

DuckDNS

https://www.duckdns.org/install.jsp#linux-cron

Software

https://github.com/GhostWriters/DockSTARTer

@bradtraversy
bradtraversy / docker-help.md
Last active July 9, 2024 10:18
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@Nightbr
Nightbr / .dockerignore
Last active March 3, 2022 12:42
FusionInvoice Docker
.tmp
.git
docker-compose.yml
Dockerfile
@hussaintamboli
hussaintamboli / Python Pagination
Last active December 30, 2021 19:38
Code snippet for basic Pagination logic in python
START, END, WINDOW = 0, 15, 5
def pages(page):
start = page - WINDOW/2
end = page + WINDOW/2
if start >= START and end <= END:
return range(start, end+1)
if start <= START: