Like Us Like Us Facebook Subscribe Subscribe us YouTube Whatsapp Share us Whatsapp Query Send your queries

Device Info : View your device stats – Android app

Device Info : View your device stats – Android app

Device Info : View your device stats is a simple Android application that gives you some basic information about your device with a very simple user interface. It provides information like CPU, RAM, OS, Sensors, Storage, Battery, Network, Installed Apps, Thermal as well as some security status.

This android app was approved on Google play store on 30th July 2021 (submitted on July 27, 2021).

Screen shots of  Device Info : View your device stats

Device Info : View your device stats

Developer info : Sanjay Prasad

Android Version Support : Android 7 +

Programming Language : Java

Where to download Device Info : View your device stats

Any one with android device running Android 7 + can download it from Google Play Store.

Computer science with python project BMI Calculator (GUI)

Computer science with python project BMI Calculator (GUI)

In this tutorial I am going to create a simple GUI based Python project called BMI Calucator ideal for CBSE Class XI-XII subject Computer science with Python. With out wasting time Let’s see how to create a simple BMI Calculator with Python, In this project I am using tkinter for GUI.

Project Requirement

1. Python 3.X
2. Tkinter Library

GUI BMI Calculator in Python

Computer science with python project BMI Calculator Full Code

# By Sanjay Prasad

from tkinter import *
from functools import partial  
import tkinter as tk

window.title("BMI Calculator")

def bmi(label_result, ht, wt):  
    ht = float((ht.get()))  
    wt = float((wt.get()))
    bmi=float(wt / (ht*ht))


    if bmi<18.5: 
      conclusion="Under Weight" 
    elif bmi>18.4 and bmi<=24.9: 
    elif bmi>24.9 and bmi<=29.9:
      conclusion="Over Weight"

    output= "BMI = "+str(bmi)+"\n" +conclusion


ht = tk.StringVar()  
wt = tk.StringVar()  

heightText=Label(window,text="Height (in CM)").grid(row=0, padx=10,pady=10)
height=Entry(window, textvariable = ht ).grid(row=0, column=1, padx=10,pady=10)

weightText=Label(window,text="Weight (in KG)").grid(row=1, padx=10,pady=5)
weight=Entry(window, textvariable = wt ).grid(row=1, column=1, padx=10,pady=5)

labelResult = tk.Label(window) 
labelResult.grid(row=4, column=0)

bmi = partial(bmi, labelResult, ht, wt)  
btn=Button(window,text="Calculate BMI",command = bmi).grid(row=2, column=1, padx=20,pady=5)


Indian Seasons (ऋतु) Names in Hindi and their months details

Indian Seasons (ऋतु) Names in Hindi and their months details

In this tutorial we are going to learn Indian Seasons (भारतीय ऋतु) Names in Hindi and their months details. There are actually 6 Indian Seasons in contrast to the typical ‘4 seasons’ and  They are:

  • Spring (वसन्त ऋतु)
  • Summer (ग्रीष्म ऋतु)
  • Rainy (वर्षा ऋतु)
  • Autumn (शरद् ऋतु)
  • Pre Winter (हेमन्त ऋतु)
  • Winter (शिशिर ऋतु)

India Seasons (भारतीय ऋतु)  and their month period Details

Season Indian Month English Month
वसन्त ऋतु चैत्र से वैशाख Late Feb to Late April
ग्रीष्म ऋतु ज्येष्ठ से आषाढ Late April to Late June
वर्षा ऋतु श्रावन से भाद्रपद Late June to Mid September
शरद् ऋतु आश्विन से कार्तिक Mid September to Early November
हेमन्त ऋतु मार्गशीर्ष से पौष Early November to Late December
शिशिर ऋतु माघ से फाल्गुन Late December to Late February

How to create a Linux application shortcut using Shell Script

How to create a Linux application shortcut using Shell Script

Do you want to create a Linux application shortcut using a shell script then this tutorial can help you. I have developed a custom electron based application called  “Automate Joy” and want to create a shell script that will create a application shortcut under development menu.

Screen shot creating Linux application shortcut using Shell Script

create Linux shortcut using shell script

First I have created a file called then opened a terminal to run command below to make it executable.

sudo chmod +x ./

Now inside written following code


# echo $dPath
if [ -f "$shortPath" ]; then
echo "$shortPath already exists."

cat > $shortPath <<EOF
[Desktop Entry]
Exec=npm start --prefix $path
Icon= $iconPath
Comment=Automate Joy
Name=Automate Joy
GenericName=Automate Joy


After that I saved this file and opened a terminal and run below command to create software application icon in menu

sudo ./

How to write the Live image to your USB using Linux Terminal

How to write the Live image to your USB using Linux Terminal

Linux has variety of GUI option to create Live USB using .iso file like Live USB creator  like UNetbootin, Linux Live USB Creator, Universal USB Installer, Live USB Creator, Fedora Image Write, Rosa Image Write  …. but if you want to create a Live USB image using Terminal / Konsole.

