Working with Styra on Windows

by 

|

in

I was working on a research project that involved evaluating Styra, but it took me a couple of days before I was able to write my first policy. Styra provides authorization policy management for native cloud apps. It is built on top of the open-source Open Policy Agent. What bothered me was that the numerous…

Read more…

Creating Tray Applications with Electron

Creating Tray Applications with Electron

by 

|

in

Electron is a technology that allows developers to create desktop applications using web technologies. This approach has a few advantages. First, it will enable us to create a desktop application using web technologies. Second, it allows us to create a single application that works on Windows and Mac. There are many good examples of applications…

Read more…

Passing Data to Any Angular Component on Router Navigation

by 

|

in

There are several different ways to pass data from one component to the next. We will briefly discuss a few of these options and then implement passing data from a component you’re navigating away from to the component you navigated to using router NavigationExtras. Finally, we’ll end the discussion with a brief list of considerations…

Read more…

DynamoDB Streams

by 

|

in ,

AWS’s DynamoDB is a managed NoSQL data store (non-relational data store). Often, we will want some sort of audit or logging of who is changing data. This can be done using DynamoDB streams. DynamoDB Stream will send all changes to a Lambda function we write. First, let’s create a new Lambda function. The code just…

Read more…

Using Azure to Securely Restore a MySQL Database

We had a need to move an on-premises MySQL Database to an Azure Flexible Server MySQL database. We could have taken the insecure path of sending a backup of the original database to a developer and restoring it from their local machine, but that would have led to customer data on their machine. We were…

Read more…

Restsharp

Quick Look – RestSharp

by 

|

in ,

It is very common to make REST API calls as part of our applications today. REST APIs are probably the most common API flavor out there. The ease of interacting with REST APIs is perhaps the biggest driver for REST APIs becoming so popular. You can make REST API calls using pretty low-level tools in…

Read more…

The Magic of Git Bisect

The Magic of Git Bisect (And Why Small Commits Are Important!)

by 

|

in

Have you ever had a bug slip through CI/CD, and the code you were CERTAIN worked a while back is no longer working as designed? If the bug is hard to find or in a piece of code that is hard to debug, git bisect may be the tool you are looking for. If you…

Read more…

Pulling Calendar Items Using Swift

In a previous blog post, I took you through how to pull contacts from iOS or Mac. In this post, I will show you how to pull calendar items. This turns out to be very similar to pulling contacts. First, we must request access to the calendar. As part of requesting access, we must create…

Read more…

Scaffolding

by 

|

in

Sometimes we just need a few screens to perform some basic data editing. Often this is necessary for an admin system. We could build full systems for that (which has some advantages), but we might be better off with some scaffolded UI. In software development, scaffolding is when some pre-generated code is used to get…

Read more…

Cross-Origin Resource Sharing (CORS) Basics

Cross-Origin Resource Sharing (CORS) Basics

This post is intended to give you a swift kick from behind into a pool of CORS, without taking all day to do so, and without digging into any specific technologies. With that said, let’s learn to swim.   What is CORS? From Mozilla: “Cross-Origin Resource Sharing (CORS) is an HTTP-header based mechanism that allows…

Read more…