#Adding an existing project to GitHub using the command line
Simple steps to add existing project to Github.
In Terminal, change the current working directory to your local project.
##2. Initialize the local directory as a Git repository.
git init
| //tham request số gọi ajax | |
| var _param = { | |
| pid:1, | |
| color:'red' | |
| }; | |
| //gọi ajax | |
| $.ajax({ | |
| url:'https://jsonplaceholder.typicode.com/posts', //lấy danh sách bài viết | |
| method:'get', //phương thức post/get | |
| dataType:'json', //kiểu json |
| npm install -g create-react-app |
Generator function là một loại function đặc biệt có thể đi vào, đi ra và thoát một số lần. Bạn có thể nghe mọi người mô tả nó là "một hàm có thể bị tạm dừng"
Sự khác biệt duy nhất cho đến nay là Generator function được định nghĩa với function* chứ không phải function.
composer require jenssegers/mongodb --ignore-platform-reqs
hoặc
composer install --ignore-platform-reqs