In this tutorial we will learn Linux’s dd command to to create a Live USB from a .iso file.  The dd command will almost always result in a working Live USB. Just change the paths to the correct paths for your system.

NOTE: To avoid common mistake, remember the USB drive is specified as /dev/sdx and not /dev/sdxX. The most common path of a USB drive is /dev/sdb BUT yours might be different depending on your system.

First To view a list of all drives currently attached to your system run this command:

sudo fdisk -l

To write the Live Install image to your USB run the following command :

Suppose name of the iso file is endeavouros-2021.04.17-x86_64.iso then command will be ..

sudo dd bs=4M if=/path/to/endeavouros-2021.04.17-x86_64.iso of=/dev/sdX status=progress && sync

Screen shot :


If you have any queries then please  comment below, I will try to solve your query as soon as possible.

Fedora useful dnf Commands to make life easy

Fedora useful dnf Commands to make life easy

In this tutorial, I will going to share some of my experience with Fedora KDE 34 where Discover and Dnfdragora is not working and Fedora Terminal Commands solve my Problem. As we know Fedora is known to implement latest technologies as a result sometime it becomes buggy (almost in each and every release), so without wasting time I am going to explore Fedora’s DNF commands .

My System configuration :

  • Fujitsu A555 Laptop
  • 1TB harddisk (5400 RPM)
  • 12GB 1600 mhz DDR3 RAM
  • Intel® Core™ i3-5005U processor, 3 MB, 2 GHz
  • Distro : Fedora 34 KDE Plasma Spin
  • Boot Time : 42 Sec. after disabling some Services

Note :  You have to open termial / konsole to run commands.

Update Fedora 34 system :

sudo dnf update 
sudo dnf -y update

Enable RPM Fusion Repository to get More application :

sudo dnf install$(rpm -E %fedora).noarch.rpm
sudo dnf install$(rpm -E %fedora).noarch.rpm

Checking Update, Upgrade, Install and Remove Application :

sudo dnf check-update
sudo dnf upgrade
sudo dnf system-upgrade
sudo dnf install package
sudo dnf remove package

Fix Xampp Problem :
If you have installed Xampp but not able to start, as it throw some errors like
“httpd: Syntax error on line 522 of /opt/lampp/etc/httpd.conf: Syntax error on line 10 of /opt/lampp/etc/extra/httpd-xampp.conf: Cannot load modules/ into server: cannot open shared object file: No such file or directory”
then run command below to install libnsl.

sudo dnf -y install libnsl

Install Redhat LSB :

sudo dnf install redhat-lsb

Want to stop some process on boot to to enhance boot time :

Know Boot time :


Check which process taking more time :

systemd-analyze blame | head

Stopping a Process during boot
for example in my case packagekit.service take more time, so I searched disabling this service can cause any problem on booting or it safe, after ensuring its safe I run commands below to disable…

sudo systemctl stop packagekit.service
sudo systemctl disable packagekit.service
sudo systemctl mask packagekit.service

to enable you can run commands below

sudo systemctl start packagekit.service
sudo systemctl enable packagekit.service
sudo systemctl unmask packagekit.service

How to pass extra variables in URL with WordPress

How to pass extra variables in URL with WordPress

In this tutorial we are going to learn How to pass extra variables in URL with WordPress ? We have to pass  two variables named domain and price. So we need to use url like


