## Morse Code

In the computer science world, Morse Code is one of those old-timey technologies that's still cool. We've all watched movies about WWII where governments send telegraphs using Morse Code to transmit messages across huge distances. We've probably also watched Navy movies where ship commanders are sending the famous "SOS" when a ship is in trouble. … Continue reading Morse Code

## How to Secure Firebase Credentials with CircleCI

This week I ran into a situation where I wanted to publish an open source project in GitHub, but it contained credentials that I didn't want to keep in the repo. In an effort to get more out of my CircleCI builds, I decided to look into securing the credentials with environment variables. I had … Continue reading How to Secure Firebase Credentials with CircleCI

## Deploying Angular Apps with GitHub Pages

Today I was playing with GitHub pages for an app I was working on and wanted to write about it. I originally used GitHub pages last year, but back then people were saying that it had limited resources and could just do static hosting. Today I found out that they were wrong! It is totally … Continue reading Deploying Angular Apps with GitHub Pages

## Lego Engineering

Over Christmas one of my favorite gifts was a set of Star Wars themed legos that my wife gave me. I really enjoyed putting them together, and it's amazing how advanced Legos have become. Some of my favorite memories growing up were building lego sets, and having adventures with different characters and things I'd create. … Continue reading Lego Engineering

## Using the Distance Formula with Angular

getRadarStationClosest(observationStations: {}, lat: string, long: string): string { const radarStations = <any> observationStations; let closestStation = ''; let firstTime = true; let minDistance = 0; const x1: number = parseFloat(long); const y1: number = parseFloat(lat); radarStations.forEach((element) => { // when calculating distance use the distance formula // sqrt of (x2-x1)^2 + (y2-y1)^2 // long = … Continue reading Using the Distance Formula with Angular