In JavaScript, a promise is an object that represents a value that may not be available yet,…
Triggers in MSSQL
A trigger is a special type of stored procedure in Microsoft SQL Server that automatically executes when…
Most Common Git Commands
You can easily find GUI to accomplish following operations these days but here are some of the…
SQL Merge Statement & UPSERT Operation
The MERGE statement in Microsoft SQL Server allows you to perform multiple actions (such as insert, update,…
CTE (Common Table Expression) in SQL
CTE (Common Table Expression) is a feature in SQL that allows you to define a temporary result…
SQL Window Functions
SQL Window Functions are a feature of SQL that allow you to perform calculations across rows within…
OpenLDAP: Definition and Summary
OpenLDAP is an open-source implementation of the Lightweight Directory Access Protocol (LDAP), a network protocol used to…
How to implement TOTP to Laravel
To implement TOTP in Laravel, you can use a library such as "Google Authenticator" or "TOTP". Here…
Logic behind 2FA
Two-factor authentication (2FA) codes provide an extra layer of security for login systems by requiring the user…
How to access local MongoDB server from a Docker Environment
It is actually pretty easy. In my case I needed to reach from Laravel Sail to my…