Skip to content
Araz Shah
Menu
  • Home
  • About me
  • Contact me
  • CV
  • Online Courses
    • Apply Now !
    • In-Depth
    • Courses
      • Concepts
      • Python Course
      • GIS Developer Course
    • Price
Menu

Tutorials

Docker volume to mount

Posted on September 8, 2023 by admin

The -v flag in Docker is used to specify a volume to mount into a Docker container. A volume in Docker is a way to share data between a container and the host machine, or between containers. This allows you to persist data, share files, or communicate between containers. The basic syntax for using the…

Read more

Running RabbitMQ on Docker

Posted on September 7, 2023 by admin

Running RabbitMQ on Docker is a straightforward process. Docker allows you to easily create and run containers, and RabbitMQ provides an official Docker image that makes it even simpler to set up. Here are the steps to run RabbitMQ on Docker: This command downloads the latest version of the RabbitMQ image. Explanation of the command:…

Read more

execute permission on a file

Posted on September 4, 2023September 4, 2023 by admin

You can set the execute permission on a file in a Unix-like operating system, such as Linux or macOS, using the chmod command. Here’s how you can do it: Replace filename with the name of the file for which you want to set the execute permission. For example, if you have a file named “my_script.sh”…

Read more

Creating a custom user model in Django

Posted on September 3, 2023 by admin

Creating a custom user model in Django using AbstractBaseUser is a common practice when building Django Rest Framework (DRF) applications. This approach allows you to have full control over the user model and tailor it to your project’s specific needs. Here are some best practices for creating a custom user model with AbstractBaseUser in DRF:…

Read more

Django and InfluxDB to save sensor data

Posted on September 3, 2023 by admin

Using Django and InfluxDB to save sensor data is a powerful combination, as InfluxDB is a time-series database that’s well-suited for storing and querying time-series data like sensor readings. Here’s a step-by-step guide on how to set up Django to save sensor data into InfluxDB: Replace ‘your-influxdb-token’, ‘your-influxdb-organization’, and ‘your-influxdb-bucket’ with your InfluxDB credentials and…

Read more

Django. JWT (JSON Web Tokens)

Posted on September 3, 2023 by admin

Django Rest Framework (DRF) is a powerful toolkit for building Web APIs in Django. JWT (JSON Web Tokens) is a popular authentication method for securing RESTful APIs. Here, I’ll provide you with an example of how to implement JWT authentication in a Django Rest Framework project. First, make sure you have Django and Django Rest…

Read more

IoT data storage

Posted on August 27, 2023 by admin

Choosing a database for storing data from IoT devices depends on various factors, including the nature of your data, scalability requirements, query patterns, and your team’s familiarity with certain technologies. Here are a few database options that are commonly considered for IoT data storage: The choice of database depends on your specific use case, including…

Read more

large-scale web application roadmap

Posted on August 20, 2023 by admin

Creating a large-scale web application with video, voice, and text message features using Django (a Python web framework) is an ambitious goal. Here’s an extended roadmap of what you should learn: Creating a large-scale web application is a significant undertaking, and it requires a deep understanding of various technologies. Consider breaking down the project into…

Read more

Connect to a MongoDB container

Posted on August 18, 2023November 12, 2024 by admin

To connect to a MongoDB container using PyMongo with a URI, you can follow these steps: Replace the placeholders with your actual values. Here’s an example URI: Here’s an example script that puts it all together: Remember to replace “username”, “password”, “localhost”, “27017”, and “mydatabase” with your actual MongoDB container information. Note: Make sure your…

Read more

write tests using pytest for a MongoDB

Posted on August 18, 2023 by admin

write tests using pytest for a MongoDB user login check, you’ll need to create a sample database, add test data, and then write test cases to check the user login function. Here’s how you can do it: Step 1: Install Required PackagesFirst, make sure you have pytest and mongomock installed. mongomock is a library that…

Read more
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Next

Recent Posts

  • Geospatial Risk Assessment: A Python Approach
  • Analyzing Employee Arrival Patterns and Delays Using Geospatial Data
  • Real-Time GPS Tracking on a Web Map using FastAPI & Leaflet
  • How to Create a Simple WebGIS with FastAPI, PostGIS, and Leaflet.js
  • Graph Coloring: How Many Colors Do You Need?

Archives

  • May 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • September 2024
  • April 2024
  • March 2024
  • February 2024
  • December 2023
  • October 2023
  • September 2023
  • August 2023
  • April 2023

Categories

  • Courses
  • Events
  • GIS
  • Linux
  • News
  • programming
  • python
  • Tutorials
  • Videos
  • May 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • September 2024
  • April 2024
  • March 2024
  • February 2024
  • December 2023
  • October 2023
  • September 2023
  • August 2023
  • April 2023
  • Courses
  • Events
  • GIS
  • Linux
  • News
  • programming
  • python
  • Tutorials
  • Videos

Araz Shahkarami

I’m a software enthusiast with a deep love for crafting robust and efficient solutions. My journey into the world of programming began several years ago when I was introduced to the world of code. Since then, I’ve been on an exhilarating ride of learning, problem-solving, and continuous improvement.

© 2025 Araz Shah | Powered by Minimalist Blog WordPress Theme