This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
| #!/bin/sh | |
| # Userland mode (~$USER/), (~/). | |
| # ~/.fonts is now deprecated and that | |
| #FONT_HOME=~/.fonts | |
| # ~/.local/share/fonts should be used instead | |
| FONT_HOME=~/.local/share/fonts | |
| echo "installing fonts at $PWD to $FONT_HOME" | |
| mkdir -p "$FONT_HOME/adobe-fonts/source-code-pro" |
| module WriterMonad where | |
| -- From http://learnyouahaskell.com/for-a-few-monads-more | |
| -- This example no longer works without tweaking - see | |
| -- http://stackoverflow.com/questions/11684321/how-to-play-with-control-monad-writer-in-haskell | |
| -- just replace the data constructor "Writer" with the function "writer" in the line marked "here" | |
| -- That changed with mtl going from major version 1.* to 2.*, shortly after LYAH and RWH were written | |
| import Control.Monad.Writer | |