This article will discuss the following topics, Blogger's REST APIs. Google's OAuth 2.0 playground. Accessing spreadsheet in Python. Creating blogger posts via Python. An experiment to automate blog post creation when you have structured data. I was searching for IFSC codes for some bank transactions and came across Reserve Bank's website, which has a list of Excel files containing Bank Codes, Contact Info and related details of each bank's branch. This time I will be looking towards Bharat co-operative bank of Mumbai. Here is how the corresponding data looks like. In the above picture, each row represents lots of details about each branch of the Bank. Let's think of creating a list of blog posts where each post gives IFSC codes of a particular branch along with address and contact details. As the first step, I have created a blog in blogger. In the Blogger dashboard, please also note the parameter called blog ID which is a kind of unique identifier ...
***** Work In Progress ******* Ever since I entered to IT industry, I was hearing about data science machine learning and the miracles happened because of these. On curiosity, I too have started learning some the concepts on these areas. As the first step, I have enrolled in Andrew N G's Machine Learning course. I will be sharing things I have learned in this blog and consider this post as an Index for my learning. Good Luck!!! Definition of Machine Learning Supervised Learning Linear Regression Cost Function Gradient Descent Unsupervised Learning
How to Clone a MongoDB Database Between Docker Containers If you're running MongoDB in Docker and want to clone a database from one container to another, you're in the right place. This guide walks you through exporting a MongoDB database from one Docker container and restoring it into another — all using Docker commands and MongoDB’s native tools. Prerequisites Docker installed on your system Two MongoDB containers: Source container: mongo_source Target container: mongo_target Database to clone: mydb Step 1: Dump the Database from the Source Container Use the mongodump command inside the mongo_source container to export the contents of mydb : docker exec mongo_source mongodump --db=mydb --out=/dump This command creates a dump in the /dump directory inside the container. Next, copy that dump to your host machine: docker cp mongo_source:/dump ./dump You now have a local copy of your database dump in the ./dump folder on y...
Understanding Swagger and OpenAPI Specifications In modern API development, Swagger and OpenAPI have become the go-to tools for designing, documenting, and interacting with RESTful APIs. Let’s break down these essential tools and how they simplify API development. What is OpenAPI? The OpenAPI Specification (OAS) is a standard format to describe REST APIs. Initially known as the Swagger Specification, it was created by Swagger, then donated to the OpenAPI Initiative in 2015. Today, OpenAPI has become the industry standard for describing APIs, making it easier for developers to understand and work with APIs across various platforms. An OpenAPI document provides a structured description of the entire API, including: Endpoints and available operations Input parameters and output formats Authentication methods Error messages and responses Here’s a quick example of an OpenAPI specification snippet in JSON: { ...
People often find difficulties in downloading and installing usb driver for their phone on Windows operating system. But if you are using Linux operating system then things are much simpler for you. This is a generic flow of customizing your android device. Advantages of using Ubuntu or any Linux distribution for rooting are, You don't need usb driver specific to your phone. Linux generic driver supports all android devices. ADB and fastboot are readily available in Ubuntu's inventory. You could simply install those. Follow below steps for rooting or install custom ROM, Intsall ADB and fastboot in Linux Open a Terminal and install tools from your Linux repo, For Debian/Ubuntu users, sudo apt install android-tools-adb android-tools-fastboot For Fedora/SUSE users, sudo yum install android-tools Download TWRP image and SuperSu zip TWRP - This opensource project allows us to install custom ROMs safely. Installing TWRP will enable option to root your d...
Comments
Post a Comment