-
Open the Terminal
-
Use
mysqldump
to backup your databases -
Check for MySQL processes with:
ps -ax | grep mysql
-
Stop and kill any MySQL processes
-
Analyze MySQL on HomeBrew:
brew remove mysql
I’m looking for any tips or tricks for making chrome headless mode less detectable. Here is what I’ve done so far:
Set my args as follows:
const run = (async () => {
const args = [
'--no-sandbox',
'--disable-setuid-sandbox',
'--disable-infobars',
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Remove constraint and index | |
queryInterface.sequelize.query( | |
'ALTER TABLE "project" DROP CONSTRAINT IF EXISTS project_name_key;' | |
).then(function() { | |
return queryInterface.removeIndex('project', 'project_name_key'); | |
}); | |
// Add unique constraint and index | |
queryInterface.addIndex('project', ['name'], { | |
indexName: 'project_name_key', |
We are settings up database fixtures in our Node.js project. This is our evaluation of various fixture libraries:
- https://github.com/freewil/node-fixr
- Doesn't seem too popular (2 stars)
- Last commit was 3 years ago
- https://github.com/petejkim/factory-lady
- Only 7 commmits
- Last commit was 4 years ago