- How to map the git bash home folder in windows?
Open git bash and cd to root
folder and type explorer .
and it will open the folder in windows.
#!/bin/bash | |
# Check if jq is installed | |
if ! command -v jq &> /dev/null; then | |
echo "jq is required but it's not installed. Please install jq first." | |
exit 1 | |
fi | |
# Check if curl is installed | |
if ! command -v curl &> /dev/null; then |
Open git bash and cd to root
folder and type explorer .
and it will open the folder in windows.
A little copying is better than little dependency.
#SoftwareEngineering #BestPractices #programming #golang
Laws of Software Architecture:
#!/bin/bash | |
# ============================================================================== | |
# Script Name: process_checker.sh | |
# Description: Checks if a specific process is currently running. | |
# This script uses 'pgrep' for a reliable check and returns a | |
# clear exit code. | |
# Usage: ./process_checker.sh <process_name> | |
# | |
# Exit Codes: |
// For generating vault secret store path | |
// It is a part of medium blog | |
package main | |
import ( | |
"fmt" | |
"os" | |
"regexp" | |
"strings" |