Install the Rails gem if you haven't done so before
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.
- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
This reference is aimed at allowing you to comfortably read erlang documentation and consume terms printed in Erlang format. It does not aim at allowing you to write Erlang code.
This is a modified version of http://elixir-lang.org/crash-course.html
Erlang and Elixir have the same data types for the most part, but there are a number of differences.
My Elasticsearch cheatsheet with example usage via rest api (still a work-in-progress)
- Website: https://stimulusjs.org/
- GitHub repo: https://github.com/stimulusjs/stimulus
- Handbook: https://stimulusjs.org/handbook/introduction
- Discourse: https://discourse.stimulusjs.org/
initialize: once, when the controller is first instantiatedconnect: anytime the controller is connected to the DOM
- Creating Elixir libraries as OTP applications
- hub: elixirphoenix
- hub: elixir
- Elixir Killer Tips
- Elixir recipes
- http://elixirschool.com/
- Elixir quick_reference
- Elixir: начинаем работу с Plug
- Минимальный HTTP API Endpoint используя Elixir
- Создание движка для блога с помощью Phoenix и Elixir / Часть 1. Вступление
| #!/usr/bin/env bash | |
| set -e | |
| # https://docs.docker.com/engine/install/ubuntu/ | |
| sudo apt-get -y install apt-transport-https ca-certificates curl software-properties-common | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - 2>/dev/null | |
| sudo echo "deb [arch=amd64] https://download.docker.com/linux/$(lsb_release -is | tr '[:upper:]' '[:lower:]') bionic stable" > /etc/apt/sources.list.d/docker.list | |
| sudo apt-get -y update |
how-do-i-discard-unstaged-changes-in-git
If you want to revert changes made to your working copy, do this
git checkout .
| # ---- Build Stage ---- | |
| FROM erlang:22-alpine AS app_builder | |
| # Set environment variables for building the application | |
| ENV MIX_ENV=prod \ | |
| TEST=1 \ | |
| LANG=C.UTF-8 | |
| # Fetch the latest version of Elixir (once the 1.9 docker image is available you won't have to do this) | |
| RUN set -xe \ |
