[Fix] Error Code: 1175 You are using safe update mode

0
Comments
[Fix] Error Code: 1175 You are using safe update mode

Explore an easy way to fix MySQL Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. You can either disable it permanently or turn it off before executing an update/delete statements and turn it back on after. SET SQL_SAFE_UPDATES=0; will fix it for you, but be careful, you are not protected against DELETE FROM table statement anymore.

Read further...

How to Make a Website Secure Again. Adding HSTS Response Header in NGINX

0
Comments
How to Make a Website Secure Again. Adding HSTS Response Header in NGINX

According to a Netcraft's study of the secured (SSL/TLS) sites they monitor, 95% of them are vulnerable to a simple man-in-the-middle attack because they didn't correctly implement HTTP Strict Transport Security (HSTS), a widely-supported security feature that prevents unencrypted HTTP connections to a server. Let's see why it's happening and how we can make your website secure, again.

Read further...

How-to Fix "Http failure during parsing" Error

0
Comments
How-to Fix

In my frontend application, I was making requests to the backend API, but in some cases, I was getting the following error: Http failure during parsing for http://localhost/api/get-data. If you are facing the same problem welcome on board! In this article you will see why this error is happening and how to fix it.

Read further...

Blazor - It's Time to Forget JavaScript

0
Comments
Blazor - It's Time to Forget JavaScript

Blazor - build interactive, modular, and fast front-end applications in C#. Now you can finally forget about JavaScript and start using .net infrastructure to run your C# code in the browser. You can share classes, logic, and components between the backend and frontend. Try it now and you will never want to go back to JS.

Read further...

WebAssembly - The Next Step in Web Development

1
Comments
WebAssembly - The Next Step in Web Development

A long, long time ago, developers were using machine codes to program computers. It was hard to keep all of them in mind, easy to make a mistake, and almost impossible to read.  After struggling with machine codes, they created mnemonic codes to refer to machine code instructions aka Assembly language. The assembler was responsible for translating assembly language to machine codes.

Read further...

NDC Oslo 2019 - Inspiration, Motivation, People

0
Comments
NDC Oslo 2019 - Inspiration, Motivation, People

The week is over as well as a great developer conference in Norway. This was my first NDC, and I was lucky to be in the city where it all started back in 2008, Oslo! NDC, Norwegian Developer Conference, is one of the biggest developer conferences in the world present in many cities, but Oslo is the place where it all started.

Read further...

Install .NET Core 3.0 on Raspberry Pi

0
Comments
Install .NET Core 3.0 on Raspberry Pi

As you might now, .NET Core 3.0 SDK and Runtime are available on Raspberry Pi (actually, any Linux ARM32 or ARM64 architectures, as well as x64). With the new 3.0 version of .NET Core you can run your console or ASP.NET Core web site\api projects on a cheap 35$ device without any problems (do not expect high performance). We are using Raspberry Pi 3 to control our LinkedIn and Instagram automation (I will tell you about these projects when they are ready for public) via .NET Core console applications.

Read further...

Loop Through The Diagonal Elements In Two Dimensional Array

0
Comments
Loop Through The Diagonal Elements In Two Dimensional Array

If you need to only loop through the diagonal elements of the two-dimensional array you can use the following C# code (but should be more or less the same for any programming language). It calculates the diagonal index based on a simple formula and has O(n) complexity, where n = max(width, height)

Read further...