About Gandalf The White

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

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

Access Modifiers in C#

What is an access modifier? Access modifiers are keywords in object-oriented languages that set the accessibility of classes, methods, and other members. Access modifiers are a specific part of programming language syntax used to facilitate the encapsulation of components. Which are the access modifiers in C#? There are 6 types of C# modifiers: public - Fully accessible. internal - Accessible only within the containing

2019-05-18T23:21:46+03:00By |Categories: C#|Tags: |0 Comments

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

2019-01-06T23:49:44+02:00By |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

2018-12-23T17:26:24+02:00By |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

2018-12-06T23:24:08+02:00By |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

2018-12-05T21:04:58+02:00By |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

2018-12-03T22:38:42+02:00By |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 /

2018-12-03T22:41:10+02:00By |Categories: How To|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

2018-12-03T22:43:24+02:00By |Categories: How To|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

2019-05-18T23:22:31+03:00By |Categories: C#|Tags: |0 Comments
Go to Top