set verbose mode (good for learning)
:set -add global autoinfo normal
10g - go to line 10
| // Installation: | |
| // yarn add -D @codemod/cli @babel/plugin-syntax-jsx @babel/generator | |
| import jsx from '@babel/plugin-syntax-jsx'; | |
| import generate from '@babel/generator'; | |
| const COLOR_MAP = { | |
| 'white': 'white', | |
| 'near-white': 'gray-100', | |
| 'light-gray': 'gray-200', |
| #!/bin/bash | |
| #Force file syncronization and lock writes | |
| mongo admin --eval "printjson(db.fsyncLock())" | |
| MONGODUMP_PATH="/usr/bin/mongodump" | |
| MONGO_HOST="prod.example.com" | |
| MONGO_PORT="27017" | |
| MONGO_DATABASE="dbname" | |