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
| {-# LANGUAGE DeriveGeneric #-} | |
| {-# LANGUAGE OverloadedStrings #-} | |
| {-# LANGUAGE FlexibleInstances #-} | |
| {-# LANGUAGE TypeFamilies #-} | |
| {-# LANGUAGE TypeApplications #-} | |
| {-# LANGUAGE StandaloneDeriving #-} | |
| {-# LANGUAGE TypeSynonymInstances #-} | |
| {-# LANGUAGE MultiParamTypeClasses #-} | |
| {-# LANGUAGE PartialTypeSignatures #-} | |
| {-# LANGUAGE ImpredicativeTypes #-} |
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
| <html> | |
| <script> | |
| var xhr = new XMLHttpRequest(); | |
| xhr.open("POST", 'http://localhost:8080/applications', true); | |
| //Send the proper header information along with the request | |
| xhr.setRequestHeader("Content-type", "application/json"); |
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
| {-# LANGUAGE DeriveGeneric #-} | |
| {-# LANGUAGE OverloadedStrings #-} | |
| module Simple.FactorTrust.Proprietary where | |
| import Control.Monad.Except (Except) | |
| import Control.Monad.IO.Class (MonadIO) | |
| import Control.Monad.Catch (MonadCatch) | |
| import Data.Aeson (ToJSON) | |
| import GHC.Generics (Generic) | |
| import Simple.FactorTrust.SendInquiry (sendAPI) |
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
| {-# LANGUAGE DeriveGeneric #-} | |
| {-# LANGUAGE OverloadedStrings #-} | |
| {-# LANGUAGE QuasiQuotes #-} | |
| {-# LANGUAGE TupleSections #-} | |
| module HRForms.Data.Answer where | |
| import Prelude hiding (id) | |
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
| {-# LANGUAGE OverloadedStrings #-} | |
| {-# LANGUAGE DeriveGeneric #-} | |
| import Control.Monad.IO.Class (liftIO) | |
| import Data.Aeson (ToJSON, Value) | |
| import Data.Time.Clock (UTCTime, getCurrentTime) | |
| import Data.Text.Lazy (Text) | |
| -- import Data.Monoid (mconcat) |
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 Reuse.TabsExercise exposing (..) | |
| import Html exposing (Html, div, text, button, span, header, a) | |
| import Html.Attributes exposing (style) | |
| import Html.Events exposing (onClick) | |
| import Html.App as Html | |
| import Reuse.Functions as Order exposing (Msg3(..), update3, Model) | |
| import Reuse.Examples.Button as Button | |
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 Outside.AdvancedJson exposing (..) | |
| import Json.Decode as Json exposing (decodeString, succeed, string, (:=), Decoder, maybe, oneOf, list, float, int) | |
| import Json.Decode.Extra exposing ((|:)) | |
| import Json.Encode as Encode | |
| import String | |
| import Html exposing (div, h1, h2, text, button, ul, li, Html) | |
| import Html.App exposing (program) | |
| import Html.Events exposing (onClick) | |
| import Http |
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
| fade : Bool -> Float -> Styles | |
| fade isShown splashHeight = | |
| [ transition "opacity 250ms, margin-top 250ms 250ms" | |
| , opacity (float 0) | |
| , marginTop (px -splashHeight) | |
| ] | |
| ++ if isShown then | |
| fadeShown | |
| else | |
| [] |
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
| // | |
| // Post.swift | |
| // | |
| // | |
| // Created by Greg Rosich on 7/14/16. | |
| // | |
| // | |
| import Foundation |
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
| (defproject sampling "0.1.0-SNAPSHOT" | |
| :description "FIXME: write description" | |
| :url "http://example.com/FIXME" | |
| :license {:name "Eclipse Public License" | |
| :url "http://www.eclipse.org/legal/epl-v10.html"} | |
| :dependencies [[org.clojure/clojure "1.7.0"] | |
| [org.clojure/clojurescript "1.7.170"] | |
| [reagent "0.5.1" :exclusions [cljsjs/react]] | |
| [re-frame "0.6.0"] | |
| [prismatic/schema "1.0.4"]] |