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
{ | |
"steps": [ | |
{ | |
"actionId": "com.datadoghq.dd.workflow_automation.triggerWorkflow", | |
"display": { | |
"bounds": { | |
"y": 186 | |
} | |
}, | |
"name": "Download_project_template", |
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 * as React from 'react'; | |
const getDimensions = (): { width: number; height: number } => { | |
return { | |
width: document.documentElement.clientWidth, | |
height: document.documentElement.clientHeight - 4, | |
}; | |
}; | |
export const useDimensions = (): { width: number; height: number } => { |
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
# requirement 1 (now): add a column `encryption_key` in `ui_app_installation` and pass it in the JSON body | |
# we already have this dep | |
from cryptography.hazmat.primitives.ciphers.aead import AESGCM | |
encryption_key = AESGCM.generate_key(256) | |
# 32 bytes | |
>>> encryption_key | |
b'\x8aJ(\xbb\x88\xf2K\xd8ku:(iw\xeeK\x17*FAR\xf0K\xeb(I\xcb\xb7x\xb2+G' |