Posts

Simultaneously deploy multiple functions in a single Azure function app

Image
 In this article, I will explain a method I used while working with multiple functions to manage multiple azure functions under an azure function app. Issue with VSCode : In Visual Studio Code, each time I create a python function, it will add a new project directory along with a separate virtual environment, host.json and other config files. When I try to deploy a function it will delete existing azure functions in the function app. Resolution : With Azure CLI, using 'func' command, multiple python functions are created with common virtual environment, requirements.txt, host.json and local.settings.json. Deploying from the parent directory will make sure all functions are deployed and are in the latest versions. Detailed Explanation: Starting with the basics, open command prompt/terminal/powershell and login to Azure CLI (Command: az login). A new tab will be opened in your browser and ask for login info. After successful login, you will be redirected to terminal and window wi

How to install Ubuntu Server and set up static IP (WiFi) on Raspberry Pi 3

Image
Setting up a headless OS is always painful and imagine the situation to do it without a monitor or keyboard. Here in this post, I will demonstrate how to setup Ubuntu Server in a Raspberry Pi and connect to WiFi with a static IP. The process includes the following steps, Installation of Raspberry Pi Imager Flash Ubuntu Server to SD Card Initial setup of Ubuntu Server on Raspberry Pi Configuring Static IP in Ubuntu Server's netplan network manager. Raspberry Pi Imager Raspberry Pi Imager is an SDcard burner program from the Raspberry Pi foundation aimed to make installation of different OSes in the Pi easier. You can navigate to the below link to download and install Pi Imager for your operating system. Source: https://www.raspberrypi.org/downloads/ Flash the SD card with Ubuntu Server Connect an SD card (preferably with storage 16GB or more) to your laptop/PC and launch Pi Imager application. From the listed Operating Systems, choose Ubuntu Server 64 bit version. I choose the 6

How to remove TWRP from Android Phone - Nubia Z11 miniS

Image
Hi, today I'm sharing an interesting experiment done on my Nubia Z11 miniS (NX549J). I have rooted this android device using TWRP but later noticed that software patches from Nubia aren't automatically updating. So, I decided to go back to factory system by removing TWRP and by flashing default ROM. 1. Download stock ROM for your device. Visit your phone manufacturer's website and download stock ROM for your specific model. In my case it was in https://www.nubia.com/in/support.php?a=download .  2. Extract the .zip file into your PC. Extract the downloaded firmware to your system. Extracted files will look similar to this.  3. Install ADB and fastboot. These are needed to interact with your phone from a PC. If you are using Ubuntu flavors please make use of "apt install". 4. Follow these ADB and fastboot commands adb devices       # To list connected android devices sudo adb reboot bootloader        # To boot device to recovery mode sudo

Popular posts from this blog

The beginning of Data Quest

How to install Ubuntu Server and set up static IP (WiFi) on Raspberry Pi 3

Automate Blog Post creation using Blogger APIs and Python

Setting up Python Flask server on internet via Port forwarding

Creation of Orphan Process in Linux using Python