/Gandalf The White

About Gandalf The White

This author has not yet filled in any details.
So far Gandalf The White has created 8 blog entries.

What is JSON Web Token?

JWT or JSON Web Token is JSON base standard for credential access (RFC 7519). The token contains access claims. For example the authentication server can generate token with claim "edit article" and the user with this claim can access functionality in REST API to "edit article". What is JWT structure? Typically JWT looks like: xxxx.yyyy.zzzz [...]

By |2019-01-06T23:49:44+00:00January 14th, 2019|Categories: Explained Simply|Tags: , |0 Comments

The essence of JSON

JSON means JavaScript Object Notation. It is an open source text base standard for data exchange. Primary usage of JSON is to transmit data between web browsers and servers as alternative of XML. Syntax rules Data is a key-value pair (also reffered to as property) separated by a comma. Keys are always strings.Curly brackets hold [...]

By |2018-12-23T17:26:24+00:00January 8th, 2019|Categories: Explained Simply|Tags: |0 Comments

Recursion vs. Iteration

Both algorithms repeatedly execute a set of instructions. Recursion is a function that call itself repeatedly. Iteration is when a loop is executed repeatedly while certain condition is true. Differences between recursion and iteration: Recursion is a process applied on a function, iteration does not require a function.Infinite recursion can lead to system crash (stack [...]

By |2018-12-06T23:24:08+00:00December 7th, 2018|Categories: Explained Simply|Tags: , , |0 Comments

What is Recursion?

In the film "Edge of Tomorrow", the main character, Major William Cage, fights against aliens and gets to relive the same day over and over again. Each time he dies, accidentally or with purpose, he is brought back to the same point in time. This special ability allows him to overcome the challenges he is [...]

By |2018-12-05T21:04:58+00:00December 5th, 2018|Categories: Explained Simply|Tags: |0 Comments

Git – Basic Commands

Using Git requires getting familiar with its commands and their usage. The list below contains some of the more important commands: init - Used for creating and initializing repository (project). Most often it is done on a server where the entire repository is stored. clone - Download repository. add - Add files to git repository. commit [...]

By |2018-12-03T22:38:42+00:00June 3rd, 2017|Categories: Explained Simply|0 Comments

Flush DNS cache in Google Chrome

Chrome is a browser that uses its own DNS cache. To flush(clear) the existing cache, we need to complete the following steps: Navigate to chrome: // net-internals / # dns page Click "Clear host cache" button In some cases, clearing the DNS cache is not sufficient and you need to clear socket pool: Navigate to chrome: // net-internals / [...]

By |2018-12-03T22:41:10+00:00May 26th, 2017|Categories: How To|Tags: , |0 Comments

Mean Value with R

In this example I'll show you how to find the average value of a vector using R language. First we declare a vector with the numbers we want to find the average of and write in the variable a. The declaration of the vector is obtained by the command "c" (derived from "combine"). The assignment to [...]

By |2018-12-03T22:43:24+00:00May 8th, 2017|Categories: How To|Tags: , |0 Comments

Generating Sound Signal in C#

Using C# you can generate a simple beep signal from a computer. This can be achieved using the following console application code: using System; namespace ConsoleApplication3 { class Program { static void Main(string[] args) { Console.Beep(440, 1000); } } } When you start the program you will hear the sound lasting one second. We use [...]

By |2018-12-03T22:39:45+00:00April 17th, 2017|Categories: How To|Tags: , , |0 Comments
We use cookies on this site to improve our service, perform analytics and remember website preference. By using the site, you consent to these cookies (Privacy policy). I consent to cookies