Skip to content

Instantly share code, notes, and snippets.


Cory Hanson chanson5000

View GitHub Profile
chanson5000 /
Created Dec 12, 2019
Terraform Quickstart Example (OSX)

Setting Up Terraform with AWS Account (OSX)

Requires an AWS account. The example uses a free tier EC2 instance. If you do not have free tier example, this example would likely not incur any costs over $3.

This is a shortened "getting started" version of the official Terraform documentation.

  • From console, brew install terraform
  • terraform --version to check if installed correctly
  • Install AWS CLI using the bundled installer
    • cd ~/Downloads
    • curl "" -o ""
View randomChuckNorrisJoke.js
// Chuck Norris made me write this.
const randomChuckNorrisJoke = () => {
// Using the URL of an open Chuck Norris jokes API.
// Retrieve data, convert to json.
.then((data) => { return data.json(); })
// This is where the joke resides in the json.
.then((json) => { console.log(json.value.joke); })
.catch((error) => { console.error(error); });
chanson5000 / GIT_COMMANDS.MD
Last active May 28, 2018
Helpful Git Commands

Helpful Git Commands

Syncing Your Forked Repository With Original

When the master you have forked from has been updated and your fork is behind.

The cleanest way to do this is from the command line.

  • Add the (original) remote locally. Call it upstream.
    • git remote add upstream