Skip to content

Instantly share code, notes, and snippets.

@golavr
golavr / home-stream.md
Last active March 9, 2025 15:37
Docker images to run home server
media
├── movies
├── shows
└── torrents

~docker network create arr

.env

@golavr
golavr / _0__ssl_certbot_letsencrypt.md
Created December 9, 2022 09:24 — forked from maxivak/_0__ssl_certbot_letsencrypt.md
Let's encrypt SSL certificates using certbot in docker

Directories on host machine:

  • /data/certbot/letsencrypt

  • /data/certbot/www

  • Nginx server in docker container

docker run -d --name nginx \
@golavr
golavr / OnFailureCompensate.cs
Created December 8, 2018 21:52
OnFailureCompensate - get back to success track the functional way
using System;
using CSharpFunctionalExtensions;
namespace OnFailureCompensate
{
class Program
{
static void Main(string[] args)
{
FunctionalWithoutCompensate(1);