Skip to content

Instantly share code, notes, and snippets.

View JohnnyCurran's full-sized avatar

John Curran JohnnyCurran

  • Austin, TX
View GitHub Profile
" If you are in src/Main.elm
" this will run `elm make src/Main.elm --output Main.js
" This is helpful so that `elm make` doesn't blow away index.html
" Why would you want this?
" If you're using tailwindcss, you need to link the outputted css
" in the <head> tag and `elm make` will clear it every time
" if it regenerates index.html
" set makeprg=elm\ make\ %\ --output\ '%:t:r'.js
" This makeprg assumes you're using tailwindcss and re-runs the processor
# /etc/nginx/sites-available/default
# Phoenix LiveView Nginx configuration - Reverse proxy to Phoenix app running on localhost
# All lines with # managed by certbot are placed automatically by [certbot](https://certbot.eff.org)
# Replace $YOUR_SITE_NAME with your url host unless line is followed with # managed by Certbot
# Default server configuration
#
server {
listen [::]:443 ssl ipv6only=on; # managed by Certbot