Search This Blog

Tuesday, May 20, 2025

Learning Docker via Practical Apps - Containerize MySQL and Phpmyadmin



For developers working with databases, the combination of MySQL, a robust open-source relational database, and phpMyAdmin, a user-friendly web-based database administration tool, is a staple. This powerful duo becomes even more potent when containerized with Docker.

This comprehensive guide will walk you through the process of setting up and running both MySQL and phpMyAdmin within separate yet linked Docker containers. We'll explore the benefits of this approach, provide step-by-step instructions, and equip you with the knowledge to streamline your database management workflow.

By encapsulating applications and their dependencies into portable containers, Docker ensures consistency across different environments.

The following are the two references for this.

  1. MySQL Docker Container - https://hub.docker.com/_/mysql
  2. phpmyadmin Docker Container - https://hub.docker.com/_/phpmyadmin

Saturday, April 26, 2025

A Deep Dive into a C-Based Encryption Tool



In today's digital age, where data breaches and privacy concerns are rampant, understanding the fundamentals of encryption is more crucial than ever. This post delves into a powerful, albeit simplified, C-based encryption tool. We'll explore its inner workings, dissect the code, and understand the cryptographic principles that make it tick. Whether you're a seasoned developer or a curious tech enthusiast, this guide will provide valuable insights into the world of secure communication.

Friday, April 25, 2025

How to Build a Biometric Authentication System in Python Using the Windows Biometric Framework


Biometric authentication is no longer limited to high-security labs or science fiction movies. With the rise of facial recognition and fingerprint scanning, developers now have the tools to implement biometric login systems in their own applications. In this tutorial, we’ll show you how to build a Python-based biometric authentication system using the Windows Biometric Framework (WBF).

Whether you’re building a secure desktop app, experimenting with IoT access control, or just curious about how biometric login works, this post walks you through every step—from loading the biometric API to identifying users by fingerprint or facial data.

Tuesday, May 3, 2022

Write a python program to search for a file in a provided directory

 So i had to for some reason develop a small utility to search a directory or drive for a particular filename. Decided to do the same in python to try and explore the os.walk() in python.

Here is how i did the same.

Sunday, March 28, 2021

Embedded System Podcast - Episode 11 - Version Control

 


The Version Control Basics 

 In the come back episode i try to remember the settings for the microphone :D. Try to give a brief introduction about the subversion version control. I also introduce my open source project WebSVN, a free repository viewer for subversion. Hosted on github where one can raise its issues and request features for the same. Thanks and Regards

Sunday, March 14, 2021

Writing Pre-Commit Hook Scripts in Python for Subversion

It is pretty simple to write hook scripts for subversion in python even without using the subversion library. 

Here in this post i show how i wrote a pre-commit hook script to tackle three of the requirements.

  1. Length of the commit message should not be less than 50 characters
  2. The log message should have the work item id written so the commit can be linked to the work items in the Rational Change and Configuration Management Tool
  3. As the repository will only contain python scripts so nothing else should be committed into it.
  4. The changes should be recorded in the work item id mentioned.

Monday, August 24, 2020

Embedded System Podcast - Episode - 10 Commit Log Policing

One or the other time there is always something, some first thing that you do in your career. That you have seen all the time but never have done yourself before. 

That is what i am going to talk about today. It is called commit Log policing.

You are going to do this daily if you are the repository admin or responsible for entire code. But there will always be the very first time you are going to write something that does the policing for the entire team. This is my story of me first time writing the policing rules. 



Related Post

Sunday, August 23, 2020

Pre-Commit Hook Scripts in Subversion

It is not everyday i get to implement policing in corporate environment. But it is also something that is required all the time. It is when your team is induced with more and more new people it becomes difficult to monitor what is being committed and how it is being committed. 

One of the key things the committed code is evaluated is via relation of the change with what it has been changed. This is achieved usually by breaking down the implementation into smaller chunks and committing it against the issue id.

The issue id is usually put in the log message with a commit message descriptive enough to let you know what the change is for and what it does. It is tricky to write a good enough commit message. Either it is too short, it is too long or well it serves no purpose.

This is the reason it is absolutely important to know against what the commit has been done. Hence these pre-commit checks.