Creating users in MongoDB is as simple as running the following commands: use db_name; db.createUser({ user: “user_name”, pwd: “password”, roles: [ “readWrite”, “dbAdmin” ] }) Here: db_name : Database Name user_name: Username of the user password: Password of the user roles: Roles of the user – Is an array and can be empty Eg. readWrite, dbAdmin, clusterAdmin, […]
Tag: Help
The maximize button (top left – 3rd button to the right on the window) hides the top bar and dock automatically in OsX. If you want to make a window cover the whole screen without covering the dock and top bar, use the following key combinations: Option + (click on green button on top left) […]
Encountered this issue while trying to run Open Office from a newly installed Ubuntu box: This application could not be started. User installation could not be completed. To fix this issue you need to basically reset the config of LibreOffice. This can be done using the following command (Warning: This deletes all your settings and […]
Google Keyboard is the default keyboard in the Android 6(Marsh Mallow). By default, its configured to enable vibration on key press. If you are someone who dislikes this feature and wants to disable it, here is a simple way of disabling it: {adinserter 3} Go to Home -> Settings -> Language & input Locate “Google […]
Facebook’s video auto-play settings can be turned on or off. This will help you save bandwidth and help remove the distraction of an autoplaying video. To stop videos from playing automatically do the following: Go to your facebook timeline. From the top right of Facebook, click the option and select Settings Click Videos in the […]