Bash profile tips and tricks

Check out this XKCD comic [https://xkcd.com/1205/] and think about what repetitive tasks you could shave seconds off of throughout your day. Props go out to Josh Wyatt [http://joshwyatt.io/] for showing me the world of .bash_profile time-saving techniques. The first thing to do is make…

Test Driven Development in Javascript with Node, Grunt, Mocha, and Chai

This is going to be a simple demonstration of using Test Driven Development practices to solve a toy problem. We will use * Node [https://nodejs.org/] for running Javascript in our console. * Grunt [http://gruntjs.com/] task-runner for automation. * Mocha [http://mochajs.org/] for our testing framework. * Chai [http://chaijs.…

Docker Workflow from Development to Production - Part 2

Now that we know what Docker is and have it installed [https://owoga.com/docker-workflow-from-development-to-production/], let's look at how we can use it to deploy an app. We are working on a project now as part of HackReactor's curriculum. Our project involves a MySQL database and ExpressJS API on the…

Docker Workflow from Development to Production

docker run ubuntu /bin/echo "Hello World!" Hello World! Simple enough, but the power of this command is amazing and allows us to do incredible things. This is what goes on behind the scenes when that command is run: * Docker searches your local machine's cache to see if you already…

Simple automated JavaScript testing with Grunt and Mocha/Chai

When I was new to coding, there was a point when I knew that TDD was valuable, but I didn’t know enough to feel comfortable using robust testing frameworks. The problem: * TDD was a habit I wanted to learn. * The process of setting up my initial tests and directory…

How to host a Ghost.io blog on a custom domain

Per the ghost.io [http://support.ghost.org/add-custom-domain-ghostpro-blog/] website, there are two ways to set the DNS for your custom domain so that it works with a ghost.io hosted blog. The first way they suggest is using a CNAME record to point a subdomain to .ghost.io. Record…