Note: update the bashrc not bash_profile
sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev \
// prints out a right triangle made out of hash tags | |
let output = ""; | |
for (x = 1; x < 8; x = x + 1) { | |
output += "#"; | |
console.log(output); | |
} |
# python 3.7.4 | |
import json | |
import datetime # for the expiration property: a date string to epoch millisec | |
import uuid # for the id property | |
from apiclient import discovery | |
from google.oauth2 import service_account | |
try: |
# python 3.7.4 | |
import os | |
import json | |
import datetime # for the expiration property: a date string to epoch millisec | |
import uuid # for the id property | |
from apiclient import discovery | |
from google.oauth2 import service_account |
Note: update the bashrc not bash_profile
sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev \
Use case on say 6 columns having email addresses, and you want to get only the unique values. | |
Copy-paste the formulas in column pairs [iterate, scrubbedapp] | |
iterate2 column formula: | |
=SUBSTITUTE([iterate1]2, "#" + [ScrubbedApp1]2, "") | |
ScrubbedApp2 column formula: | |
=IF(NOT(ISBLANK([iterate2]1)), | |
MID([iterate2]1, 2, |
import smartsheet | |
import os | |
import logging | |
import sys | |
import datetime | |
# Smartsheet API 2.0 reference (Python) | |
# https://smartsheet-platform.github.io/api-docs/index.html?python#api-reference | |
def get_cell_by_column_name(row, column_ame): |
aws lambda invoke --function-name p21-28-prod-ad0 --log-type Tail --region=ap-southeast-1 --profile misprod response.json
After execution, inspect the response.json outfile for success or failure execution.
aws lambda invoke --function-name p21-28-prod-ad1 --log-type Tail --region=ap-southeast-1 --profile misprod response.json