Skip to content

Instantly share code, notes, and snippets.

View jspw's full-sized avatar
🔧
Exploring AI & Emerging Tech 🚀

MH Shifat jspw

🔧
Exploring AI & Emerging Tech 🚀
View GitHub Profile
@jspw
jspw / SEO.md
Created October 1, 2026 06:58
SEO

2. SEO Foundations → Expert Knowledge Plan

Phase 1 — Beginner (Days 1–8): Core SEO Concepts

Day 1–2: How Search Works

Concepts:

  • How Google crawls, indexes, and ranks pages (Googlebot, crawl budget, indexing pipeline)
  • The anatomy of a SERP (Search Engine Results Page): organic results, featured snippets, knowledge panels, People Also Ask, local pack, ads
  • Search intent types: navigational, informational, commercial, transactional
@jspw
jspw / Code-Conventions.md
Last active July 5, 2024 16:50
Code Convention

Code Conventions

Java

Springboot

Configuration for SSL Certificate

Install Certbot

sudo apt install certbot python3-certbot-nginx

Config will depend on your server apache or nginx

Note : I am using nginx

@jspw
jspw / explain-nginx-symblink.md
Created June 22, 2023 19:26
Explanation on How Nginx works with Symbolic Link
@jspw
jspw / nginx-symb.md
Created June 22, 2023 19:22
Config nginx with symlink

Yes, you can create a separate configuration file for your React app in the /etc/nginx/sites-available directory. Here's how you can do it:

Step 1: Create a new NGINX configuration file Run the following command to create a new configuration file for your React app:

sudo nano /etc/nginx/sites-available/my-react-app

This will open the Nano text editor with a new file.

@jspw
jspw / MongoReplicaConfig.md
Last active November 26, 2024 20:53
Configure mongodb replica for production
  • Install Mongodb in server

  • Create/start multiple mongo servers (my be in different vm or in same server on different port)

    • mongod --port 2717 --dbpath ~/test/mongos/db1 --replSet myReplicaSet
    • mongod --port 2718 --dbpath ~/test/mongos/db2 --replSet myReplicaSet
    • mongod --port 2719 --dbpath ~/test/mongos/db3 --replSet myReplicaSet
  • Open up any mongo server shell (lets say “2717”) which will be your primary mongodb

    • mong --port 2717
  • Check status :

@jspw
jspw / Activemq.md
Last active April 18, 2023 08:10
Install and active Activemq in macbook
  • install activemq : brew install apache-activemq
  • activate : brew services start activemq
@jspw
jspw / install_maven_3.8.5.sh
Last active June 1, 2022 19:59
Install and configure maven 3.8.5 in linux machine
#!/bin/bash
# whoami -> MH Shifat | https://github.com/jspw
# date -> Tue 31 May 2022 10:29:08 PM +06
LATEST_MAVEN_URL="https://dlcdn.apache.org/maven/maven-3/3.8.5/binaries/apache-maven-3.8.5-bin.tar.gz"
printf "Downloading "$MAVEN_FILE_NAME "...\n\n"
sudo wget $LATEST_MAVEN_URL
@jspw
jspw / install_apache_active_mq_5.17.1.sh
Last active January 1, 2024 08:41
Automate installing and configuration for Apache Message Queue using a bash script in Linux based machines. Just run `sudo ./install_apache_active_mq_5.17.1.sh`.
#!/bin/bash
# whoami -> MH Shifat | https://github.com/jspw
# date -> Mon 30 May 2022 11:06:52 PM +06
GREETINGS="Welcome to the Active MQ installer\n\n\n"
ACTIVE_MQ_DOWNLOAD_URL="http://archive.apache.org/dist/activemq/5.17.1/apache-activemq-5.17.1-bin.tar.gz"
echo $GREETINGS