Tuesday, October 19, 2021

Convert .mkv file to .mp4 file using VLC Media Player #FOSS



Step 1:
Step 2:
Step 3:
Step 4:
Step 5:
Step 6:
Step 7:

Hair Fall Treatment (National Skin Hospital, 2020-Dec-29)



April 2021:

Hair Fall Treatment (Medens, 2021-Jan-02)



April 2021:

Hair Fall Treatment (Medens, 2020-Dec-11)



April 2021:

Hair Fall Treatment (Medens, 2020-Aug-1)



April 2021:

Hair Fall Treatment (Medens, 2020-Oct-19)



April 2021:

Hair Fall Treatment (Medens, 2020-Sep-19)



April 2021:

Hair Fall Treatment (Medens, 2020-Sep-01)



April 2021:

Hair Fall Treatment (Medens, 2020-Aug-09)



April 2021:

Hair Fall Treatment (Medens, 2020-Jul-05)



April 2021:

Sunday, October 17, 2021

Two Time Management Tools



Tool 1: SMART Goals

1.1. Specific

1.2. Measurable

1.3. Achievable / Actionable 

1.4. Relevant / Realistic

1.5. Time bound

- - - - 

Tool 2: Eisenhower Matrix

7 Git commands for interview



1. git diff [sha1 sha2]

2. git show [shaID]

3. git pull [--rebase]

4. git fetch

5. git push [-f]

6. git cherry-pick [shaID] 

7. git format patch [-n]

Why should you read ‘The Psychology of Money’ ~ Shubham Rajput



As the saying goes, “Rome was not built in a day but Hiroshima was destroyed in a day”, this holds correct most of the time while we are making our financial decisions. What if someone had told you that the possibility of you getting wealthy is not a function of your income but it is a function of your behaviour? There is a good chance that you might not have believed him or her, if 1% of your personality resembles my behavioural patterns with respect to finances. In India, the demography is getting more and more in favour of industrial expansion. Large population of the country is earning population, which means that the same population will be consuming population and as income will keep on increasing, so will be the consumption, and so will be the production of industries, and so will be the earnings due to increasing employment demand, and this cycle might keep on going. Such kind of prospect brings us with two unique opportunities - first, more employment opportunities and continuous increase in earning due to skills and second, more opportunities to invest and save as industries will keep on growing and so will be their profits and so will be the share prices of those companies and so will be the returns on their investments had you invested. And for every person, who wishes to invest his or her hard earned earnings in such kind of investment opportunities either through Mutual Funds or through direct investment, this book is a must read. This book will change your perception and will almost convince you that your future wealth (yes WEALTH not deposits) depends more on your behaviour and less on your income. Lets jump to the best lesson of the book:

“Success is a lousy teacher. It seduces people into thinking that they can not lose” -- Bill Gates

We often tend to forget or ignore or completely reject that every opportunity which came to us and transformed our lives was the outcome of luck playing in our favour. We tend to believe so much in ourselves that we can not fathom that a factor that can not be measured, can not be earned, can not be achieved, can have a role in our lives. The outcome we get when we ignore the part of luck in our success, be it financial or in terms of career, we start believing that there are no unknown factors that can not be controlled. And that expose us to another sibling of luck - “risk”. This concept is conveyed in very simple terms. Bill Gates studied in the school which had early access to computers because the headmaster of the school was a World War-II veteran and he recognised the importance of computers. During those times, even many of the colleges didn’t get access to computers. What were the odds of you being in the place of Bill Gates? To get that opportunity, first you required the ‘ovarian lottery’, that is you had to get birth during that time. Then you would have needed to be born in the USA and that too in the same school with the mindset of parents that you deserve good education and with a headmaster who would have been visionary enough to understand the importance of computers. And after so many coincidences, you would have got the chance to upgrade your skills to such an extent that you could went on to create world’s largest software company of the forthcoming century. But Bill Gates was not the only one to get that kind of access. All his schoolmates got that access and only two of them went on to develop skills to a considerable level, one was of course Bill Gates and another was his friend. All others who did not develop such skills is a confirmation of the belief that hard work pays, but only when you are already rewarded with luck. Now, who was the friend of Bill Gates who developed the same kind of skills? His name was Kent Evans, and the reason you don’t know his name is that he died while mountaineering. That’s how risk is associated with luck. What is the lesson we can learn? Always be prepared for every eventuality, positive or negative. Your every investment can earn you multiple returns on your investments (if luck is playing by your side) but the same can rob away all your money (if you fail to manage risk). Therefore risk management should be the essence of all your financial decisions, whether you are making investment decisions or you are a stock trader (especially if you are a stock trader). If luck comes in your favour you are earning a handsome return but if luck does not come your way, then at least you would have managed the risk. Just imagine the condition of the person who has large amounts of loans - home loan, personal loans, business loans, credit card bills, etc. And out of nowhere, Covid-19 crisis evolved. Who would have thought of such a situation? Just imagine the plight of the person who failed to cover risk?

