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
!WA:2!LA1ZVTnYvy)J2MA12uhL0GM0ITecOb2fEvsCIDkcGxdrBkl1v2YMKoobWasJihjoXuZWoZqz7COfRa2fbb9qHUNl6CpP7lAGVSxzfk29UpK9yx4)b8(gsk7eVbUfOeqIZ8M38EFV3BEFdh)jzBN1nROXc5V)JY)WSUVmp)WQnBkWYsVr(3)C5)80VTVlwGKHCKe7nGqBY4TrscJMPph3cEBFyawN4WO9qusYslQ3grOf1LQLOmkEORA)Wk1uI4cmOUROlgjWQThL5i1qljhtBj9UIPqI4YIrtfLj6Nf9ZJ(fW7RELgnjuIW7IIpzpmoOGia7inv(WRNa73CtgHkBSIXg2gMh5Wy(US9PgUTWE9vy1IfYDWJZpyuW6(xACJ3m2FRHa3UdMBE)83l)9hIcLEmE1afYfz6oYm1B4HjT8KLw(7gB2)6PNg2aSytsRmdqUppuiXURtOt0yFulw5v790vE(d(4pD7YvnDy(m(FAs4jy6qbUqQYG6Od8ooGZAXXcrc0(d)2XMi4gJ8On(a5QebQHp217eiYWCkY)jqMeq2RNpK7h8B8KYaXJV7DvUnpHD3Z87DN3CFIR0R0Y)Nt)AaUFdVtYg)XMi)ap0Kbzb0SsQRwN5cPrC9lcrc1lyAe1bsif5O244)6U5tmIhO)cgR94ZhsCh8OQpmyHNvAR1AU1GMQ1GYksIMm6NuFGlre4JoSmKV(1tK9v9vhdiPzxjN0QfaSRENEH00jz4PdE7ahaiS218iUytjPn2TlGVAHuISoCcTryZMQts8sgv2S42vowTiYFF0HcjpexxxPydLVX8OPAKySOLd(QMHuhfaMbpBgn4H0uBgS2slPLRW22vlVrrdZnQwRsX1QzvQ6o5Mvt6HPXAQE8zoiFngKpr((ZPvtBjT1WYcQ5TWLL42vWDW(Zm7zBqz(u11(KL0EWdx8cwu9uP4QBfIdtsX1SWsvKnZ8pAX7DUHWu3mJEd)owe2aCfvAbjcYbdQTsbl7Aw2fmTtKlcM9dfqZDr |
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
[ | |
{ | |
"v": 2, | |
"name": "00 - Sign Ups", | |
"folders": [], | |
"requests": [ | |
{ | |
"v": "4", | |
"name": "Login", | |
"endpoint": "<<crapi-web>>/identity/api/auth/login", |
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
version: "3.0" | |
services: | |
plex: | |
image: ghcr.io/linuxserver/plex | |
container_name: plex | |
network_mode: host | |
environment: | |
- PUID=1000 | |
- PGID=1000 | |
- VERSION=docker |
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
<profiles> | |
<profile> | |
<id>active-on-windows</id> | |
<activation> | |
<os> | |
<family>Windows</family> | |
</os> | |
</activation> | |
<dependencies> | |
<dependency> |
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
%dw 2.0 | |
fun parseBAI(payload: String) : Object = do { | |
payload splitBy /\/?\r?\n/ reduce ((line, accum={ Accounts: []}) -> ( | |
baiFuncs[line[0 to 1]](line splitBy ',', accum) | |
)) | |
} | |
fun baiHeader(payload: Array<String>, accum: Object) : Object = | |
accum ++ Header: { |
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
%dw 2.0 | |
output application/json | |
--- | |
payload update { | |
case value at .software.name if (value contains "XYZ") -> "XYZ FHIR 2017" | |
case value at .software.version -> "1.0.0" | |
case value at .software.releaseDate -> "2017-03-06T00:00:00Z" | |
case value at .date if(!isEmpty(value)) -> "2017-03-06T00:00:00Z" | |
case value at .version if(!isEmpty(value)) -> "1.0.0" | |
case value at .copyright if(!isEmpty(value)) -> "Copyright XYZ 2017" |
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
%dw 2.0 | |
output application/json | |
fun myFunc(a: Array<String> | String) = a match { | |
case is Array<String> -> $ joinBy ',' | |
else -> a | |
} | |
--- | |
myFunc(["Test", "Test2"]) |
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
#%RAML 1.0 | |
title: Punchh sAPI | |
description: System API that provides JWT based access to Punchh. | |
types: | |
Coupon: | |
type: object | |
properties: | |
code: | |
type: string |
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
#!/bin/sh | |
# ASSIGN ENVIRONMENT VARIABLES HERE | |
export securePropertiesKey=123 | |
export keyOne=123 | |
export keyTwo=123 | |
# DO NOT EDIT BELOW | |
SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -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
%dw 2.0 | |
import HMACBinary from dw::Crypto | |
import toBase64 from dw::core::Binaries | |
fun binaryJson(obj: Object) = | |
write(obj, 'application/json', { indent: false }) as Binary | |
fun base64URL(str: Binary) = | |
toBase64(str) replace "+" with "-" replace "/" with "_" replace "=" with "" |
NewerOlder