1.開啟Git Bash
2.產生公私鑰
ssh-keygen -t rsa -C "XXX"
"XXX" = email
Enter file in which to save the key:
Enter passphrase
Enter same passphrase again
RSA 2048
3.顯示公鑰
cat ~/.ssh/id_rsa.pub
4.將公鑰新增至Server端
5.設定完畢
git clone "ssh"
2020年3月2日 星期一
2020年2月26日 星期三
[Design Pattern] Commonly Design Pattern at Front-End
Creational Pattern
- Constructor
- Module
- Factory
- Singleton
Structural Pattern
- Decorator
- Facade
- Flyweight
Behavioral Pattern
- Command
- Mediator
- Observer
2020年2月23日 星期日
[Javascript] What is Prototype?
Function's prototype
It is the object instance that will become the prototype for all objects created using this function as a constructor.
Object's prototype
It is the object instance from which the object is inherited.
It is the object instance that will become the prototype for all objects created using this function as a constructor.
Object's prototype
It is the object instance from which the object is inherited.
訂閱:
文章 (Atom)