Treat to the canines [2021-Oct-17]



Index of Journals
2021-Jul-12 07:19:09 AM
Treat of 52 eggs to the canines 
YouTube

Total: 52 * 6: 312

2021-Oct-14

Chapati to dogs: Rs 5

2021-Oct-15

Three Cosco Balls: 
Total: Rs 60 * 3: Rs 180

2021-Oct-16

3 Eggs to Tailless Blacky: @ Rs 6
Rs 18

2021-Oct-17

9 Eggs to Husky: @ Rs 6
Rs 45

Brown Bread: Rs 40

Super Total: 600

--------------------------------------
Learning about canine diet:

1. Roti / Chapati
2. Bread (White or Brown)
3. Biscuits
4. Lassi (Buttermilk)
5. Milk
6. Raw Eggs

Thursday, October 14, 2021

17-Feb-2011 (Scene in Algorithms and Design class)



Index of Journals
February 17, 2011

I was up around 2am right when Prashant had disturbed me in sleep. It is difficult to tell what thoughts do people preparing for JEE entrance exam the second time produce! 

I studied whole night and I went to college to attend the 8am class. It feels good in Swarnlata madam’s class. She would be watching me and I would be watching her. I can’t keep open with my eyes so tending to fall asleep with every blink. My hands and shoulders feel heavy, and I can’t resist smiling for no reason on the cute teacher’s face. There making it even worse for me in that situation. But nothing like that happened today. The period went away nicely. 

I attended ADA class and then bunked CG and OS class to make soft copy of lecture-plan and save about seven rupees. 
I noticed that from my Yahoo wall notifications from Rashmi were missing. That means either I’ve been blocked or removed from her contacts. Either situation is equally worse so it’s useless for me to choose for the probable one. Well, I can’t be talking to anybody about my personal life. Rekha buaji uselessly want me to indulge in conversation with her, and I sometimes picture myself as the ‘Hannibal-Cannibal’ from the movie ‘Silence of the lambs’ and think of Smita as that trainee who was sent to examine the psychopath at the Medication centre. 

Oh, god, after lunch it was ADA practical. During the practical, Tanvi was getting so uncomfortably close to me that I almost wanted to reciprocate her right there and then. Earlier I was feeling the same for Kanupriya, with whom I had matched eyes in the corridor on the top floor. 

Then even to this day, sometimes it feels like Astha, Karishma, and Shreya want to invite me to their group. 

During viva in ADA practical class, sir had very badly rebuked Roshan for smiling with the incomplete file for checking. Sir used the phrase ‘bloody hell’ right before the class while dealing with Roshan. I was scared that my already rotten image is just going to get worse if I don’t get the file ready before my turn comes. But, you wouldn’t believe, sir actually let me go very nice and easy. I was surprised, that was when I had wrongly answered the question and had not put down the output of the MERGE sort program. Ah, felt lucky at that moment. But, it didn’t make feel better inside. Rather the feeling of guilt almost kept killing me for another hour.
Today in the bus, a man came begging. Both of his hands were cut from the wrist and he was calling himself helpless about his situation. I couldn’t give him anything. But it made me feel worse for this city I already hate right from the bottom of my heart.

