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
module NoteSaver where | |
import Html exposing (..) | |
import Html.Attributes exposing (class) | |
import StartApp | |
import Effects | |
app = | |
StartApp.start | |
{ init = (initialModel) |
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
module Saints where | |
import Http | |
import Html exposing (Html) | |
import Task exposing (Task, andThen, toResult) | |
import Json.Decode as Json exposing ((:=)) | |
-- queries postgres for authentication token | |
-- displays token | |
-- successful query comes back with 201 status and body {"token": "longSecretToken"} |
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
{ | |
"version": "2.0.1", | |
"summary": "Fast markdown parsing and rendering", | |
"repository": "https://github.com/evancz/elm-markdown.git", | |
"license": "BSD3", | |
"source-directories": [ | |
"src" | |
], | |
"exposed-modules": [ | |
"Markdown" |
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) |
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
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
[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
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
<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
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); | |
}) | |
OlderNewer