Articles by Deepak Prasad
Create nested directories in Python [Practical Examples]
File creation and manipulation is considered a critical operation for any application. While creating a file, if any mistakes are made, it will affect the
SOLVED: Update ConfigMap & Secrets without Pod restart in K8s
In this tutorial, we'll explain how you can update the values of configmaps and secrets in Kubernetes without restarting the pods.
Bash until vs while loop: Basic difference explained!
For beginners or people starting with programing language can easily get confused on which loop to use. So we will cover some examples to explain the
Different Kali Vulnerability Scanner Tools [Explained]
Kali Linux is one of the most popular Linux distributions used for Security auditing and Penetrations testing. It comes pre-installed with numerous (300+)
SOLVED: Calling a function from another file in Python
In this scenario, we are calling a function from another file in different directory. Let us save the file compute.py inside the folder bank. Whereas, demo.py
How to check file exists in Python [Practical Examples]
Using os.path.exists() function, Using os.path.isfile() , Using the is_file() of pathlib module, Using os.path.islink() to check file exists and is a symbolic …
lbzip2 Command in Linux: Install, Compress, Decompress & Examples
Learn how to use lbzip2 command in Linux with practical examples. Install lbzip2 on Ubuntu, compress/decompress files, use multithreading, and fix common errors …
How to Paginate with Mongoose in Node.js [Practical Examples]
It is a traditional way to paginate with mongoose. Here, It simply uses limit and offset in SQL queries to paginate the data from database. If you are working
Complete Shodan Tutorial | The Search Engine for Hackers
Shodan is a search engine but very different from regular search engines like Google, Yahoo, Bing, etc., which search the web for standard websites. Shodan
How to Inject Encoded Payload
One major problem that most Ethical hackers and penetration testers face is bypassing Anti-Virus software when executing payloads. If you are running an
How to implement 3 stacks in an array
A Stack is a Last in First out(LIFO) data structure. Push and pop operations are used for insertion and deletion of a value from the stack respectively. In
How to implement Binary Search Tree in Python [Easy Examples]
The knowledge of how to implement binary search tree in Python is very useful while working on real time applications. In many situations, we will need to
SOLVED: List unique characters from a string in Python
As we know, that the set data structure only stores the unique elements in it. It does not allow repeated values. So, we can utilize this feature to list
Convert YAML file to dictionary in Python
Many times in our application, we will need to write YAML file to python dictionary, or convert YAML file to dictionary in Python. We can accomplish this task
Python List vs Set vs Tuple vs Dictionary Comparison
In this tutorial we do a completed detailed comparison of list vs set vs tuple vs dictionary in tabular format with practical examples
