Nginx – Simple Socket Redirect

Sometimes we have to redirect listening from one port to another. For example, if we have a listener on localhost we want to redirect traffic from listening on other IP to localhost. In this example, we will listen on port 60000 and redirect all traffic to localhost listener with port 8000. server{ listen 60000; listen

2019-05-28T21:53:29+03:00By |Categories: How To|0 Comments

STM32 Bootloader Design – Part 2

In the first post of this series, we covered the basic ideas behind creating an STM32 bootloader. Today we will focus on the application code and generate output, that our bootloader code will be able to process. The application code is very simple - it inits one pin at output and toggles it after some

2019-08-14T00:13:05+03:00By |Categories: Embedded Systems|Tags: , |0 Comments

Good Practices for Using Cookies

When cookies first appeared in 1994, they were completely allowed by browsers and their usage depended entirely on what developers had in mind. However, a few years after that, due to concerns about privacy and tracking, web developers were advised to obey some practices that make cookie usage safer. Nowadays, some practices are even required

2019-06-16T21:57:14+03:00By |Categories: Explained Simply|0 Comments

Authentication and Authorization, Usage in ASP .NET

Authentication and Authorization are two main security processes used in various applications. Although they are often confused by some users, they possess major differences between each other. Authentication Authentication is a process of confirming the user's identity in order to grant this user access to protected resources. Usually, the user needs to enter a username

2019-06-09T21:40:07+03:00By |Categories: C#|0 Comments

The Difference Between Accuracy And Precision

One of the most common scenarios in embedded system design is the need for getting information from the surrounding environment. This is done by using various types of sensors (e.g temperature, humidity, pressure, etc. ). The data from these sensors always have some difference from the real true value being measured. Our goal as designers

2019-05-07T21:23:45+03:00By |Categories: Explained Simply|0 Comments

Digital Buffers And Their Usage

In this article, we will explain the functionality of two very important electronic circuit elements: digital buffer and tri-state digital buffer. Buffer At first glance, the functionality of a digital buffer may seem very simple: the value at its input is propagated to its output. Fig. 1 Buffer symbol and truth table If the buffer

2019-05-19T16:48:41+03:00By |Categories: Digital Logic|Tags: , |0 Comments

Install htpasswd On CentOS

Htpasswd is a tool used to manipulate flat files containing usernames and passwords for basic authentication of HTTP. In Cent OS htpasswd is part of httpd-tools pack. In order to install it, you must enter (root access required): yum install httpd-tools After entering the command you will see a result similar to the one shown

2019-04-11T07:40:29+03:00By |Categories: How To|0 Comments

Create Custom Post Type And Taxonomy In WordPress With Gutenberg

WordPress has gone a long way from being a simple blogging platform to one of the most complex and widely used content management systems. It provides us with several post types by default: post, page, attachment, revision, navigation menu, etc. While these are useful, they are nearly not enough for the various other types of

2019-05-24T21:13:35+03:00By |Categories: WordPress|0 Comments