Sunday, February 20, 2022

Learnings

 Alway commit code when you make a change in code. So that you have backup

Thursday, July 22, 2021

map() method vs flatMap() method

map() method is for data transformation

flatMap() method is data transformation and flattening the final output

The flatMap() operation has the effect of applying a one-to-many transformation to the elements of the stream, and then flattening the resulting elements into a new stream.

flatMap() is an intermediate operation.

map() method is for one to one mapping.

flatMap() method is for one to many mapping.

Example of map() method, convert lowercase characters into uppercase

List<Character> letters = Arrays.asList('a','b','c','d');

List<Character> upperCaseLetters = letters.stream().map(x>Character.toUpperCase(x)).collect(Collectors.toList());

System.out.println(upperCaseLetters);


Source - https://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html


Wednesday, July 21, 2021

Technical Magazines

Digit

PC Quest

Linux 

Platforms to learn online

Udemy

Udacity

Team Tree house

100 Days of Code with Treehouse

Pluralsight

Linkedin Learning

Codewith Harry

https://www.codecademy.com/pricing

https://www.skillshare.com/



100 


100

 Days of Code with Treehouse of Code with Treehouse

Wednesday, January 20, 2021

Redis commands

 redis-cli


IP:port_number> info

info command to know version


hgetall 

Monday, November 9, 2020

Code to add external CSS in a HTML

External styles are defined within the <link> element, inside the <head> section of an HTML page:

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="mystyle.css">
</head>