Skip to content

Instantly share code, notes, and snippets.

View sagarbangade's full-sized avatar
🔱
Jai Jagannath ⭕‼️

Sagar Eknath Bangade sagarbangade

🔱
Jai Jagannath ⭕‼️
View GitHub Profile
@sagarbangade
sagarbangade / codecopy.sh
Last active February 28, 2025 17:25
Bash Script: File Content Extractor with Exclusion Support This Bash script scans the current directory and its subdirectories to list and extract file contents while excluding specified files and folders. It is useful for generating a text-based snapshot of a project’s structure and content.
#!/bin/bash
# Output file name
output_file="output.txt"
# Remove the output file if it already exists
rm -f "$output_file"
# Array of directories and files to exclude
exclude_patterns=(
@sagarbangade
sagarbangade / Calculator.c
Created January 11, 2023 16:14
Calculator in C language using Switch case
#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("CalculatorS");
int a,b;
printf("Enter first number: ");
scanf("%d",&a);