-
Use Onion architecture
- Dependencies go inwards. That is, the Core domain doesn't know about outside layers
-
Use pipeline model to implement workflows/use-cases/stories
- Business logic makes decisions
- IO does storage with minimal logic
- Keep Business logic and IO separate
-
Keep IO at edges
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
param( | |
[Parameter(mandatory=$true)] | |
$apiUrl, # EX: 'https://<ProductionAppDomain>/api/v1.0/bulkupload/postgrievance', | |
[Parameter(mandatory=$true)] | |
$apiKey, # EX 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX', | |
[Parameter(mandatory=$true)] | |
$repEmail, |
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
"use strict"; | |
if (window.cordova && cordova.platformId !== "browser") { | |
document.addEventListener("deviceready", function () { | |
document.addEventListener("click", function (e) { | |
var elem = e.target; | |
while (elem != document) { | |
if (elem.tagName === "A" && elem.hasAttribute("download")) { | |
e.preventDefault(); |
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
Open up the Content Panel via Tools > Content Panel | |
Using the 'Add a button' tool(top-center, immediately above the doc) draw a button to the size the image field needs to be | |
Double click the button to enter into the button's properties | |
Go to the Actions tab | |
Next to Select Action choose 'Run a JavaScript' |
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/bash | |
## Script makes http requests to specified endpoints and build an error message in response | |
## to non-200 return codes, then emails that message if it has a length greater than 0. | |
alert_recipient="<AlertEmail>" | |
urls='https://www.someurl.com/ https://www.someurl.com/test' | |
error_msg="" |