First we have to create a page name called Get Domain (which will create url http://localhost/worpress/get-domain/), now in Page add add a custom wordpress shortcode


Now add code give below in your functions.php and check

// domain details
function price_query_vars( $qvars ) {
$qvars[] = 'price';
return $qvars;
add_filter( 'query_vars', 'price_query_vars' );

function domain_query_vars( $qvars ) {
$qvars[] = 'domain';
return $qvars;
add_filter( 'query_vars', 'domain_query_vars' );

function sp_request_parameter() {
//$parameters = get_query_var( 'price', 1 );
if(get_query_var( 'domain', 1 )){
$domain= get_query_var( 'domain', 1 );
$domain= $default;

if(get_query_var( 'price', 1 )){
$price= get_query_var( 'price', 1 );
$price= $default;


$string="<h2>First Year ".$domain." Domain Registration Price: Rs. ".$price."</h2>
<p>Register your ".$domain." Domain before someone else does. </p>";
//$price." ".$domain;

return $string;
add_shortcode('sp_domain_price', 'sp_request_parameter');

How can I add a new Kate project to the Kate editor

How can I add a new Kate project to the Kate editor

If you ever used Kate Editor and love it then next step is to use your next project in Kate . Creating a project or a adding in Kate is not an easy task and you barely get a tutorial that solve you problem unless you go through Kate Application Book. In this tutorial I am going to tell you steps to add a project in Kate and I will provide working screen shot of it.

Folder Structure Screen shot Kate Project :

Suppose we have project called folder named “School WordPress template”, inside this folder, we have our main project folder called “School_Wordpress_template” that have all files and folder. So we have to create file named “.kateproject” file inside “School WordPress template” folder with code given below.

  "name": "Wordpress_Education_Theme"
, "files": [ { "directory": "Wordpress-Education-theme", "filters": ["*.php", "*.css","*.js"], "recursive": 1 } ]

Now open file .kateproject using kate and go to project, you will able to see project files and folder. see the out put below ….


If you want to create .kateproject inside project folder then use code given below

{ "name": "Wordpress_Education_Theme" , "files": [ { "directory": "./", "filters": ["*.php", "*.css","*.js"], "recursive": 1 } ] }


Most used basic Git commands in Programmer’s Life

Most used basic Git commands in Programmer’s Life

If you are programmer or coder then you know to importance of GIT in our live. Git is an important part of daily programming (especially if you’re working with a team) and is widely used in the software industry. In this post I am going to explain the most used Git commands.

Git Commands

Git Clone

Git clone is a command for downloading or cloning existing project’s source code from a remote repository (like Github,Gitlab…). In simple words, Git clone basically makes an identical copy of the latest version of a project in a repository and saves it to your computer.

git clone <https://name-of-the-repository-link>
for Example 
git clone

Connecting to Github

git config --global "email ID"
git config --global user. "username"
for example
git config --global "[email protected]"
git config --global "sonzoy"

Git Status

The git status command is used to display the state of the repository and staging area. Its provides all the necessary information about the current branch.

git status

Git Add

The git add command is used to add file contents to the Index (Staging Area). This command updates the current content of the working tree to the staging area.
To add single file

git add [FILENAME]
for example
git add style.css

To add multiple files

for example
git add style.css bootstrap.js bootstrap.min.css

To add all files and folder

git add *
git add -A

Git Commit

This is maybe the most-used command of Git. Once we reach a certain point in development, we want to save our changes (maybe after a specific task or issue).
We also need to write a short message to explain what we have developed or changed in the source code. The git add command doesn’t change the repository and the changes are not saved until we use git commit.

git commit -a 
or with message in one command
git commit -m "Add bootstrap, jquery"

Git Push

After committing your changes, the next thing you want to do is send your changes to the remote server. Git push uploads your commits to the remote repository.

git push origin branch_name
for example
git push origin main
git push -f origin main

Git pull

The git pull command is used to get updates from the remote repo. This command is a combination of git fetch and git merge which means that, when we use git pull, it gets the updates from remote repository (git fetch) and immediately applies the latest changes in your local (git merge).

git pull origin branchname
for example
git pull  origin main

If you getting merge error while push then try commands given below

# suppose branch name is  main
git config pull.rebase false
git checkout main
git merge main
git pull origin main

Holi best wishes, status, Shayeri in Hindi

Holi best wishes, status, Shayeri in Hindi

In this post, we are going to share Holi best wishes, Whats app Status, Shayeri based on Holi, Holi Messages

Holi ( /ˈhoʊliː/) is a popular ancient Hindu festival, also known as the “festival of love”, the “festival of colours”, and the “festival of spring”. The festival celebrates the eternal and divine love of Radha and Krishna. It also signifies the triumph of good over evil.”

आपको और आपके परिवार को होली की हार्दिक शुभकामनाएं

ये रंगो का त्यौहार आया है,
साथ अपने खुशियाँ लाया है,
हमसे पहले कोई रंग न दे आपको,
इसलिए हमने शुभकामनाओं का रंग,
सबसे पहले भिजवाया है

राधा का रंग और कान्हा की पिचकारी प्यार के रंग से रंग दो दुनिया सारी
यह रंग ना जाने कोई जात ना कोई बोली मुबारक हो आपको रंगों भारी होली

आपको और आपके परिवार को होली की खुब सारी शुभकामनाये
इसी दुआ के साथ आपके व आपके परिवार के साथ
सभी के लिए सुखदायक, मंगलकारी व आन्नददायक हो। होली की खुब सारी शुभकामनाये….

तुम भी झूमे मस्ती में,
हम भी झूमे मस्ती में,
शोर हुआ सारी बस्ती में,
झूमे सब होली की मस्ती में… हैप्पी होली

प्यार के रंगों से भरो पिचकारी
स्नेह के रंगों से रंग दो दुनिया सारी
ये रंग न जाने न कोई जात न बोली
सबको हो मुबारक ये हैप्पी होली
होली के शुभकामना संदेश

गुलाल का रंग, गुब्बारों की मार,
सूरज की किरणे,खुशियों की बहार,
चाँद की चांदनी, अपनों का प्यार,
मुबारक हो आपको रंगों का त्यौहार.

निकलो गलियों में बना कर टोली,
भिगा दो आज हर एक की झोली,
कोई मुस्कुरा दे तो उसे गले लगा लो,
वरना निकल लो, लगा के रंग कह के हैप्पी होली..

ऐसे मनाना होली का त्योहार,
पिचकारी से बरसे सिर्फ प्यार,
ये है मौका अपनों से गले मिलाने का,
तो गुलाल और रंग लेकर हो जाओ तैयार…


Do you have any Query / Suggestion