Saturday, 21 September 2019

Angular tough topics Part-1

ViewEncapsulation:

It is way of scoping your styles in Angular. It helps with style control over components.

It provides three ways: -
0: - EMULATEDNo Shadow DOM; Style Encapsulation;
1: - NATIVE - Shadow DOM; Style Encapsulation
2: - NONE- No Shadow DOM; No Style Encapsulation

Shadow DOM is a new DOM feature that helps you build components. You can think of shadow DOM as a scoped subtree inside your element. 


Building Blocks of Angular:

Metadata;       Template;      Routing;        Data Binding;        
Component;
Services;         Dependency Injection;       Directives;            
Pipes and Filter;
Forms;            Modules.


Life cycle Hooks sequence Angular:

ngOnChanges();
ngOnInit();
ngDoCheck();
ngAfterContentInit();
ngAfterContentChecked();
ngAfterViewInit();
ngAfterViewChecked();
ngOnDestory();   



Guess the output for below:-


a.  console.log(2 + '2');

b. console.log(2 - '2');


Answer: a: 22; b:0;

+ operator is applied to number(as Math operator) as well as to String (concatenate)
- is only number operator.

Thank you!


Satender Kumar Mall
Twitter: @satenderiiit

Saturday, 7 September 2019

Chandrayaan-2 Mission- Advantage - Part-2


These are raw facts straight from Principal Scientific Adviser to the Government of India regarding the benefits by 95% success story to world in coming days.

For Part-1

Thank you!


Satender Kumar Mall
Twitter: @satenderiiit


Chandrayaan-2 Mission- Advantage - Part-1

These are raw facts straight from Principal Scientific Adviser to the Government of India regarding the benefits by 95% success story to world in coming days.



                   
                                                           Continue.....

Thank you!


Satender Kumar Mall
Twitter: @satenderiiit


Saturday, 24 August 2019

Happy Janmashtami


Happy Janmashtami



Taking One Day at a Time

Krishna was conscious of the future, but chose to live in the moment without worrying. Even if he knew what was going to happen, he still took one day at a time.
It’s easy to get bogged down by challenging circumstances, but staying mindful and present can make things much easier.
                                                            Shri Krishna

Sri Krishna is the most mysterious, profound and multidimensional of the great gurus and rishis. From the highest Self-realization to a childlike devotion, yet a skillful statesman and fierce warrior. An avatar beyond all dogmas and beliefs. Happy Janmashtami!
                                                                                           @davidfrawleyved








Krishna symbolises the fullness of life. He can serve & be king; He can be a student & give knowledge in a battlefield; there is innocence in Him & He can be shrewd. Lord Krishna is an epitome of love & respect.
@SriSri




Thank you!


Satender Kumar Mall
Twitter: @satenderiiit

Tuesday, 13 August 2019

Amazon Web Services – Your 25th Hour Mate - Now at Udemy

Amazon Web Services – Your 25th Hour Mate 


Now available at


Understand AWS in just 2 hours!!

Concise - To the point course.


AWS - Course



Thank you!


Satender Kumar Mall
Twitter: @satenderiiit

Monday, 22 July 2019

Victimhood - Really


These days mostly we see blame game and height of victimhood. Majority of people do not want to wait a second to analyse the problem at hand and explore solution. In fact, they find easy way out to blame one thing or other, express anger or even put innocent life at risk, just to proof their mindless victimhood.

This could be one of the reason why many gulf countries have turned to rubbles and mass migration has happen in recent past.


From this below excerpt, we may truly get HOPE and calmness, the much-needed medicine to help earth attain PEACE.


source:internet


In Mahabharata, Karna asks Lord Krishna - "My mother left me the moment I was born.
Is it my fault I was born an illegitimate child?
I did not get the education from Dhronacharya because I was considered not a Kshatriya.

Parshu-Raam taught me but then gave me the curse to forget everything when he came to know I was Son of Kunthi belong to Kshatriya. A cow was accidentally hit by my arrow & its owner cursed me for no fault of mine. I was disgraced in Draupadi's Swayamvar.

Even Kunthi finally told me the truth only to save her other sons. Whatever I received was through Duryodhana's charity. So how am I wrong in taking his side ???"

**Lord Krishna replies, "Karna, I was born in a jail. Death was waiting for me even before my birth.


The night I was born I was separated from my birth parents. From childhood, you grew up hearing the noise of swords, chariots, horses, bow, and arrows. I got only cow herd's shed, dung, and multiple attempts on my life even before I could walk!

No Army, No Education. I could hear people saying I am the reason for all their problems. 
When all of you were being appreciated for your valour by your teachers I had not even received any education.
 I joined Gurukula of Rishi Sandipani only at the age of 16!

You are married to a girl of your choice. I didn't get the girl I loved & rather ended up marrying those who wanted me or the ones I rescued from demons. I had to move my whole community from the banks of Yamuna  far off Sea shore to save them from Jarasandh.


I was called a coward for running away!! If Duryodhana wins the war you will get a lot of credit. What do I get if Dharmaraja wins the war? Only the blame for the war and all related problems Remember one thing, Karna. Everybody has Challenges in life to face.


LIFE IS NOT FAIR & EASY ON ANYBODY!!!
But what is Right (Dharma) is known to your Mind (conscience). No matter how much unfairness we got, how many times we were Disgraced, how many times we Fall, what is important is how you REACTED at that time.


Life's unfairness does not give you license to walk the wrong path...

Always remember,

Life may be tough at few points, but DESTINY is not created by the SHOES we wear

 but by the STEPS we take...



if you think it’s difficult to follow: - Then read about Kashmiri Pundits struggle post ethnic cleansing in 1990’s.

The above teaching of Krishna, I guess has been truly followed by our Kashmiri Pundits brothers and sisters, who suffered and evicted from their homeland but never resort to violence or terrorism, instead they build up live from scratch and rose in life.



Thank you!


Satender Kumar Mall
Twitter: @satenderiiit