Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
As per 2019 JetBrains survery, PyCharm is the most widely used(36%) IDE for Python development.
-
Introduction Django has inbuilt CSRF protection mechanism for requests via unsafe methods to prevent Cross Site Request Forgeries.
-
Introduction To distribute python code, we need to package it and host it somewhere, so that users can install and use it.
-
Introduction When optimizing performance of web application, a common mistake is to start with optimizing the slowest page(or API).
-
Introduction webrecorder, heritrix, nutch, scrapy, colly, frontera are popular tools for large scale web crawling and archiving.
-
Introduction Alexa1, Domcop2(based on CommonCrawl3 data) Majestic4 & provide top 1 million popular websites based on their analytics.
-
Outline Chalice is a microframework developed by Amazon for quickly creating and deploying serverless applications in Python.
-
mitmproxy is a free and open source interactive HTTPS proxy.
-
If you are using a Linux System or managing a Linux server, you might come across a situation where a process is taking too long to complete.
-
Django ORM makes easy to interact with database.
-
In this article, we will see how to deploy django channels to production and how we can scale it to handle more load.
-
Let us write a function which retrieves user information from GitHub API. import requests def get_github_user_info(username): url = f'https://api.github.com/users/{username}' response = requests.get(url) if response.ok: return respon…
-
Scraping content behind a login page is bit difficult as there are wide variety of authentication mechanisms and web server needs correct headers, session, cookies to authenticate the request.
-
When deploying a django webapp to Linux servers, Nginx/Apache as server, PostgreSQL/MySQL as database are preferred.
-
Celery is mainly used to offload work from request/response cycle in web applications and to build pipelines in data processing applications.
-
Renko charts are time independent and are efficient to trade as they eliminate noise.
-
If we take readings from a 3-axis magnetometers like HMC5883L, AK8963C (used in MPU9250) or LSM303DLHC and plot them, its response should be a sphere with ceter at origin.
-
Inbuilt admin interface is one the most powerful & popular feature of Django.
-
Mi Pad and other Xiamo devices has Mi UI OS which is a dual boot system.
-
Consider Book model which has Author as foreignkey. from django.db import models class Author(models.Model): name = models.CharField(max_length=100) class Book(models.Model): title = models.CharField(max_length=100) author = models.ForeignK…
-
Last year, I wrote a blog post on how to remove clock from lock screen and status bar if xposed is installed on your android device.
-
Most laptops and smart phones(Android/iPhone) have builtin Bluetooth modules.
-
To program Arduino, we can use Arduino IDE which facilitates writing and uploading code to the board.
-
Most Indian languages have strong consonant-vowel structures which combine to give syllables.
-
In registry pattern, a registry maintains global association from keys to objects, so that objects can be reached from anywhere by simple identifier.
-
We can pass --autoreload option when starting celery worker.
-
HTTPie is an alternative to curl for interacting with web services from CLI.
-
Last month, I gave a lightning talk about supercharging your shell for python development at BangPypers meetup.
-
Setting up a new laptop manually takes a lot of time and there is a good chance of forgetting tweaks made to configuration files.
-
BMTC (Bengaluru Metropolitan Transport Corporation) is a government agency which operates the public transport bus service in Bangalore, India.
-
Django developers decided to drop Python 2 compatability in Django 2.0.
-
Titus Brown wrote a blog post on why blog posts are better than scientific papers.
-
The meaning of life is the condition that distinguishes animals and plants from inorganic matter, including the capacity for growth, reproduction, functional activity, and continual change preceding death.
-
When scanning a document, a slight skew gets into the scanned image.
-
When listening to music, to switch tracks I want to use volume buttons.
-
I have been living without time from a few years and it is a bliss.
-
udev is responsible for managing devices on Linux.
-
Long back I have started this blog on blogger platform.
-
Emblem.js is a ember friendly templating engine used as an alternative for handlebars.js.
-
If we have to search for a video on YouTube or a product on Amazon, we will open up that site first and then we will search for it.
-
I just found one more free telugu book Graded readings in modern literary Telugu by Golla Narayanaswami Reddy and Dan M Matson in Digital South Asia Library.
-
A tag is a reference to a sub unit in a program.
-
Lets say we have a model as shown in some project. from django.db import models class Resource(models.Model): """ Model to hold resources for books. """ book = models.ForeignKey('Book') book_type = models.IntegerField() url = model…
-
I have ebooks in various formats like pdf, epub, mobi e.t.c.
-
Meetup.com makes it easier to organize events.
-
I use Ubuntu on multiple computers everyday.
-
I stumbled on haris blog and I am thrilled to find that he wrote a book called A Psycho Path.
-
PyCon India 2015 was my first PyCon as an attendee, speaker & volunteer.
-
In this post, lets see how to do this I am using Ubuntu and it has nautilus as default file manager.
-
First, lets take a look at functions & methods and then define attributes for them.