(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
How to upgrade to Phoenix from 0.6.x
to 0.7.0
.
{:plug, github: "elixir-lang/plug", ref: "7040c89cb4cf1f1c6afdee379e5982a07d77a6c3"}
```
1. The `Pheonix.Controller` functions html/2, json/2, text/2, redirect/2 and render/3 no longer halt automatically. *Important*: You must now explicity call `halt/1` yourself if you want to stop invoking further plugs after calling these functions. This is improtant for auth filtering plugs, ie:
```elixir
defmodule MyApp.Periodically do | |
use GenServer | |
def start_link do | |
GenServer.start_link(__MODULE__, %{}) | |
end | |
def init(state) do | |
Process.send_after(self(), :work, 2 * 60 * 60 * 1000) # In 2 hours | |
{:ok, state} |
module Exercise where | |
import Prelude | |
import Data.AddressBook | |
import Data.Functor ((<$>)) | |
import Data.List (filter, head, null, nubBy) | |
import Data.Maybe (Maybe) | |
-- 1. |
#!/usr/bin/env bash | |
ENV_PATH="$(dirname "$(dirname "$(which pip)")")" | |
SYSTEM_VIRTUALENV="$(which -a virtualenv|tail -1)" | |
echo "Ensure the root of current virtualenv:" | |
echo " $ENV_PATH" | |
read -p "‼️ Say no if you are not sure (y/N) " -n 1 -r | |
echo | |
PYEXC_DEF="$(sed -n '1s/^#!//p' $SYSTEM_VIRTUALENV)" | |
read -p "🐍 Choose which python to use? [$PYEXC_DEF] " PYEXC |
This note details the changes made to the Zen and ZMK codebase to improve the experience of e-ink displays.
You can test out below changes using your Zen config repo by modifying your config/west.yml
file, following ZMK instructions:
manifest:
remotes:
- name: caksoylar