Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Readme.md

Back

Commands

Here some useful commands learned

Npm

command description
npm init -y init a package.json with basic info
npm run list scripts runnable

Knex

command description
npx knex migrate:latest
npx knex migrate:rollback
npx knex migrate:make creates a new migration
npx knex seed:run

Docker

command description
docker ps
docker-compose up

Git

command description
git gui
git log --oneline
git rebase -i --root master squash first commits done

Node

command description
node -e "console.log(require('crypto').randomBytes(30).toString('hex'))" it evaluates the script specified with eval