Chachi had been going crazy over laptop being kept by me on my table for whole day.

God Bless ‘Me’
Ashish 

Wednesday, October 13, 2021

Anu and Tushar's wedding (Feb 2020)



It is very hard for me today (2021-Aug-4) to think of writing about Anu, my sister's wedding, to think of a good beginning of this article without thinking of my grandpa, without missing him.

The Week Leading to the Wedding

The POC development at my workplace at been going on at full pace with Kishore Bhat, Kajal Singh and Amitabh. I really loved the work and was enjoying it day and night. The kind of work that we did Amitabh's team was very cool and the environment was intensely competitive. The notion in my mind was that if I would spend too much time off of work for the wedding ceremony, I might get replaced or that Kajal would position herself ahead and strongly that it would be hard for me make a comeback.
The time when I was in the bus from Chandigarh to Delhi, I thought about how life had been, what I had expected, what I wanted and reflected upon my past.
While I was doing the reflection, I thought of a quote from Richard Branson's book 'The Virgin Way' that I had memorized for the Book Club presentation on the book. The quotation goes like this: 
Life is too short. Don't enjoy it? Don't do it.

This pushed me shoot out a negotiation mail to Amitabh for the quality of work I was getting. I wrote if he doesn't put me in an AI/ML project, I would have to consider his advice about projects outside the team and maybe company.
I had little choice here, even if I get into an AI/ML project, it would be with Kajal in team.
The project with the financial institution client was picking pace while I was on leave. I was checking emails regularly but not responding to them.

Day 1: 

Apart from the mess that was in Infy, I was getting 'Data Scientist' opportunity at Bebo, interview letter was in personal mailbox and while I was attending Anu's engagement on Day 1, Bebo HR was trying to reach me on call.
Bebo is nothing as compared to Infy so I took no clear interest in it apart from getting interviewed.

Day 2:

When the wedding was going on, my mom and I were here at the hotel. During this time, Shree Bhagwan and Sanjay Chanchal were calling repeatedly. The issue was of cleanliness. Sanjay Chanchal had engaged in one-to-one conversation with Shree Bhagwan. When Shree Bhagwan called me, I was not very happy with the situation at hand. I told Shree Bhagwan that as for the cleaning and drying of the front yard, I would get external person to do it but there will be rent revision for that.
I was a literally a guest at my sister's wedding. There was so much going on in my life that I was barely able catch a breath. The stress was palpable. Taking Trini Calm tablet left me in self-aware, self-conscious, emotionless and sleepy mood.
After Anu's wedding, I came home by Metro as all the cars and cabs had left.

Day 3:

Sri Bhagwan left. It was okay for everyone as the Tri Nagar didn't have enough infrastructure capacity to bear 11 people (5 of Sri Bhagwan, 3 of Sanjay Chanchal, 2 Sanjay Ramesh and one mom).

In the morning:

Rekha bua, Rajeev fufa, Yashvir uncle and Seema aunt went to bring back the girls from the hotel and also have breakfast with Tushar's family. I was asked by uncle and aunt to come along but I refused stating I had to reply emails. When I told Rajeev fufa the same reason on meeting him before they left, he smirked with the noise as if "replying emails was not a good reason". Rajeev fufa had taken leave from Visa Company for his parents anniversary celebration and had come to India, Visa took an action on him for taking this extended leave and Rajeev fufa had to switch company. Hence, the saying goes:
Boss is always right.

Saturday, October 9, 2021

That what DIR shows, XCOPY copies



$ dir /s *.ppt*

Volume in drive F has no label.
Volume Serial Number is 6137-6435

Directory of ~\Artificial Intelligence\AI and disciplines it borrows ideas from (20210304)

04/27/2021  01:39 PM           178,384 AI and disciplines it borrows from (20210304).pptx
                1 File(s)        178,384 bytes

Directory of ~\Artificial Intelligence\Career Road Map for Artificial Intelligence & Data Science [20210725]

