Skip to content

Instantly share code, notes, and snippets.

View danilaplee's full-sized avatar
🔫
troubleshooting

Daniel danilaplee

🔫
troubleshooting
View GitHub Profile
/*
Feature: Data Source Join and Mapping
Scenario: Joining and mapping data from third-party API and local DB query in execute()
GIVEN two different data sources, one from a third-party API (call3partyAPI) and one from a local DB query (dbQuery)
AND the call3partyAPI() returns static "curriculum" data
AND the dbQuery() returns user learning progress data from our DB
WHEN the execute() function is called
THEN it should return an array of [{lessonName, readableStatus}]
@danilaplee
danilaplee / lockUpdate (1).EXCEL.yaml
Last active June 20, 2023 16:25
Create a new snippet from a blank template.
name: lockUpdate (1)
description: Create a new snippet from a blank template.
host: EXCEL
api_set: {}
script:
content: >
const username = "cfebj_boathouseapi";
const listLocks = async () => {
# install openjdk
sudo apt-get install openjdk-7-jdk
# download android sdk
wget http://dl.google.com/android/android-sdk_r24.2-linux.tgz
tar -xvf android-sdk_r24.2-linux.tgz
cd android-sdk-linux/tools
# install all sdk packages