code snippets, software programs, answers to developer queries about programming languages and development platforms by Gurudev
How to check a value against multiple variables in Python?
The most readble and simplest way in Python to check if a given value exists in any of the multiple variables.
Bulk rename all files in a folder in Ubuntu replacing part of file name
Ubuntu shell command to bulk rename files in a folder by replacing part of the file name (a subtring) with another string.
How to convert base64 encoded text (audio / image) data into binary (wav / mp3) file?
Commands to convert base64 encoded text file (audio, image, video, etc) into corresponding binary file in Ubuntu, Linux, Mac and Windows.
Convert Python Dictionary or List of Dictionaries to XML string
Python Code snippet to convert a dictionary or a list of dictionaries into a valid XML string.
How to pretty print a JSON file in Python?
Pretty printing makes a json file visually appealing and easy to edit. If you have a JSON file that is compact or not visually appealing, you can easily convert it in Python to a pretty print form.
12Page 2 of 2
Sanskrit poem on Ramayana – read in reverse becomes Mahabharata!
A Sanskrit poem about Ramayana when read in reverse direction becomes a poem on Mahabharata!
The difference between Itihasa and Puranas
Documentation of ancient Indian history and the historical events of Indian civilization in the form of Itihasa and Puranas - Ramayana and Mahabharata.
Online Education should be interactive and innovative – Fun to Learn
For online education to succeed for smaller classses - it should be as interesting as cartoons. Online education cant succeed unless it is more interesting, interactive and innovative than offline schooling.
The Complete List of Dhatus – Sanskrit Root Words and their English meaning
A complete list of all dhatus (root words or verb roots) in Sanskrit dictionary and their meanings with corresponding IPA transliteration.
Takshashila – World’s Oldest University
More than 2700 years back a huge university existed in that ancient India where over 10,500 students from all across the world came for...
Grahas are not Planets – Nava Graha is not the same as Nine Planets
The difference between Planets and Grahas. Why are Sun and Moon included in the list of Navagrahas? Isn't it true that Rahu and Ketu do not exist? What about Earth?
Place Value, not Zero is most important invention of ancient Indian Mathematicians
The most important contribution of ancient India to mathematics was not zero but the place value system or positional notation system.
The Sacred Secrets of Ganga
Science behind the mysterious power of Ganges river. The reason why piligrims take the holy water of Ganga to their places and add it to local ponds, wells and lakes across India.