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
type Company isAuthorized = Company Internals | |
authorize :: Accessor -> Company Unauthorized -> Either AuthorizationError (Company Authorized) | |
type Authorized = Authorized | |
type UnAuthorized = UnAuthorized | |
id :: Company isAuthorized -> Id Id.Company | |
id (Company internals) = |
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
{ | |
"sample": | |
{ | |
"description":"SE-image", | |
"image-url":"//www.specialelektronik.se/images/allman_kurser_1280x720.jpg" | |
} | |
} |
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
... | |
import SE.UI.Colors as Colors | |
... | |
filledBox : Colors.Hsla -> Html msg | |
filledBox color = | |
styled Html.Styled.div | |
[ Css.backgroundColor (color |> Colors.toCss) | |
, Css.color (color |> Colors.invert |> Colors.toCss) | |
, Css.hover |
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
-- Every internal value has a mapping function like this: | |
{-| Change lightness of the color | |
-} | |
mapLightness : (Float -> Float) -> Hsla -> Hsla | |
mapLightness f (Hsla hue saturation lightness alpha) = | |
Hsla hue saturation (f lightness) alpha | |
-- Two helpers for very common situations | |
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
{-| The internal type is an opaque type but we expose helper functions for each colors and mapping functions for each value. | |
-} | |
type Hsla | |
= Hsla Hue Saturation Lightness Alpha | |
{-| Each defined color is exposed as another custom type, to enable easy pattern matching. | |
It's useful in configurations for example. | |
-} | |
type Color | |
= White |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
/* | |
* DROPDOWNS | |
*/ |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<p>Edge will crash on focus of this element<br> | |
<input type="date" max="2915-01-01"></p> |
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
' Read https://community.qlik.com/docs/DOC-8441 to set up "External XML Request" | |
' in NPrinting | |
' Add this macro to Qlikview, change the Path variable | |
' Make sure "Request Module Security" = "System Access" and | |
' "Current Local Security" = "Allow System Access" | |
' http://i.imgur.com/lKlUNt2.png | |
' If you need to execute this macro from the Access Point, be sure to allow | |
' macros on the server. http://i.imgur.com/xerNPnF.png |
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
// Fetch product from podio, write to file, confirm with a comment in Podio that the product has been saved successfully | |
// Initiate the product | |
var product = Product({ | |
path: config.data_path, | |
podio: podio, | |
item_id: data.item_id, | |
fields: config.podio.products.fields | |
}); | |
product.fetch() |
NewerOlder