Skip to content

Instantly share code, notes, and snippets.

{
"meta": {
"instanceId": "cb484ba7b742928a2048bf8829668bed5b5ad9787579adea888f05980292a4a7",
"templateId": "1960",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "296a935f-bd02-44bc-9e1e-3e4d6a307e38",
"name": "When clicking \"Execute Workflow\"",
@gryzinsky
gryzinsky / AIExample.json
Created March 6, 2024 17:42
AIExample.json
{
"id": "Z6TY8mQOfbIvN86d",
"meta": {
"instanceId": "d7d7b1e232b4091cbd27b67d20aa4c7ff54b11591e8e3f22d5db8387cc91fe3c"
},
"name": "AI Competition – Small Business Problems – Rebound Email",
"tags": [],
"nodes": [
{
"id": "12ef13ef-1634-4baa-88c5-2794d10cca5d",
@gryzinsky
gryzinsky / AWS_SECRETS_MANAGER_TO_ENV.md
Last active January 6, 2024 19:14
Script to convert a JSON to .env

AWS Secrets Manager to environment

This script is a utility to easily convert any JSON into a KEY=VALUE format (like env files).

Installation

Copy the contents of to_env.sh to /usr/local/bin and make it executable:

curl https://gist.githubusercontent.com/gryzinsky/4bab74c04c43ffb3ad794aadd831fd12/raw/b8fe744eb819bd380b59e402d3001c33885a9f3c/to_env.sh > /usr/local/bin/to_env && chmod 755 /usr/local/bin/to_env
@gryzinsky
gryzinsky / Install Terraform and Terragrunt.sh
Last active December 3, 2021 18:41
Install Terraform and Terragrunt
#!/usr/bin/env sh
# Install Terraform
sudo apt-get update && \
sudo apt-get install -y gnupg software-properties-common curl && \
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add - && \
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main" && \
sudo apt-get update && \
sudo apt-get install terraform
#!/usr/bin/env sh
# Install Android SDK CLI Ubuntu 20.04 WSL2
# Functions
appendIfExists() {
if [ -f "$1" ]; then
cat >> "$1"
else
echo "File $1 does not exist. Discarding output." >&2
return 1
@gryzinsky
gryzinsky / husky.sh
Last active January 13, 2024 12:42
Install Husky with Commitizen and Commitlint Using Yarn
#!/usr/bin/env sh
##############################################
################ Instructions ################
##############################################
# Create a script called husky.sh in
# your project root directory and run:
#
# $ chmod u+x husky.sh
#