This file contains hidden or 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
pry(4)> conn |> put_layout("app.html") |> render("mp.html", model: model, page_controller: "prayer") | |
** (FunctionClauseError) no function clause matching in Phoenix.HTML.raw/1 | |
The following arguments were given to Phoenix.HTML.raw/1: | |
# 1 | |
{:ok, | |
"<div><div id='Psalm_102' class='req'> <h3>Psalm 102. <span class=\"ps_title\">Domine, exaudi.</span> </h3> </br> <ul class=\"psalm\"> <li class=\"ps_num\"><sup>1</sup></li> <li class=\"ps_first\">HEAR my prayer, O LORD, * </li> </ul> <ul class=\"psalm\"> <li class=\"ps_second\">and let my crying come unto thee.</li> </ul> <ul class=\"psalm\"> <li class=\"ps_num\"><sup>2</sup></li> <li class=\"ps_first\">Hide not thy face from me in the time of my trouble; * </li> </ul> <ul class=\"psalm\"> <li class=\"ps_second\">incline thine ear unto me when I call; O hear me, and that right soon.</li> </ul> < |
This file contains hidden or 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
# welp nearly grammar | |
@{% | |
const moo = require("moo"); | |
// FYI \u201C - left curly quote; \u201D - right curly quote | |
const lexer = moo.compile({ | |
ws: {match: /[ \t\n\r]+/, lineBreaks: true}, | |
number: /[0-9]+/, | |
letters: /[a-zA-Z]+/, | |
times: /\*|x/, |
This file contains hidden or 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
// Family Prayer | |
// Concerning the Service | |
// These devotions follow the basic structure of the Daily Office of the Church and are | |
// particularly appropriate for families with young children. | |
// The Reading and the Collect may be read by one person, and the other parts said in unison, | |
// or in some other convenient manner. | |
// Appropriate Opening Sentences, Psalms, Readings, and Collects are provided in each | |
// service. When desired, however, the Collect of the Day, or any of the Collects appointed in | |
// the Daily Offices, may be used instead. The Opening Sentences may be replaced by those | |
// appointed for various seasons in the liturgies for Morning and Evening Prayer. |
This file contains hidden or 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
var firstReading = Observable() | |
// mp1 has two Objects of | |
// {title: title, chap: chap, vsFrom: vsFrom, vsTo: vsTo, vss: vss} | |
mp1.forEach(function(el) { | |
var obj = getReading(el.read); | |
obj.type = el.style; | |
firstReading.add(obj); | |
}) | |
This file contains hidden or 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
<div id= "header-elm-container"></div> | |
<div> | |
<table id= "calendar"> | |
<tr> | |
<th class= "mpep_link" colspan= "3"><a href= "morningPrayer"><button>Morning Prayer</button></a></th> | |
<th class= "mpep_link">Today</th> | |
<th class= "mpep_link" colspan= "3"><a href= "eveningPrayer"><button>Evening Prayer</button></a></th> | |
</tr> | |
<tr> | |
<th class= "season_link" colspan= "2"> |
This file contains hidden or 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
type Msg | |
= NoOp | |
| Checked Key String | |
| ChangeVersion String | |
| ChangeFootnote Bool | |
update: Msg -> Model -> Model | |
update msg model = | |
case msg of | |
NoOp -> model |
This file contains hidden or 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
[33mBuilding release with MIX_ENV=prod.[0m | |
==> Generating relx configuration... | |
==> Generating sys.config... | |
==> Generating boot script... | |
==> Packaging consolidated protocols... | |
==> Generating release... | |
[0;32m===> Starting relx build process ... | |
[0m[0;36m===> state(api): | |
log: (3:debug), | |
config file: /Users/paulsutcliffe/Documents/I/iphod/rel/files/relx.config |
This file contains hidden or 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
athomeanglican:iphod paulsutcliffe$ iex -S mix | |
Erlang/OTP 18 [erts-7.2] [source-e6dd627] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] | |
mix.exs:12: warning: undefined module attribute @version, please remove access to @version or explicitly set it before access | |
Interactive Elixir (1.2.0) - press Ctrl+C to exit (type h() ENTER for help) | |
iex(1)> |
This file contains hidden or 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 Iphod.Mixfile do | |
use Mix.Project | |
def project do | |
[app: :iphod, | |
version: "0.0.1", | |
elixir: "~> 1.2.0", | |
elixirc_paths: elixirc_paths(Mix.env), | |
compilers: [:phoenix, :gettext] ++ Mix.compilers, | |
build_embedded: Mix.env == :prod, |
This file contains hidden or 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
ChangeDay day -> | |
let | |
bar = | |
Signal.send tomorrowFrom.address model.today | |
|> Task.toMaybe | |
|> Task.map NoOp | |
|> Effects.task | |
in | |
(model, Effects.none) |
NewerOlder