Eslint and Prettier should be already installed, in vue cli they come with project configuration when creating project using vue-cli User Settings in VSCode Add following to your package.json
Pass is an awesome utility to store your passwords. For example you can store ssh passwords to use on terminal. Installing pass Pass works on gpg keys so you need to first generate pass key Follow instructions You can skip the passphrase (it is less secure) Initialize pass, use the email you used for gpg … Continue reading Using Pass for linux
To setup vue-cli in docker we need nodejs and vue-cli 3. We are going to use docker-compose.yml to setup docker, paste following to your docker-compose.yml file docker-compose.yml Paste following into Dockerfile Dockerfile Now we have docker files setup, lets build the docker images After docker is built login into docker container using container id and … Continue reading Setting up vue-cli in docker
MongoDB tools provide some awesome utilities like mongoimport, mongoexport and mongorestore. Database dump can be easily imported/restored using mongorestore as follow. You may restore dump to a specific database as well.
In MongoDB Date objects are stored as a signed 64-bit integer representing the number of milliseconds since the Unix epoch (Jan 1, 1970). Not all database operations and drivers support the full 64-bit range. You may safely work with dates with years within the inclusive range 0 through 9999. ISODate is not supported by PHP/MongoDB … Continue reading How to use ISODate in PHP/Laravel
You may encounter some error like below when installing magento with sample data [ERROR] exception 'Exception' with message 'Warning: Error while sending QUERY packet. PID=227012 Fix: That error is because of low max_allowed_packet configuration in your php.ini file, open your local (project level) php.ini file and add following For more info on magento level php.ini configuration … Continue reading Fix magento Warning: Error while sending QUERY packet