Innovate anywhere, anytime withruncode.io Your cloud-based dev studio.

MicroPyramidBlog

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.

Get Tweets with Twitter API Javascript

Due to change in twitter API, its been hard to get tweets from twitter to your site using javascript. We got new API version 1.1 and the old version 1 is not working any more, so we have to live with what ever 1.1 offers. This version of API supports widgets to keep in our sites, but thats not enough if we want to customize tweets using javascript to fit our sites look and functionality. We want json of the tweets, then we can do what ever we want with those.

JavaScript Read Full Post

React vs Flutter - Which is Preferred for You?

In this Article, you will get the clear information about react and flutter it’s features and drawbacks

React Native Read Full Post

How to Deploy Django with Uwsgi and Nginx using Ansible Play Book

Ansible is a scripting language mostly used to automate installing applications, deploying apps etc..
Why Ansible:
You may think why learn new language if I can do the same using shell scripts, well that's ok but in my opinion ansible doesn't take much time to learn and shell scripts could become complex as the projects scale up. You can read afurther details over here(https://news.ycombinator.com/item?id=6431552).

Server Management Read Full Post

Setting Up Sentry - Web Application Event Tracking Platform

When you want to track your exception and log mesages in a UI rather than storing it in a file(which we usually do), we can use SENTRY. Sentry provides real-time crash reporting and exception tracking for your web and mobile apps.

Server Management Read Full Post

Configure SSL with LetsEncrypt and Nginx

Configuring SSL is beneficial not only for security purpose but also for SEO too.
Linuxsoftware foundation's initiated a program called Let’s Encrypt to give ssl certificates for free and it is in preview state as of today. You can whitelist your domain by registering here. You can configure after getting confirmation from Let’s Encrypt team.

Server Management Read Full Post

How do I Profile Django Application Using Django Web Profiler

When working with a large scale applications which includes many modules, we need to focus on the performance to give more user statisfaction, sustainability. To improve the performance, we need to analyze the application in various cases for ex: examine all urls with their response time and status codes, no of database queries with time for a particural url.
In that case, django-web-profiler will be very helpful for your application. It'll records the application urls with data.

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.

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.

Server Management Read Full Post

Check Test Coverage in Django Code with Coveralls

Coverage: It is a tool used for measuring the effectiveness of tests, showing the percentage of your codebase covered by tests.
Test Coverage is an important indicator of software quality and an essential part of software maintenance. It helps in evaluating the effectiveness of testing by providing data on different coverage items. It is a useful tool for finding untested parts of a code base. Test coverage is also called code coverage in certain cases.

Full Text Search in Mongodb

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.