sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.
A primer/refresher on the category theory concepts that most commonly crop up in conversations about Scala or FP. (Because it's embarassing when I forget this stuff!)
I'll be assuming Scalaz imports in code samples, and some of the code may be pseudo-Scala.
A functor is something that supports map
.
I'm be using DreamCompute as my OpenStack provider, but there are dozens to choose from. I assume you already have Ansible and the OpenStack CLI tools installed.
With the proliferation of OpenStack public clouds offering free and intro tiers, it's becoming very easy to effectively run a simple application for free or nearly free. Also with the emergence of Ansible, you don't need to learn and deploy complicated tools to do configuration management.
#!/bin/bash | |
# xcode command tool | |
xcode-select --install | |
# check | |
xcode-select -p | |
# homebrew | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" |
import java.nio.charset.StandardCharsets._ | |
import java.security._ | |
import javax.crypto._ | |
import javax.crypto.spec._ | |
import base64.Encode.{ apply => toBase64 } | |
import base64.Encode.{ urlSafe => toBase64UrlSafe } | |
import base64.Decode.{ apply => fromBase64 } | |
import base64.Decode.{ urlSafe => fromBase64UrlSafe } |