Skip to content

Instantly share code, notes, and snippets.

View mpldr's full-sized avatar
➡️
Find me on Sourcehut

Moritz Poldrack mpldr

➡️
Find me on Sourcehut
View GitHub Profile
@nilp0inter
nilp0inter / fizzbuzz.rkt
Last active January 7, 2020 13:06
The first beautiful implementation of FizzBuzz?
#lang 2d racket
(require 2d/match)
(define (fizz? n)
(= 0 (modulo n 5)))
(define (buzz? n)
(= 0 (modulo n 3)))
@mosquito
mosquito / README.md
Last active September 9, 2024 17:44
Add doker-compose as a systemd unit

Docker compose as a systemd unit

Create file /etc/systemd/system/docker-compose@.service. SystemD calling binaries using an absolute path. In my case is prefixed by /usr/local/bin, you should use paths specific for your environment.

[Unit]
Description=%i service with docker compose
PartOf=docker.service
After=docker.service