07/24/2021  12:02 PM           521,685 Career Road-Map for Artificial Intelligence & Data Science.pptx
                1 File(s)        521,685 bytes

Directory of ~\Machine Learning\Classification\Naive Bayes Classifier for Spam Filtering

07/27/2021  07:47 PM         9,358,328 Naive Bayes Classifier for Spam Filtering.pptx
                1 File(s)      9,358,328 bytes

Directory of ~\Machine Learning\Regression\Linear Regression (Theory 20210715)

07/15/2021  12:32 PM         4,869,791 Linear Regression.pptx
                1 File(s)      4,869,791 bytes

Directory of ~\Machine Learning\Regression\Improvements over OLS (Forward Stepwise, Ridge, Lasso, LARS)

07/17/2021  05:12 PM           723,056 Improvements over OLS (Forward Stepwise, Ridge, Lasso, LARS).pptx
                1 File(s)        723,056 bytes

Directory of ~\Natural Language Processing\Session 1 on `Understanding, Analyzing and Generating Text'

07/20/2021  05:16 PM         1,503,410 Session 1 on `Understanding, Analyzing and Generating Text'.pptx
                1 File(s)      1,503,410 bytes

Directory of ~\Natural Language Processing\Sentiment Analysis\VADER - Rule Based Approach to Sentiment Analysis

