--> Skip to main content

Featured

Steps to Create a Project on GitHub

Steps to create a project on GitHub:  1.   Start a repo on GitHub 2.   Make a README.md file 3.   Open vs code – new folder – new terminal – git clone http:…. (from the repo). 4.   In terminal – cd theprojectname   à move into the project file 5.   Ls -la is for showing hidden file à not working for me ???? 6.   Make some changes to README file, in terminal git status à shows all the changes on the file 7.   To add all changes update to the folder à git add . (the dot . means all changes to be added) 8.   Add a new file index.html, in terminal à git commit -m “title of commit” -m “description of commit” 9.   Then git push origin master 10.                 ****Initial a repo in local text editor à git init 11.                 After use git add . etc, when pus...

How to fall asleep fast? Using Confucius philosophy to achieve a peaceful mind before sleep

 I listened to a YouTube video today and found a piece of joke quite interesting.

The speaker is a professor from a Chinese prestigious university. He was lecturing on Confucius (Kong Zi)  philosophy. When he introduced the 'no self' concept from the book  The Analects By Confucius, he said that he used to suffer insomnia for 20 years when he was young, then he used the 'no self' mythology to cure his suffering. 

He explained that people suffer a lot mentally because they think too much of their own problems, it is common for people to have too much 'self' concerns. However, Confucius told us that 'no self' is the most admirable state, so he practiced to think of what were the WORLD's problems before sleep instead of his own, he found that he could quickly fall asleep. 

I believe he was joking for applying this 'no self' rule for curing insomnia, but it may be a real practical way to make suffering minds happier by thinking more about others' problems and solutions.

One good quote from The Analects, the book by Confucius, which is commonly referred to as 'Lun Yu' in Chinese, is this: 

 “Education breeds confidence. Confidence breeds hope. Hope breeds peace.”

This may have nothing to do with 'no self', but since I am an eager learner,  I found that learning new things  brought me tremendous happiness each every day. To stay curious about the world, I figured, could also bring a peaceful and joyful mind to people.  

Popular Posts