How to subnet a network?

In the post, https://nepcodex.com/2020/05/what-is-subnetting/, we talked about what subnetting is. Similarly, in the previous post, we understood about subnet mask, IP address, Network ID and Host ID. Now, we are going look at some examples to divide a network. Example 1 – Subnet a network with equal number of hosts Firstly, we are going to … Read more How to subnet a network?

Understand Network Terminologies

In the previous post, we talked about the need for subnetting. However, our final purpose is to be able to perform subnetting based on some requirements. Therefore, it is important to understand some network terminologies. Also, it requires some knowledge of the binary number system. Otherwise, you can just memorize the numbers that we are … Read more Understand Network Terminologies

What is subnetting?

Let’s imagine that you are recently hired for a job of network engineer. Now, your major responsibility is to manage the network of your organization providing optimum performance and security. Hence, one of the things that you have to do is subnetting. But, what is subnetting? Introduction To be simple, subnetting is a method to … Read more What is subnetting?

Callbacks in Javascript

Before diving into callbacks, we have to understand that, in javascript, functions are first-class objects. As such, we can dynamically create, destroy, pass to a function, return as a value a first-class object. Also, it has all the rights as other variables in the programming language have. Callbacks in Javascript If we pass a function … Read more Callbacks in Javascript

Advantages of JSON in web programming

JSON stands for ‘JavaScript Object Notation’. We use JSON for storing and exchanging data between server and client (browser). However, there are other uses and advantages of JSON beyond this in web programming. Firstly, we have to understand what JSON is. We can only exchange data in text format. That is why, JSON is a … Read more Advantages of JSON in web programming

JWT Authentication in Express.js using Passport.js

In the previous post, we created an express.js application step by step. If you haven’t read that post, I suggest you do it because the basic steps are covered in the post. Therefore, you can check it out from here: https://nepcodex.com/2019/09/create-an-express-application-with-database/. Also, since we are trying to build a REST API, we will remove many … Read more JWT Authentication in Express.js using Passport.js

Create an Express Application with Database

In this post, we will learn how to create an express application with a database. Not only this, but also we will include a templating engine. For the record, I don’t say you have to do the way I do here, but you will get the gist of what to do. So, let’s begin by … Read more Create an Express Application with Database

More Interesting Facts in JavaScript

In the previous post, we saw some basic interesting facts in JavaScript. In the same way, we are going to view other interesting facts in this post. If you haven’t viewed that post, then I suggest you do have a loot at it. More Interesting Facts Var and Let Let’s see the code below: In … Read more More Interesting Facts in JavaScript

Some Interesting Facts in JavaScript

JavaScript, which was created to “make web pages alive”, is one of the feature-rich language. However, this scripting language has got many peculiarities which is distinct from other programming language. So, here we are going to view some interesting facts in JavaScript. We will see some history and some programming ways which are different from … Read more Some Interesting Facts in JavaScript

Spread and Rest Operator in JavaScript

JavaScript (ECMAScript) is one of the powerful scripting language which provides many features to developer. In the first place, it is the technology which makes a website lively. Not to mention, there are many ways to do a task in JavaScript. This language might not have been started with that planning, but the standards are … Read more Spread and Rest Operator in JavaScript