Tuesday | Wednesday | Thursday | Friday |
---|---|---|---|
4am Austin-Houston | 10am Boat tour | 9:30am Science Museum/FabLab | |
7am JJ Departs Houston | 12pm Checkout Airbnb | ||
7:15am MK Departs FLL | |||
9:39am MK Arrives Chicago | |||
9:41am JJ Arrives Chicago | |||
10:23am Blue line to Division |
- Given we use the AWS sdk frequently and assuming we have to mock out the API.
- Given typescript enforces strict null checking. We must create branches to check the shape of the data return data
In the following example the SDK should return the following object:
{ CertificateSummaryList: [{ DomainName: '12344.foo.bar', CertificateArn: 'arns:aws:mars:12323', ... }]}
The exmaple task is to find the certificate where the subdomain of the DomainName property includes the account id.
getCertARN.ts
- Install python 3.7.1
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo apt install build-essential python3-dev python-setuptools python-pip python-smbus libncursesw5-dev libgdbm-dev libc6-dev zlib1g-dev libsqlite3-dev tk-dev libssl-dev openssl libffi-dev git wget zsh gconf2 libnotify4 libappindicator1 nano tree libnss3 software-properties-common -y
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
module.exports.hello = function (context, req) { | |
context.log('JavaScript HTTP trigger function processed a request.'); | |
if (req.query.name || (req.body && req.body.name)) { | |
res = { | |
// status: 200, /* Defaults to 200 */ | |
body: "Hello " + (req.query.name || req.body.name) | |
}; | |
} | |
else { |
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
{ | |
"!!! WARNING !!!": "PLEASE DO NOT MODIFY THIS FILE! USE http://docs.platformio.org/page/projectconf/section_env_build.html#build-flags", | |
"configurations": [ | |
{ | |
"name": "Mac", | |
"includePath": [ | |
"/Users/joe/esp/esp-idf/components/bt/bluedroid/stack/avdt/include", | |
"/Users/joe/esp/esp-idf/components/bt/bluedroid/stack/a2dp/include", | |
"/Users/joe/esp/esp-idf/components/bt/bluedroid/stack/l2cap/include", | |
"/Users/joe/esp/esp-idf/components/bt/bluedroid/stack/avct/include", |
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
;mac | |
[env:esp32dev] | |
platform = espressif32 | |
framework = espidf | |
board = esp-wrover-kit | |
upload_port = /dev/cu.usbserial-141101 | |
debug_server = | |
/Users/joe/esp/openocd-esp32/bin/openocd | |
-s /Users/joe/esp/openocd-esp32/share/openocd/scripts | |
-f interface/ftdi/esp32_devkitj_v1.cfg |
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
LS_COLORS=$LS_COLORS:'ow=1;34:tw=1;34:' ; export LS_COLORS |
NewerOlder