Deploying a Ghost Blog on AWS with Cloudfront

Want to host your own blog on AWS? Don't want to use Wordpress? The Ghost platform is easy to use and comes with a lot right out of the box. This post will walk you through how to spin up a Ghost blog using: An AWS EC2 instance A Ghost Bitnami AMI CloudFront (for caching) Route 53 This post assumes that you already have an AWS account Launching the Ghost AMI Find the image on the AWS marketplace, I used the Bitnami image, follow the onscreen instructions to first subscribe to the image and then launch the EC2 right from the same screens. Or you can go to the AMI tab within EC2 and launch from there. When launching your…

Home Automation with Home Assistant and Alexa

Do you have an Alexa and all you do is ask her to set a timer? It's time to put her skills to good use. Yep, that's right let's set up your house so you can say things like "Alexa, turn on the bedroom lights". This blog post will walk you through how to bring Alexa to life and take command of your home. There are plenty of gadgets and gizmos you can buy to set up your home with ease, but what would be the fun in that. This post outlines all the necessary things you need to get Alexa to turn on your lights. Throughout this tutorial, I also include links to helpful articles because without these I…

My attitude as described by a javascript function

function happy(today){ const coding="me"+"computer"+"coffee"+"creatingBetterExperiences"; if(today === coding){ alert("It's great day!"); } } happy(today);…

A solution for HTTP access control (CORS) issues

A part of building new applications is running into errors and working to find solutions. I am currently working on an application that uses the SongKick API and the Spotify API to generate Spotify playlists based on artists performing in the user location within date range preferences. The error that I encountered involves Cross-Origin Resource Sharing or CORS. This post discusses CORS, what it is, why it's important, how I encountered CORS, and a solution to the problem. So what is CORS and why is it important? CORS (Cross-origin resource sharing) according to wikipedia: "defines a way in which a browser and server can interact to determine whether or not it is safe to allow the cross-origin request. " Further, in…

Node.Js and MySQL

As Week 11 and 12 wrapped up, I am officially half-way through the UT BOOTCAMP. Wow. I can definitely see the growth in my skills and knowledge level. The past two weeks were all about Node.js and MySql. Homework assignments for these two weeks were completed in the terminal and are demonstrated here using tutorial videos. We got a lot to cover, so let's get to learning and discovering. What is Node.js? Since Node is such a huge part of Javascript and our class, I feel it is important to dive in a little deeper here. Node.js is an open source cross-platform runtime environment that is written using Javascript and as defined by it's documentation is: "A…