Wednesday, 17 December 2025
75 - Write a program in Python that takes a list of integer from the user and displays the number of even elements
Sunday, 7 December 2025
International Computer Science Teachers Week (14–20 December 2025)
International Computer Science Teachers Week (14–20 December 2025)
Online Article, Essay, Poster & Banner Writing Competition
Dear Students,
As you know, 19 December is celebrated as International Computer Science Teachers Day, and this year, 14–20 December 2025 will be observed as International Computer Science Teachers Week. As part of the celebration of International Computer Science Teachers Week (14–20 December 2025), we are organizing an Online Article, Essay, Poster, and Banner Writing Competition.
๐ฏ Competition Categories
Article Writing – Topic related to Computer Science, Technology, AI, or Digital Innovation.
Essay Writing – 400–600 words on themes such as the role of CS teachers, impact of technology, future of computing, etc.
Digital Poster/Banner Making – Themes:
- International Computer Science Teachers Week
- Artificial Intelligence
- Cyber Safety
- Coding Culture
- Digital Empowerment
๐ Important Details
Mode: Online Submission
Last Date for Registration: 12 December 2025
Submission Deadline: 18 December 2025
Result Announcement: 19 December 2025
๐ Registration
Students who wish to participate must register using the link below on or before 06 December 2025.
Registration Link:
https://docs.google.com/forms/u/3/d/10zBu-8N6q0x2eVQwtUjz3zARbPcbbAns44C5RpUD0Ik/preview
We encourage all interested students to showcase their creativity, digital skills, and knowledge of Computer Science.
Let’s celebrate this week with innovation, inspiration, and enthusiasm!
All teachers are requested to kindly share this information in their respective schools as well.
Winners of the competition will be awarded prizes and certificates for their outstanding performance.
Students are requested to email their articles, essays, digital posters/banners, etc. to
support@spsharmag.com
in any of the following formats: WORD / PDF / JPG / PNG before or on 18 Dec 2025
– Computer Science Department
Thursday, 18 September 2025
เคเคเคฏे เคนเคฎ เคธ्เคตเคฏं เคो "Re-Routing" เคฎोเคก เคชเคฐ เคฐเคें
Wednesday, 9 April 2025
6. A school stores records of Class XII students using a list that contains multiple lists as its elements.
A school stores records of Class XII students using a list that contains multiple lists as its elements. The structure of each such element is [Student_Name, Marks, MainSubject]. Crate user-defined functions to perform the operations as mentioned below:
8. Write a program in Python to input 5 words and push them one by one into a list named All.
Write a program in Python to input 5 words and push them one by one into a list named All.
5. Priyanka has created a dictionary 'emeployee_data' containing EmpCode and Salary as key value pairs
Priyanka has created a dictionary 'emeployee_data' containing EmpCode and Salary as key value pairs for 5 Employees of Cyber Intratech. Write a program, With separate user defined function, as mentioned below, to perform the following operations:
3. Write a program in Python, with separate user defined functions to perform the following operations on Stack 'City'.
Write a program in Python, with separate user defined functions to perform the following operations on Stack 'City'.
2. A School has created a dictionary containing top players and their runs as key value pairs of cricket team.
A School has created a dictionary containing top players and their runs as key value pairs of cricket team. Write a program with separate user defined functions to perform the following operations:
1. Suppose L = [3, 4, 5, 20, 4, 5], What is L after L.pop()?
1. Suppose L = [3, 4, 5, 20, 4, 5], What is L after L.pop()?
- [3,4,5,20,4]
- [3,5,20,4,5]
- [3,5,20,5]
- Error
Sunday, 6 April 2025
How to Host Multiple Next.js Applications on a Single VM with Nginx and Custom Domains
If you're working with multiple Next.js applications and want to host them all on a single virtual machine (VM) while assigning different domains or subdomains to each, this guide is for you. We'll walk through setting up PM2, Nginx, domain pointing, and even HTTPS using Let's Encrypt.
๐งฑ Step 1: Set Up Each Next.js Application
1. Build Each App
First, navigate to each app directory and build it for production:
# App 1
cd /path/to/your/nextjs-app1
npm install
npm run build
# App 2
cd /path/to/your/nextjs-app2
npm install
npm run build
# App 3
cd /path/to/your/nextjs-app3
npm install
npm run build
2. Manage Your Apps Using PM2
Create an ecosystem.config.js file to manage your apps:
module.exports = {
apps: [
{
name: "app1",
script: "npm",
args: "run start",
cwd: "/path/to/your/nextjs-app1",
env: {
NODE_ENV: "production",
PORT: 4300
}
},
{
name: "app2",
script: "npm",
args: "run start",
cwd: "/path/to/your/nextjs-app2",
env: {
NODE_ENV: "production",
PORT: 4301
}
},
{
name: "app3",
script: "npm",
args: "run start",
cwd: "/path/to/your/nextjs-app3",
env: {
NODE_ENV: "production",
PORT: 4302
}
}
]
};
Start all apps using PM2:
pm2 start ecosystem.config.js
๐ Step 2: Install and Configure Nginx
1. Install Nginx
sudo apt update sudo apt install nginx
2. Create Nginx Configuration for Each Domain
Create a configuration file for each app in /etc/nginx/sites-available/.
Example: app1.yourdomain.com
server {
listen 80;
server_name app1.yourdomain.com ;
location / {
proxy_pass http://localhost:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}
Repeat the same for other domains like app2.yourdomain.com and app3.yourdomain.com using the corresponding ports.
3. Enable the Sites
sudo ln -s /etc/nginx/sites-available/app1.yourdomain.com /etc/nginx/sites-enabled/
sudo ln -s /etc/nginx/sites-available/app2.yourdomain.com /etc/nginx/sites-enabled/
sudo ln -s /etc/nginx/sites-available/app3.yourdomain.com /etc/nginx/sites-enabled/
4. Test and Restart Nginx
sudo nginx -t sudo systemctl restart nginx
๐ Step 3: Point Your Domains to the VM
Log in to your domain provider (e.g., GoDaddy, Namecheap) and update the DNS records:
app1.yourdomain.com → [Your VM IP]
app2.yourdomain.com → [Your VM IP]
app3.yourdomain.com → [Your VM IP]
Add A records for each subdomain, pointing to the public IP of your VM.
๐ Step 4: Enable SSL with Let's Encrypt (Recommended)
1. Install Certbot
sudo apt install certbot python3-certbot-nginx
2. Obtain SSL Certificates
sudo certbot --nginx -d upload.inditechit.com -d app2.yourdomain.com -d app3.yourdomain.com
Follow the prompts to complete the setup.
3. Test Renewal (Optional)
sudo certbot renew --dry-run
✅ Done!
Now you have multiple Next.js apps running on a single VM, each served on a custom domain with HTTPS. Nginx handles the routing via reverse proxy, while PM2 keeps your apps alive and running in the background.
With over four years of hands-on experience in full-stack development, I bring a strong blend of technical expertise, problem-solving skills, and leadership to drive impactful digital solutions. In my most recent role as a Senior Software Developer at Nexthikes IT Solutions, I not only led a team to develop scalable web and mobile applications but also managed VPS servers, handled builds, and implemented efficient version control systems.
-
SECTION - A 1-False 2-C-20 3-D-ValueError 4-B-Break 5-B 6-D 7-is 8-A 9-A-UNIQUE 10-A - 25$$15 11-B 12-A-dict() 13-A-UPDATE 14-B-count() 15-C...
-
A School has created a dictionary containing top players and their runs as key value pairs of cricket team. Write a program with separate ...
-
'''Practical No: 9: WAP in Python to create a binary file with roll_no, name and marks of the students and update the marks of...