Explore a blog dedicated to a wide spectrum of topics including Django, Python, Machine Learning, Salesforce, Angular, React, Flutter, Svelte, LINUX, and Amazon Web Services.
TMUX - Sharing Terminal between Users
More Often you wouldve come across sharing screens with applications like Teamviewer, Windows Remote Desktop Connection or remmina (if you're a linux user). But if you want to share only your terminal, you can look upto Tmux.
Securing Elastic Search Instance with Shield
Shield allows you to protect elastic search data with a username and password. It provides additional functionalities like encryption, role-based access control, IP filtering. It is Official Plugin of Elasticsearch which embeds well with other elastic search products like kibana and log stash. Initially, Shield is available for 30days try after which you can renew the license
Ansible Galaxy is the hub of ansible scripts contributed by users. To follow this article its important that you know about ansible. We have a simple, easy to follow blog about ansible scripting here(https://micropyramid.com/blog/how-to-deploy-django-with-uwsgi-and-nginx-using-ansible-play-book/).
MONGODB GROUP() VS MAPREDUCE VS AGGREGATION Framework
The group() command, Aggregation Framework and MapReduce are collectively aggregation features of MongoDB. group(): Group Performs simple aggregation operations on a collection documents. Group is similar to GROUP_BY in mysql. Output format : Returns result set inline. Sharding: Its not support in shared environment. Limitations:
Advanced Queries of MongoDB: Inserting records to the database and retrieving data from database.
1. Wrapped Queries: Like, sort, limit, count.
2. Query Using Modifiers: set, increment, push,Set Elements in Array, AddToSet Modifier, each.
MongoDB CRUD Operations with Python (Pymongo)
MongoDB with Python - Connection establishment, Create, Update, Retrieve and Delete operations explained with sample code.
Full text search is a custom implementation created by the MongoDB developers as a specific index type
Full text search as an index type when creating new indexes, just like any other.
1.Indexing of multiple fields, with weighting to give different fields higher priority.
2.Support for Latin based languages initially, with plans for other character sets later.
Automate Django Deployments with Fabfile
Fabric is a Python library and command-line tool with the ability to execute commands on a remote server. It is designed to use SSH to execute system administration and deployment tasks on one or more remote machines.
Celery Flower to Monitor Task Queue
Celery is a task queue that is to built an asynchronous message passing system. It can be used as a bucket where programming tasks can be dumped. The program that passed the task can continue to execute and function responsively.
To monitor the status of these celery tasks we use celery flower
The Celery Flower is a tool for monitoring your celery tasks and workers. It's web based and allows you to see task progress, details, worker status.
Multifactor Authentication with Django MFA using Google Authenticator
Use Django Multi-Factor Authentication method to verify user identity with more than one authentication methods. It can be used for user login, any transactional methods etc.