Skip to content

Tech and Leadership

Architecture | Leadership | Strategy | Code

Menu
Menu

How to change the last committed git message

Posted on March 2, 2024

So you committed and pushed a change and realized Git allows to update the last committed change. Follow the steps below: 1. In the terminal of your project, run git commit –amend…

TypeScript for Serverless Framework – esbuild vs TSplugin

Posted on February 21, 2024

Lambda doesn’t understand native typescript. Hence, you may write the code in TS but need to transpile it to JavaScript for deployment. If you’re using Serverless Framework, there are 2 options: Let’s…

useState – No! It won’t log 150

Posted on December 26, 2023

What do you think will get logged when the JS above is executed? 50, 100 or 150? None of it! It will log 10. Why? React updates the state asynchronously. This means…

How to remove the Decimal Part

Posted on September 24, 2023

If you need to remove the decimal part, you don’t need any special parsing or string function. These sweet and short statements are enough,

Is the imported MySQL connection pool reused?

Posted on August 1, 2023

TL; DR; = YES Consider the following code: Let’s say we invoke it from 2 different express methods using either the Import or the required way: OR using the required way: What…

zsh: command not found: mysql

Posted on July 30, 2023

Despite MySQL installation, you might not be able to run MySQL from terminal as the bin folder where the MySQL application exists is not in the $PATH folder (where the Terminal searched…

Auto Generate OpenApi SwaggerDocs in Express+Typescript App

Posted on July 29, 2023

Documentation of APIs is pivotal to easy maintenance and issue resolution. However, I’m not a big fan of manual documentation as regardless of how much you enforce; it’s a manual effort that…

ReactNative native installation with all dependencies (2023)

Posted on July 16, 2023

Getting a brand-new machine ready for React Native is much more than just executing the shell commands on the official website. This article covers the installation of all the dependencies and settings…

Easiest way to be a good Leader

Posted on January 22, 2023

We often defer, ignore, or don’t take time out to appreciate others. Good Leaders have this natural tendency to offer instant gratification. It could be as simple as a “Thanks” on chat…

Categories

  • Leadership (1)
  • serverless (1)
  • Tech (7)
    • ReactNative (1)

Recent Posts

  • How to change the last committed git message
  • TypeScript for Serverless Framework – esbuild vs TSplugin
  • useState – No! It won’t log 150
  • How to remove the Decimal Part
  • Is the imported MySQL connection pool reused?
©2026 Tech and Leadership | Design: Newspaperly WordPress Theme