Get all files containing a phrase on a Unix based system like Linux or MacOs
grep -rnw [path/to/somehting] -e "[phrase]"
Get all files containing a phrase on a Unix based system like Linux or MacOs
grep -rnw [path/to/somehting] -e "[phrase]"
Remove all styling on a page using vanilla JavaScript.
document.querySelectorAll('style,link[rel="stylesheet"]').forEach(item => item.remove())
Do a regular data dump with mysqldump or using a tool like MySQL Workbench and then run the command bellow to remove the primary key:
sed -i '' "s/([0-9]*,/(NULL,/gi" dump.sql
Useful when trying to appends data from an SQL export file of a table with the same structure.