Code

Migrate Your DNS Zones from EdgeCast to Azure DNS

You’ve got a bunch of DNS zones hosted on Verizon’s Edgecast, and you’d like to move them over to Azure DNS. Sounds tedious and error-prone. Let’s use the API’s for Edgecast and Azure to automate copying over those DNS records.

Dicese Slex Dishes on Clean Code Configuration

All but the most trivial code needs some configuration and setup to do meaningful work. From database connection strings to IoC container initialization — even the lowly idempotent Hello World app is dependent on the implicit default configuration of its environment. In the physical world, we like instrument clusters, dashboards, things that bring together all the buttons, switches, dials, and toggles into one convenient place. Configuring our code should be no different. Wouldn’t it be nice if managing all the config things were as easy as driving your car? Well, meet your new friend, Dicese Slex, (Dih-CHESS-ee Slex, for the uninitiated). He’s a cool don wearing silk system threads, and he’s here to spruce up your configs. At the very least, he hopes to get you thinking about the importance of code configs.

To Trust an Extension

“Voice hoarse, I heaved a huge shoulder-slumping sigh. I’d just wanted to maximize the thing. Instead there I was yelling at all the kids on my lawn, throwing rocks at a cloud, ranting on about non-existent terms like Trust-Driven-Development. Who hurt me, you ask?” It was the forth annual company campout and we were huddled around the fire pit swapping horror stories gathered from the dark depths of the software industry, holding the fire at bay with an array of steely s’more forks.

Write a Custom Webhook to Handle MailGun events

Wouldn’t you like to know when MailGun fails to deliver an email? Or worse still, when someone complains about an email you sent? MailGun can notify you about the following events: Clicked Complained Delivered Failed Opened Unsubscribed There’s just one catch: You have to write your own webhook, then subscribe to those events with your webhook’s URL. If that thought left you cross-eyed, fear not! The reign of cloud computing has made this simpler than it used to be, especially the introduction of functions as a service.

Build an SMS Bat-Signal Powered by Twilio and Azure Functions

Wouldn’t it be cool to send out an SMS SOS with the touch of a button? Like your own private SMS Bat-Signal! I’ll show you how to do it using Twilio and an Azure Function. Here’s an overview of the simple architecture: /--> | |--> 📱 |--(HTTP POST)--> [ Azure Func 𝛌 ] ---> | Twilio |--> 📱 \--> | |--> 📱 Simple, right? Let’s paint the clouds red, 160 characters at a time. 🤜 💥 🤛

Custom Salesforce API updates with an Azure Logic App

Scenario: You’re using an Azure Logic App to update a Salesforce record using the Salesforce API connector. Problem: The Salesforce connector doesn’t make it easy to send a custom update request. It wants you to name all the fields you intend to update. But what if you don’t want to update some of those fields, based on some condition? Well, you were up a creek — until you found this post.

Moving from Rails to Vue Saved Me Headaches — and $84/Year

Grab a bowl of buttery popcorn because the saga continues! The end of the previous chapter saw our intrepid little Rails app camping happily on Heroku. This latest chapter in the hosting chronicles brings with it a twist: not just a change in host, but a complete migration from one programming language to another. The app is no longer on Heroku, and it’s no longer written in Ruby or Rails. It’s written in JavaScript, hosted by Netlify, and it’s getting by with a little help from its new friend, Vue.js. Onward for the Why’s, How’s, and Gottchas of the switch.

Beyond the Hype — Is Hugo the Right Fit for Your Site?

Static site generators aren’t new, but something about the fresh simplicity of Hugo is turning heads. We’re in the early stages of the Gartner Hype Cycle , but expect to see media outlets abuzz with tales of Hugo “making waves” and “disrupting stuff”. Even de facto strongholds like WordPress have begun losing ground to the inexorable spread of the Static Invasion. But between all the skirmishes, turf wars, and soap-box-soliloquies, how do you know if Hugo is the right match for your site, or if it’s even worth the hype? Here’s what you need to know, reader’s digest style. (from Migrating WordPress to Hugo, Step-by-Step )

"Migrate from WordPress to Hugo, Step by Step": What to expect.

Hugo isn’t even at version 1.0 yet, and it’s already of the one of best static site generators in the world. A switch from WordPress to Hugo can save you money, improve site performance, and harden site security. For the shiny gopher-shaped cherry on top, do I dare say it? — Hugo is fun. With your current site stuck in WordPress, how do you get from point WP to point Hugo?

Essential markdown cheatsheet

Markdown is a great way to format text inline, without getting in your way. i.e. it’s not ugly and cumbersome like HTML tags, and your hands don’t have to leave the keyboard to access formatting toolbars like they might in a traditional text editor. Personally, markdown helps keep me “in the zone” when I’m writing. That’s why this site uses markdown for nearly all its formatting needs. You can learn markdown in about 5 minutes. Here’s a cheatsheet to get you started!