2019年1月16日 星期三

Dos Command

1. shutdown your computer
ex:
shutdown your computer after 7200 seconds:
shutdown -s -f -t 7200

stop shutdown:
shutdown -a

find help
shutdown /?

2.  set schedule to shutdown pc
2-1 set shutdown s shutdown_s.bat
shutdown -s
2-2 process schedule shutdown_at_0000.bat on the command line
schtasks /create /tn "shutdown_at_0000" /tr "E:\wei_lun\code\bat\shutdown_s.bat" /sc daily /st 00:00 /ed 3002/12/31
2-3 view your schedule

2018年10月26日 星期五

How to upload project to github

The most easy way:

1.download git and install it. Then you will get "Git Bash" tool.
https://git-scm.com/downloads

2.follow the github the guid to upload your project
ex:


click let-top + button for new repository in GitHub site
or
link to https://github.com/new

type the Repository name → click Create repository → Open your "Git Bash" from your PC and following the guide command line in  the GitHub page

This is the sample video I found in the youtube:
https://www.youtube.com/watch?v=6pAXylqATB0