This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Difference between "variable" and "field" | |
========================================== | |
Field: Defined in class | |
Variable: Defined in methods | |
Eg: | |
class Example{ | |
void firstMethod(){ | |
int myVar = 12; | |
myField = 42; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
On MacOS terminal | |
=============== | |
1. Run the following command to install the express generator | |
~ sudo npm install express-generator -g | |
2. Create a folder for the application | |
~ mkdir azurenodejsapp | |
~ cd azurenodejsapp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Live share session for vs code/ vs 2017 (https://visualstudio.microsoft.com/services/live-share/) | |
My collaboration session URL - https://insiders.liveshare.vsengsaas.visualstudio.com/join?9CC0302ADE6C6C48499FCA713746C1D7D63B | |
2. Intellicode | |
Azure | |
======= | |
1. AppServices | |
2. Functional Apps | |
3. Cosmos DB | |
4. Virtual Machines |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Microsoft Remote Desktop from Mac | |
fn + ctrl + alt (option) + delete | |
//Remote desktop from Parallels (Remote from Windows on Mac) | |
fn + ctrl + alt (option) + right arrow | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Masking inputs including char and digits | |
str = str.replace(/[a-zA-Z0-9-](?=[a-z0-9A-Z-]{4})/g, '*'); | |
//Masking just digits | |
str = str.replace(/\d(?=\d{4})/g, "*"); |