See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| [ | |
| { "name": "Samson", "breed": "doberman", "likes": "playing" }, | |
| { "name": "Hank", "breed": "corgi", "likes": "sleeping" }, | |
| { "name": "Sophie", "breed": "shitzu", "likes": "eating" } | |
| ] |
| fetch('https://jsonplaceholder.typicode.com/users') | |
| .then(response => response.json()) | |
| .then(results => console.log(results)) |
| async function getUsers() { | |
| const response = await fetch('https://jsonplaceholder.typicode.com/users'); | |
| let results = await response.json(); | |
| console.log(results); | |
| } |
| //Adding this user object | |
| let user = { | |
| name: "sonGoku", | |
| username: "SSJ", | |
| email: "sonGoku@capsulecorp.com" | |
| }; | |
| async function getUsers() { | |
| const response = await fetch('https://jsonplaceholder.typicode.com/users', { |
| async function getUsers() { | |
| const response = await fetch('https://jsonplaceholder.typicode.com/users/11', { | |
| method: 'PATCH', | |
| headers: { | |
| 'Content-Type': 'application/json' | |
| }, | |
| body: JSON.stringify({ | |
| username: "super saiyan" | |
| }) | |
| }); |
| async function getUsers() { | |
| const response = await fetch('https://jsonplaceholder.typicode.com/users/11', { | |
| method: 'DELETE' | |
| }); | |
| let results = await response.json(); | |
| console.log(results); | |
| }; |
| [user] | |
| email = your_email | |
| name = your_username | |
| [alias] | |
| # git clone | |
| cl = !git clone | |
| # Git shallow clone for large repos | |
| clq= !git clone --depth=1 | |
| s = status | |
| co = checkout |
| $ curl --help | |
| Usage: curl [options...] <url> | |
| --abstract-unix-socket <path> Connect via abstract Unix domain socket | |
| --alt-svc <file name> Enable alt-svc with this cache file | |
| --anyauth Pick any authentication method | |
| -a, --append Append to target file when uploading | |
| --basic Use HTTP Basic Authentication | |
| --cacert <file> CA certificate to verify peer against | |
| --capath <dir> CA directory to verify peer against | |
| -E, --cert <certificate[:password]> Client certificate file and password |