tygertec

Write a Custom Webhook to Handle MailGun events

15 minute read Published:

Create an inexpensive Webhook to handle MailGun events. All you need is some background, a sprinkling of C#, and a few Azure functions.

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

8 minute read Published:

Sometimes in life, you've got to send out boat-loads of SMS messages, and you've got to do it fast. Fortunately, SMS doesn't get much easier than Twilio plus 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

5 minute read Published:

Using a custom JSON object to update a Salesforce record using an Azure Logic App is as easy as falling down the stairs (and nearly as painful).

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.

Email Killed the Death.io Star

5 minute read Published:

Not so long ago, in an office so very close, an imperial trooper used the same p@$$w0rd on every single site.

The onus of easy peasy pwnage led to separate and proper passwords for important sites, led to plasticky back pats, led to proud promotions.

But an imperial trooper’s memory banks are only yea big and only hold yea many passwords.

Does This Compliment Sandwich Taste Funny to You?

4 minute read Published:

Chowing down on a compliment sandwich can leave you with a bad aftertaste. Let's discuss the flavor profile of this managerial delicacy, and the secret sauce that just might save it.

Eight words.

“Hey, can I see you in my office?”

Whatever important tasks hung spinning in the air around you darken to match your widening pupils, then plummet to the floor in a slow-motion Broadway disaster. Eight words and the serene, ever-smiling avatar of your boss.

Legacy Software: Raze and Pave or Stand Fast and Refactor

4 minute read Published:

Alternatively known as the "big-bang rewrite", the Big Rewrite, "burn and rebuild", or "raze and pave", the end result is the same — lots of work. *Can* you do it? Probably. But there's an even more important question: *Should* you?

Prologue: Merek vs the Old Library

The last tattered shred of hope clung limply to its flagpole and flew at half mast.

“Where did we go wrong?”, Merek grimaced. Hopes in Köd Kingdom had flown so high, higher than the green and black banners billowing proudly atop the castle spires. The day they’d broken ground— the popping corks and howling cheers still echoed mirthfully down his ear canals. Only the wind howled now.

Use SSH with multiple GitLab.com accounts

3 minute read Published:

Working with your Git repo over SSH is convenient and secure. Here's the trick to using SSH with multiple GitLab.com accounts.
Here’s the situation: The easiest and most secure way to interact with Git repos hosted on GitLab is over the SSH protocol. While most people only use one GitLab.com account, a freelancer or consultant might need to work with repos from multiple accounts. If that freelancer attempts to upload their public SSH key to multiple accounts, they’ll get the following error message from GitLab: Fingerprint has already been taken.

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

20 minute read Modified:

I truly intended to use Rails' extra features. First life just got in the way. And then Rails did.

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?

6 minute read Published:

Is Hugo the right match for your site, and is it worth the hype? Here's what you need to know, reader's digest style.

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)

Stuff Nobody Tells You About Teaching Online

24 minute read Published:

Five months and 200 hours later, I’m standing tall, arms-folded, my first-ever training course live on the video wall behind me. How’d I get here?

I won’t kid you; the road to course creation is riddled with potholes, roadblocks, and sketchy checkpoints. It was hard. But the solution to each obstacle taught me new skills and valuable life lessons. I think it’s time to document those lessons.

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

4 minute read Published:

You've got a WordPress site you want to migrate to the Hugo static site generator. Now there's a fun course that will help you do it, safely and efficiently. What should you expect from the course?
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?