Categories
JavaScript

Get the Monday of the Current week

https://bobbyhadz.com/blog/javascript-get-monday-of-current-week The getDate method returns an integer between 1 and 31 that represents the day of the month for the given date The getDay method returns an integer between 0 (Sunday) and 6 (Saturday) that represents the day of the week for the date The return value of setDate() is the number of milliseconds between 1 January 1970 00:00:00 […]

Categories
Programming

GraphQL

GraphQL Full Course – Novice to Expert GraphQL is a query language Used to communicate data between Client and Server As an alternative to REST, GraphQL lets developers construct requests that pull data from multiple data sources in a single API call GraphQL Schema To describe how the data on the graph will look Types […]

Categories
MongoDB

MongoDB for JavaScript Developers (M220JS)

Chapter 0: Introduction and Setup MongoDB URI Uniform Resource Identifier Used to connect applications and MongoDB instances SRV <host> points to service record No need for manually modifying the connection string when servers in cluster change or rotate out Chapter 1: Driver Setup MongoClient To initial connection with the database Gather information about a database […]

Categories
MongoDB

The MongoDB Aggregation Framework (M121)

Chapter 1: Introduction and Aggregation Concepts The concept of Pipelines: Composition of stages Stages are configurable to produce desired transformations Documents flow like parts in an assembly line Stages can be arranged in multiple ways Aggregation Structure and Syntax Pipeline are always an array of one or more stages Each stage is a JSON object […]

Categories
MongoDB

Basic Cluster Administration (M103)

Chapter 0: Introduction & Setup Linux Basics Grant read-only access to the user chmod 400 <path-to-the-file> Change file ownership chown [new owner]:[group] <file name> Chapter 1: The Mongod The Mongod d stands for daemon Core server of MongoDB, handling connection, request and persisting data Default configuration port: 27017 dbpath: /data/db bind_ip: localhost auth: disabled The […]

Categories
Programming

Protected: Cyber Security

There is no excerpt because this is a protected post.

Categories
MongoDB

MongoDB Basics (M001)

What is the MongoDB Database? A database – Structured way to store and access data A NoSQL database – Non-relational database NoSQL document DB – Data in MongoDB is stored as documents Stored in collections – Documents are stored in collections of documents Document – A way to organize and store data as a set […]

Categories
SQL

Complete Microsoft SQL Server Database Administration Course

Section 1: Introduction RDBMS Relational database management system Allows to identify and access data in relation to another piece of data in the database Data in a relational database is often organized into tables SQL Structured Query Language A programming language used to communicate with data stored in a relational database management system SQL is […]

Categories
Vue.js

VUE 2

Getting Started Comparison with React & Angular Extremely lean & small great runtime performance feature-rich, very extendable Vue instance is the core of a VueJs application Using VueJS to Interactwith the DOM The {{ }} syntax is called “interpolation” or “String interpolation”, inside value should be something that could be converted to a string cannot […]

Categories
React

React – The Complete Guide – Udemy

Section 1: Getting Started React is a JavaScript library for building user interfaces A client-side JavaScript library All about building modern, reactive user interfaces for the web Declarative, component focused approach React.js Alternatives Section 2: JavaScript Refresher declare variable let -> variable values const -> constant values Arrow functions keep it context (this issue) parentheses […]