GithubHelp home page GithubHelp logo

rohan-paul / mongodb-snippets Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 498 KB

A collection of small MongoDB and Node Snippets for achieving some small React jobs or query.

JavaScript 93.85% CSS 1.93% HTML 4.21%

mongodb-snippets's Introduction

This repo is primarily to be used as a reference. Its a collection of some small MongoDB Snippets required on a daily basis.

Each of the project here has its own README.md file detailing how to launch the project and the job achieved with that project.


Mongo Shell Enhancements with Mongo-Hacker

I highly recommend to install Mongo-Hacker. It provides neat enhancements for the Mongo Shell like syntax coloring and formatting by default (no need to append .pretty() anymore). There is much more to discover; just check out the documentation.


fzf-Powered Shell History Search

sudo apt-get install fzf

fzf is a really awesome command line tool for fuzzy-searching things like files and folders. But for me, the most powerful feature of fzf is to apply the fuzzy search to the shell history (via key bindings). When it comes to MongoDB, I use the fuzzy history search to quickly find the required mongo connection line to connect to a certain database. Just hit Ctrl-R and type “mongo databaseName/username/appName”.

Needless to say, that you should encrypt your disk when having passwords in the shell history file.

mongodb-snippets's People

Contributors

rohan-paul avatar dependabot[bot] avatar

Stargazers

Aldrin avatar  avatar  avatar Python Dev avatar Mohammad Ayub avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.