Fizzbuzz

Our next exercise is going to be Fizzbuzz. This is a pretty common exercise that’s pretty simple. Let’s get started! Same like we always do, we’ll create a new directory from inside our exercises directory to hold our tests/code and create a couple files - index.js test.js. mkdir fizzbuzz && cd fizzbuzz/ touch index.js test.js Using your mechanism of choice we’ll get the following content into your test.js file:…

Read more »

Return Max Char

Today we’re going to be writing a function that will return the most frequent character that appears in a string. Given the string: “abcdd” we would get back “d” because that character appears twice whereas the other characters only appear once. This function would work the same when working with numbers, which will be coming in as a string anyways. We can create our new directory inside of our exercises directory as well as our two files, index.…

Read more »

Javascript More String Exercises

Next up on our list of exercises is going to be two more simple functions. First we’ll walk through how to implement a palindrome checker, and then we’ll cover reversing integers. For the palindrome function, we’ll want to return true/false depending on whether or not a given string is a palindrome. For those of you who are not familiar with the term here is the definition: a word, phrase, or sequence that reads the same backward as forward…

Read more »

Javascript Reverse String

In an effort to learn the in’s and out’s of ES2017 I’m going to be working through some exercises. The first exercise I’d like to work through is a pretty simple one, reversing a string with javascript. Basically, given string ‘foobar’ I’d like to return ‘raboof’ - again, this is pretty simple and I think it would be a great place to start. To start with, let’s go ahead and create a new directory in our terminal with:…

Read more »

Azure Application Gateway - Part 2

This is a continuation from part one on setting up an Azure Application Gateway Part 1. Next on our hit list is creating an Azure VNet to hold our AppGW. The AppGW has to live in an AppGW subnet, the only other thing that can reside in the same subnet are other AppGW’s and hopefully you’ll only need one since the AppGW is capable of serving up to 20 sites, with various limits around authentication certs for backend re-encryption.…

Read more »

Azure Application Gateway - Part 1

This is going to be a chronicling of how to setup an Azure Application Gateway using a custom wildcard certificate (You should be thinking “*.foobar.com”). The Background I’ve gone through some basic tutorials with the Azure Application Gateway (AppGW) in the past, but recently I encountered a scenario where a client needed me to setup an AppGW that could host 4 Azure Web Apps running an an Azure App Service Environment.…

Read more »