history !n // then Home, delete 'history', edit command and Enter
history n // n === number
history | grep nvidia
history
history !n // then Home, delete 'history', edit command and Enter
history n // n === number
history | grep nvidia
history
Comment <React.StrictMode> in index.js
After fetch console.log in React component like this:
Before return getting {} and {data} after fetch...
Copy and overwrite older files only while showing progress:
rsync -rahP --info=progress2 --stats -u /source/folder/'My Folder'/ /destination/folder/'My Folder'/
--existing skip creating new files on receiver
-u, --update skip files that are newer on the receiverCtrl + Z => stop rsync process // -P => (-rahP)
Resume rsync process // fg %[number] – resume job [number]
find -type f -iname ".*.*.??????" -lsfind -type f -iname ".*.*.??????" -delete
Pass empty function to onClick as temporary solution:
//
Use slice(start, end) method:
const arr = ['a', 'b', 'c'];const withoutFirst = arr.slice(1);
https://bobbyhadz.com/blog/javascript-remove-first-element-from-array
Cannot read properties of undefined (reading 'length'):
https://bobbyhadz.com/blog/javascript-cannot-read-property-length-of-undefined
In React console.log after fetch like this:
https://leocode.com/development/how-to-deal-with-async-await-in-the-array-functions/
If parent node contains 'logo' in className => class="logo":
If parent node contains <li></li> TAG:
https://www.section.io/engineering-education/keyboard-events-in-javascript/
https://stackoverflow.com/questions/7723188/what-properties-can-i-use-with-event-target