07/22/2021  12:48 PM           340,528 Session 2 on `Understanding, Analyzing and Generating Text'.pptx
                1 File(s)        340,528 bytes

Directory of ~\Natural Language Processing\Word Embeddings\Document Parsing, Document based Embeddings and Word Embeddings

08/15/2021  10:19 PM           849,022 Document Parsing, Document based Embeddings and Word Embeddings.pptx
                1 File(s)        849,022 bytes

Directory of ~\Web Development\JavaScript\JavaScript Intro (Dev Console, Data Types and Operators)

07/26/2021  07:03 PM           231,542 JavaScript.pptx
                1 File(s)        231,542 bytes

    Total Files Listed:
                9 File(s)     18,575,746 bytes
                0 Dir(s)  587,115,003,904 bytes free 

$ dir /s /b *.ppt*

~\Artificial Intelligence\AI and disciplines it borrows ideas from (20210304)\AI and disciplines it borrows from (20210304).pptx
~\Artificial Intelligence\Career Road Map for Artificial Intelligence & Data Science [20210725]\Career Road-Map for Artificial Intelligence & Data Science.pptx
~\Machine Learning\Classification\Naive Bayes Classifier for Spam Filtering\Naive Bayes Classifier for Spam Filtering.pptx
~\Machine Learning\Regression\Linear Regression (Theory 20210715)\Linear Regression.pptx
~\Machine Learning\Regression\Improvements over OLS (Forward Stepwise, Ridge, Lasso, LARS)\Improvements over OLS (Forward Stepwise, Ridge, Lasso, LARS).pptx
~\Natural Language Processing\Session 1 on `Understanding, Analyzing and Generating Text'\Session 1 on `Understanding, Analyzing and Generating Text'.pptx
~\Natural Language Processing\Sentiment Analysis\VADER - Rule Based Approach to Sentiment Analysis\Session 2 on `Understanding, Analyzing and Generating Text'.pptx
~\Natural Language Processing\Word Embeddings\Document Parsing, Document based Embeddings and Word Embeddings\Document Parsing, Document based Embeddings and Word Embeddings.pptx
~\Web Development\JavaScript\JavaScript Intro (Dev Console, Data Types and Operators)\JavaScript.pptx 

~\vscode>xcopy /s *.ppt* F:\xcopy

~\Artificial Intelligence\AI and disciplines it borrows ideas from (20210304)\AI and disciplines it borrows from (20210304).pptx
~\Artificial Intelligence\Career Road Map for Artificial Intelligence & Data Science [20210725]\Career Road-Map for Artificial Intelligence & Data Science.pptx
~\Machine Learning\Classification\Naive Bayes Classifier for Spam Filtering\Naive Bayes Classifier for Spam Filtering.pptx
~\Machine Learning\Regression\Linear Regression (Theory 20210715)\Linear Regression.pptx
~\Machine Learning\Regression\Improvements over OLS (Forward Stepwise, Ridge, Lasso, LARS)\Improvements over OLS (Forward Stepwise, Ridge, Lasso, LARS).pptx
~\Natural Language Processing\Session 1 on `Understanding, Analyzing and Generating Text'\Session 1 on `Understanding, Analyzing and Generating Text'.pptx
~\Natural Language Processing\Sentiment Analysis\VADER - Rule Based Approach to Sentiment Analysis\Session 2 on `Understanding, Analyzing and Generating Text'.pptx
~\Natural Language Processing\Word Embeddings\Document Parsing, Document based Embeddings and Word Embeddings\Document Parsing, Document based Embeddings and Word Embeddings.pptx
~\Web Development\JavaScript\JavaScript Intro (Dev Console, Data Types and Operators)\JavaScript.pptx 
9 File(s) copied 
    

Xcopy Help

~\vscode>xcopy /? Copies files and directory trees. XCOPY source [destination] [/A | /M] [/D[:date]] [/P] [/S [/E]] [/V] [/W] [/C] [/I] [/Q] [/F] [/L] [/G] [/H] [/R] [/T] [/U] [/K] [/N] [/O] [/X] [/Y] [/-Y] [/Z] [/B] [/J] [/EXCLUDE:file1[+file2][+file3]...] [/COMPRESS] source Specifies the file(s) to copy. destination Specifies the location and/or name of new files. /A Copies only files with the archive attribute set, doesn't change the attribute. /M Copies only files with the archive attribute set, turns off the archive attribute. /D:m-d-y Copies files changed on or after the specified date. If no date is given, copies only those files whose source time is newer than the destination time. /EXCLUDE:file1[+file2][+file3]... Specifies a list of files containing strings. Each string should be in a separate line in the files. When any of the strings match any part of the absolute path of the file to be copied, that file will be excluded from being copied. For example, specifying a string like \obj\ or .obj will exclude all files underneath the directory obj or all files with the .obj extension respectively. /P Prompts you before creating each destination file. /S Copies directories and subdirectories except empty ones. /E Copies directories and subdirectories, including empty ones. Same as /S /E. May be used to modify /T. /V Verifies the size of each new file. /W Prompts you to press a key before copying. /C Continues copying even if errors occur. /I If destination does not exist and copying more than one file, assumes that destination must be a directory. /Q Does not display file names while copying. /F Displays full source and destination file names while copying. /L Displays files that would be copied. /G Allows the copying of encrypted files to destination that does not support encryption. /H Copies hidden and system files also. /R Overwrites read-only files. /T Creates directory structure, but does not copy files. Does not include empty directories or subdirectories. /T /E includes empty directories and subdirectories. /U Copies only files that already exist in destination. /K Copies attributes. Normal Xcopy will reset read-only attributes. /N Copies using the generated short names. /O Copies file ownership and ACL information. /X Copies file audit settings (implies /O). /Y Suppresses prompting to confirm you want to overwrite an existing destination file. /-Y Causes prompting to confirm you want to overwrite an existing destination file. /Z Copies networked files in restartable mode. /B Copies the Symbolic Link itself versus the target of the link. /J Copies using unbuffered I/O. Recommended for very large files. /COMPRESS Request network compression during file transfer where applicable. The switch /Y may be preset in the COPYCMD environment variable. This may be overridden with /-Y on the command line.

Application of "for" with "xcopy" to discard folder structure but keep the files

~\vscode>for /r %i in (*.ppt*) do xcopy /Y "%i" f:\someplace ~\vscode>xcopy /Y "~\vscode\Lessons in Technology\Artificial Intelligence\AI and disciplines it borrows ideas from (20210304)\AI and disciplines it borrows from (20210304).pptx" f:\someplace Does F:\someplace specify a file name or directory name on the target (F = file, D = directory)? D ~\vscode\Lessons in Technology\Artificial Intelligence\AI and disciplines it borrows ideas from (20210304)\AI and disciplines it borrows from (20210304).pptx 1 File(s) copied ~\vscode>xcopy /Y "~\vscode\Lessons in Technology\Artificial Intelligence\Career Road Map for Artificial Intelligence & Data Science [20210725]\Career Road-Map for Artificial Intelligence & Data Science.pptx" f:\someplace ~\vscode\Lessons in Technology\Artificial Intelligence\Career Road Map for Artificial Intelligence & Data Science [20210725]\Career Road-Map for Artificial Intelligence & Data Science.pptx 1 File(s) copied ~\vscode>xcopy /Y "~\vscode\Lessons in Technology\Machine Learning\Classification\Naïve Bayes Classifier for Spam Filtering\Naïve Bayes Classifier for Spam Filtering.pptx" f:\someplace ~\vscode\Lessons in Technology\Machine Learning\Classification\Naïve Bayes Classifier for Spam Filtering\Naïve Bayes Classifier for Spam Filtering.pptx 1 File(s) copied ~\vscode>xcopy /Y "~\vscode\Lessons in Technology\Machine Learning\Regression\Linear Regression (Theory 20210715)\Linear Regression.pptx" f:\someplace ~\vscode\Lessons in Technology\Machine Learning\Regression\Linear Regression (Theory 20210715)\Linear Regression.pptx 1 File(s) copied ~\vscode>xcopy /Y "~\vscode\Lessons in Technology\Machine Learning\Regression\Improvements over OLS (Forward Stepwise, Ridge, Lasso, LARS)\Improvements over OLS (Forward Stepwise, Ridge, Lasso, LARS).pptx" f:\someplace ~\vscode\Lessons in Technology\Machine Learning\Regression\Improvements over OLS (Forward Stepwise, Ridge, Lasso, LARS)\Improvements over OLS (Forward Stepwise, Ridge, Lasso, LARS).pptx 1 File(s) copied ~\vscode>xcopy /Y "~\vscode\Lessons in Technology\Natural Language Processing\Session 1 on ‘Understanding, Analyzing and Generating Text'\Session 1 on ‘Understanding, Analyzing and Generating Text'.pptx" f:\someplace ~\vscode\Lessons in Technology\Natural Language Processing\Session 1 on ‘Understanding, Analyzing and Generating Text'\Session 1 on ‘Understanding, Analyzing and Generating Text'.pptx 1 File(s) copied ~\vscode>xcopy /Y "~\vscode\Lessons in Technology\Natural Language Processing\Sentiment Analysis\VADER - Rule Based Approach to Sentiment Analysis\Session 2 on ‘Understanding, Analyzing and Generating Text'.pptx" f:\someplace ~\vscode\Lessons in Technology\Natural Language Processing\Sentiment Analysis\VADER - Rule Based Approach to Sentiment Analysis\Session 2 on ‘Understanding, Analyzing and Generating Text'.pptx 1 File(s) copied ~\vscode>xcopy /Y "~\vscode\Lessons in Technology\Natural Language Processing\Word Embeddings\Document Parsing, Document based Embeddings and Word Embeddings\Document Parsing, Document based Embeddings and Word Embeddings.pptx" f:\someplace ~\vscode\Lessons in Technology\Natural Language Processing\Word Embeddings\Document Parsing, Document based Embeddings and Word Embeddings\Document Parsing, Document based Embeddings and Word Embeddings.pptx 1 File(s) copied ~\vscode>xcopy /Y "~\vscode\Lessons in Technology\Web Development\JavaScript\JavaScript Intro (Dev Console, Data Types and Operators)\JavaScript.pptx" f:\someplace ~\vscode\Lessons in Technology\Web Development\JavaScript\JavaScript Intro (Dev Console, Data Types and Operators)\JavaScript.pptx 1 File(s) copied ~\vscode>

When writing code in .BAT file

If you are using this in a batchfile, you should double the % like this: for /r %%i in (*.txt) do xcopy /Y "%%i" g:\someplace
Tags: Technology,Windows CMD,