When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:
main {
max-width: 38rem;
padding: 2rem;
margin: auto;
}| /*?sr/bin/env go run "$0" "$@"; exit $? #*/ | |
| // This is actually not a shebang, the first line is both valid shell script and valid go code | |
| // Just run: chmod +x pass.go; ./pass.go | |
| package main | |
| import ( | |
| "bufio" | |
| "crypto/sha256" | |
| "encoding/base64" | |
| "fmt" |
| #!/bin/bash | |
| set -euo pipefail | |
| ###################################################### | |
| ## REQUIREMENTS | |
| ## * proper configured and running avn cli: (https://github.com/aiven/aiven-client) | |
| ## * installed fzf (https://github.com/junegunn/fzf) | |
| ## * installed jq (https://github.com/stedolan/jq) | |
| ## * docker | |
| ###################################################### | |
| ## CHANGE BELOW IF NECESSARY |
| ## Systemd user unit file for pulseaudio-dlna | |
| # Copy to: ~/.config/systemd/user/pulseaudio-dlna.service | |
| # Enable: systemctl --user enable pulseaudio-dlna | |
| [Unit] | |
| Description=PulseAudio-DLNA Service | |
| [Install] | |
| WantedBy=default.target |
| package main | |
| import ( | |
| "crypto/aes" | |
| "crypto/cipher" | |
| "crypto/rand" | |
| "encoding/base64" | |
| "fmt" | |
| "io" | |
| ) |