Skip to content

Instantly share code, notes, and snippets.

View rkpinheiro's full-sized avatar
🚀
Coding

Rurik Pinheiro rkpinheiro

🚀
Coding
View GitHub Profile
const cache = createCache();
const resource = createResource() => {
return new Promise(resolve => {
...
});
});
@rkpinheiro
rkpinheiro / aws-credentials.sh
Last active February 1, 2020 17:10
create aws profile script for CircleCI
#!/bin/bash
set -e
set -u
# Create credentials
mkdir ~/.aws
touch ~/.aws/config
chmod 600 ~/.aws/config
echo "[profile $1]" >> ~/.aws/config
echo "region = us-east-2" >> ~/.aws/config