Recent Posts
Passphrase Generator built using AI
I built the following Passphrase Generator using Claude.ai, following Harper Read’s article: My LLM codegen workflow atm.
read more
20220715 Docker Setup on AWS
Docker setup on AWS Choose a Ubuntu AMI rather that Amazon Linux 2 (AL2), because there wasn’t a specific repository for AL2.
Found instructions for installing Docker on AL2 on https://docs.aws.amazon.com/AmazonECS/latest/developerguide/create-container-image.html#create-container-image-prerequisites
Install using the repository From https://docs.docker.com/engine/install/ubuntu/#set-up-the-repository
sudo apt-get update sudo apt-get install \ ca-certificates \ curl \ gnupg \ lsb-release Add Docker’s official GPG key:
sudo mkdir -p /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg Use the following command to set up the repository:
read more
20220715 Install Node Typescript Cdk
Install Node.js, Typescript, CDK on Ubuntu The following is based on https://docs.aws.amazon.com/cdk/v2/guide/getting_started.html#getting_started_prerequisites and https://www.linode.com/docs/guides/how-to-install-use-node-version-manager-nvm/
Install Node.sh. sudo apt install node Install nvm. curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash Run the following to enable nvm without having to log back in. export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion Switch to Node.js version 16. nvm install 16 && nvm use 16 Install TypeScript npm -g install typescript Install aws-cdk npm install -g aws-cdk Check the CDK version cdk --version
read more