Daily Learning – Medium


npm install <package-name> — save
npm install <package-name> — save-dev
deploy”: “gh-pages -d build”

git commands

git remote add

$ mkdir foo-bar
$ cd foo-bar
$ git init
$ touch .gitkeep
$ git add .
$ git commit -m "initial commit"
Running commands to up remote server.

git pull

Merge branch 'foo-bar' of https://github.com/cameronDz/bar-foo-project into foo-bar
# Please enter a commit message to explain why this merge is
# necessary, especially if it merges an updated upstream into a
# topic branch.
# Lines starting with '#' will be ignored, and an empty message
# aborts the commit.

TypeScript — Interfaces

TypeScript — Modules

User authentication using passport.js in Node.js

How to use body-parser in Express to handle different POST requests


Azure functions using java

public void blobMonitor(
@BlobTrigger(name = "file",
dataType = "binary",
path = "samples-workitems/{name}",
connection = "AzureWebJobsStorage") byte[] content,
@BindingName("name") String filename,
final ExecutionContext context
) {
context.getLogger().info("Name: " + filename + ", Size: " + content.length + " bytes");
public interface BlobTrigger implements Annotation

Java Classes/Objects

final int x = 10;

Static vs. Non-Static

public class Main {
// Static method
static void myStaticMethod() {
System.out.println("Static methods can be called without creating objects");

// Public method
public void myPublicMethod() {
System.out.println("Public methods must be called by creating objects");

// Main method
public static void main(String[] args) {
myStaticMethod(); // Call the static method
// myPublicMethod(); This would compile an error

Main myObj = new Main(); // Create an object of Main
myObj.myPublicMethod(); // Call the public method on the object


import package.name.<Class_name>;   // Import a single class
import package.name.*; // Import the whole package

Java ArrayList

Experience with Front-end Technologies and MERN / MEAN Stack. Working on all Major UI Frameworks like React, Angular.