Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker.

Test Password Strength with RegEx in a React Application

While some organizations think it is up to the user to protect themselves by choosing strong usernames and passwords, the developer can help influence good password choices by including it in the design of the application. For example, the developer could include bars, percentages, or colors to help dictate quality of a password as the user enters it into a form.

A lot of us know a weak password is short and contains either alpha or numeric, but never both. We also know strong passwords include symbols as well as variations of character case-sensitivity. So how can we check for these things in the application?

In this tutorial we’re going to make use of regular expressions to test the quality of a password. This is going to be done with simple JavaScript in a React application.

Read More

Developing Alexa Skills with MongoDB and Golang

The popularity of Amazon Alexa and virtual assistants in general is no question, huge. Having a web application and mobile application isn’t enough for most organizations anymore, and now you need to start supporting voice operated applications.

So what does it take to create something for Alexa? How different is it from creating a web application?

In this tutorial we’re going to see how to create an Amazon Alexa Skill, also referred to as an Alexa application, that interacts with a MongoDB cluster using the Go programming language (Golang) and AWS Lambda.

Read More

Automating a Brand with Automate.io, Social Media, and Email Marketing

When it comes to blogging or running any kind of brand or business, you’re going to find a certain rhythm in the activities that you do to keep it functioning. Many of these activities are simple, repetitive, and time consuming over the long term. In certain circumstances, the activities can be automated without needing your intervention.

I know what you’re thinking. For what possible reason could a marketing automation entry on The Polyglot Developer make any sense, since The Polyglot Developer is known for development related topics. While not really a technical topic, you have to remember that The Polyglot Developer is a brand that needs to find its way into the eyes of a technical audience.

In this article, you’re going to learn about how I’m using various marketing and automation tools to create workflows that reduce some of the repetitive tasks that happen daily.

Read More

My Activity Report For 2019

It has been another great year for technology and The Polyglot Developer. Like I’ve done in a 2018 activity report, and the years before it, I wanted to take a moment to reflect on all that was accomplished for the 2019 calendar year.

If you’re unfamiliar with this kind of post, it is more or less a numbers report for the various things that happened throughout the year. Such things include blog, podcast, and YouTube metrics, as well as information around events and speaking engagements.

Not only is this an opportunity for me to keep track of things, but you can use it as an opportunity to learn about how I’ve conducted business and apply it towards your own.

Read More

Change the Host File of an Android Emulator

While working on a bug in one of my projects recently, I found an issue that I could only recreate on an Android device. However, due to some cross-origin resource sharing (CORS) issues on my server, I had to serve my development environment from a changed hostfile that had a specific subdomain of my project.

With the ability to use a remote Chrome debugger from your desktop to a mobile device, you can use an emulator and still have your full Chrome debugging capabilities. The only problem then, is how to get the host file to match your desktop environment. Following these steps will allow you to do just that!

Read More

The Community Contributions of 2019

Last year, in my article titled, The Community Contributions of 2018, I highlighted 11 tutorials that were contributed by the community. To show my appreciation towards the guest contributors on The Polyglot Developer, I wanted to highlight the content that they’ve produced in 2019.

If you found any of the following tutorials valuable, I encourage you to reach out to the author on social media and thank them for taking the time to produce such great content.

Read More

Generate Images from HTML with Gulp and Puppeteer

Have you ever needed to generate an image from your HTML? Whether it be for design purposes or for marketing purposes with social media, knowing how to get a screenshot of your HTML design without manually taking the screenshot can be a great thing.

A use-case I was interested in was around feature graphics for each of my blog posts. Sure I could open a graphic design tool like Affinity Photo, or use the same feature graphic for every tutorial, but what if I wanted to automatically generate them based on certain criteria?

In this tutorial we’re going to see how to use Puppeteer to take screenshots of our HTML through a headless Gulp task.

Read More