- Creating a Docker image containing your Rails application
- Using AWS CloudFormation to create an ECR repository to store your images
- Using AWS CloudFormation to provision an ECS cluster to which you'll deploy your app
- Tweaking ECS settings to affect zero-downtime deploys to cluster
- Executing cluster-safe database migrations
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
| data Failable t e = Success t | Failure e |
Like unit testing but dislike mocks and stubs? Want to keep your business logic separate from your side effects? In this blog post, I'll demonstrate a novel approach to testing which relies not on the [Dependency Injection][4] pattern, but an algebraic data structure and some simple functions.
I was recently working on a system for a real estate company which merged a
GIVEN
-
a video design D with elements:
- E1: symbol=view_1.text_1,type=text,userEditable=false,defaultText=null
- E2: symbol=view_1.text_2,type=text,userEditable=true,elementLevelDefaultText="Eighty",accountPlanLevelDefaultText="Sixty"
- E3: symbol=view_1.text_3,type=text,userEditable=true,defaultText=null
- E3: symbol=view_1.text_4,type=text,userEditable=false,elementLevelDefaultText="Twenty"
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> | |
| <head> | |
| <title>Side by Side Tool</title> | |
| </head> | |
| <body> | |
| <div id="foo"> | |
| <label> | |
| <select name="outputType"> | |
| <option value="gen">Gen</option> | |
| <option value="comp">Comp</option> |
-
works with PDFV2 (e.g.
RLP_BUSINESSCARD_CORP_001_EN) and PDFV3 (IMP_FLYER_2PG_EDE_101) designs, so far -
admin can create configurations which specify an image set id, resource-key-to-strings mapping, and symbol-to-strings mapping
{
"imageSetId": "corcoran-4",
"resourceKeyValues": {
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
| { | |
| "resourceKeyValues": { | |
| "EDE_PROPERTY_ADDRESS": "999 Pine Ave." | |
| }, | |
| "symbolValues": { | |
| "view_1.disclaimer_1": "Guaranteed or Your Money Back", | |
| "agent_1.photo_1": "http://acme-broker.example.com/agents/agent-1.jpg" | |
| } | |
| } |