Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 200
  1. As per 2019 JetBrains survery, PyCharm is the most widely used(36%) IDE for Python development.

  2. Introduction Django has inbuilt CSRF protection mechanism for requests via unsafe methods to prevent Cross Site Request Forgeries.

  3. Introduction To distribute python code, we need to package it and host it somewhere, so that users can install and use it.

  4. Introduction When optimizing performance of web application, a common mistake is to start with optimizing the slowest page(or API).

  5. Introduction webrecorder, heritrix, nutch, scrapy, colly, frontera are popular tools for large scale web crawling and archiving.

  6. Introduction Alexa1, Domcop2(based on CommonCrawl3 data) Majestic4 & provide top 1 million popular websites based on their analytics.

  7. Outline Chalice is a microframework developed by Amazon for quickly creating and deploying serverless applications in Python.

  8. mitmproxy is a free and open source interactive HTTPS proxy.

  9. 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.

  10. Django ORM makes easy to interact with database.

  11. In this article, we will see how to deploy django channels to production and how we can scale it to handle more load.

  12. 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…

  13. 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.

  14. When deploying a django webapp to Linux servers, Nginx/Apache as server, PostgreSQL/MySQL as database are preferred.

  15. Celery is mainly used to offload work from request/response cycle in web applications and to build pipelines in data processing applications.

  16. Renko charts are time independent and are efficient to trade as they eliminate noise.

  17. 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.

  18. Inbuilt admin interface is one the most powerful & popular feature of Django.

  19. Mi Pad and other Xiamo devices has Mi UI OS which is a dual boot system.

  20. 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…

  21. 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.

  22. Most laptops and smart phones(Android/iPhone) have builtin Bluetooth modules.

  23. To program Arduino, we can use Arduino IDE which facilitates writing and uploading code to the board.

  24. Most Indian languages have strong consonant-vowel structures which combine to give syllables.

  25. In registry pattern, a registry maintains global association from keys to objects, so that objects can be reached from anywhere by simple identifier.

  26. We can pass --autoreload option when starting celery worker.

  27. HTTPie is an alternative to curl for interacting with web services from CLI.

  28. Last month, I gave a lightning talk about supercharging your shell for python development at BangPypers meetup.

  29. Setting up a new laptop manually takes a lot of time and there is a good chance of forgetting tweaks made to configuration files.

  30. BMTC (Bengaluru Metropolitan Transport Corporation) is a government agency which operates the public transport bus service in Bangalore, India.

  31. Django developers decided to drop Python 2 compatability in Django 2.0.

  32. Titus Brown wrote a blog post on why blog posts are better than scientific papers.

  33. 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.

  34. When scanning a document, a slight skew gets into the scanned image.

  35. When listening to music, to switch tracks I want to use volume buttons.

  36. I have been living without time from a few years and it is a bliss.

  37. udev is responsible for managing devices on Linux.

  38. Long back I have started this blog on blogger platform.

  39. emblem-mode for Emacs

    Emblem.js is a ember friendly templating engine used as an alternative for handlebars.js.

  40. 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.

  41. 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.

  42. A tag is a reference to a sub unit in a program.

  43. 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…

  44. I have ebooks in various formats like pdf, epub, mobi e.t.c.

  45. Meetup.com makes it easier to organize events.

  46. I use Ubuntu on multiple computers everyday.

  47. I stumbled on haris blog and I am thrilled to find that he wrote a book called A Psycho Path.

  48. PyCon India 2015 was my first PyCon as an attendee, speaker & volunteer.

  49. In this post, lets see how to do this I am using Ubuntu and it has nautilus as default file manager.

  50. First, lets take a look at functions & methods and then define attributes for them.