Git cheat sheet

Git Cheat Sheet

Git is a distributed version control system used in software development for efficient team collaboration, tracking code changes, and managing project history. It enables developers to work on different features simultaneously and facilitates easy merging of contributions.

MySQL cli commands

MySQL Logo

MySQL is a widely used open-source database system for web applications. The MySQL Command-Line Interface (CLI) is a text-based tool to interact with the database directly from the command line.

Write Data to CSV File in PHP: Step-by-Step Guide

write data to csv with php

The process to write submitted data to a CSV file in PHP involves retrieving the data from the $_POST superglobal array, opening a CSV file for writing using fopen(), creating an array of the data, writing the array as a CSV row to the file using fputcsv(), and closing the file using fclose(). 1. Retrieve […]

Best practice for writing readable code

coding best practice

Clean and maintainable code is one of the fundamentals of development. Code readability also helps in team development.

Submit HTML Form to Google Sheets with PHP

Html php google sheets

Submit HTML form to Google sheets is convenient when we have requirement to just collect data form user or customers, while maintaining corporate consistency, without costly development. We can create a form in our website and save submitted form data in google sheets.

Create WordPress Multisite with different domains

WordPress-Logo

Enable WordPress mutlisite feature Got to wp-config.php file of wordpress installation and open it in file editor. And add following line just above the line that says ‘/* That’s all, stop editing! Happy publishing */’. define( ‘WP_ALLOW_MULTISITE’, true ); Then head back to WordPress admin dashboard and got to Tools » Network Setup page to configure WordPress multisite […]

Custom form in WordPress without plugin

WordPress-Logo

Creating custom form without plugin to submit form in wordpress site and save to custom database table. Custom form adds more control over form submission and data handling process

UUIDs in Laravel/Lumen applications with eloquent

Laravel

Universal Unique Identifier (UUID) is a 128-bit string used to uniquely identify objects/resources in computer systems. It also termed as Global Unique Identifier (GUID). The probability of duplicated UUID not zero, but close enough to be zero, to be negligible. We can use UUIDs in Laravel as primary key of records in our database.

Data Encryption with Eloquent – Laravel

Data Encryption

Few weeks back, one of my client asked me about the possibility of data encryption of his customers data, stored in database. It would be unusable, even if someone got the dump of those data. But those data should be usable and readable in his existing applications. My client has app built on built on […]

React snackbar notification- React JS Component

React JS

React snackbar notification is React JS Component to show snackbar notifications

Link Gitlab and Microsoft Teams using connectors

Microsoft Teams

In application development, often multiple developers or a whole team is involved. And when multiple individuals are working on a same project, there are chances of miscommunication and code conflict. We often need to check and track on who’s checking on which part of code and what changes are being made. In my company, we […]

Global Site Tag (gtag) in React Js without npm package

Google Analytics

Global Site Tag designed to use the entire Google suite and third parties and simplify the labeling, exchange and analysis between different products. It makes processes easier by keeping tags from different products in one place of code without requiring additional accounts or separate interface to manage.