This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule Myapp.PlaylistsUserChannel do | |
use Myapp.Web, :channel | |
import Ecto.Query | |
alias Myapp.Repo | |
alias Myapp.Playlist | |
alias Phoenix.Socket.Message |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ... | |
[osd] | |
# Don't update crush map on start - double root | |
osd crush update on start = false | |
# ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule ProfileWeb.CustomerChannel.Step2 do | |
@moduledoc """ | |
This module adds the application step 2 handlers to the channel | |
""" | |
defmacro __before_compile__(_env) do | |
quote do | |
def proceed_incoming("step2", | |
payload, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule IasipApi.Parsers.NioktrParser do | |
require Logger | |
# TODO: redesign component and split functional and supportive parts into modules | |
@empty_org %{ | |
okopf: "", | |
f_name: "", | |
s_name: "", | |
founder: "", |