├── images
├── a
└── cdh.png
├── Full Stack Projects
├── todo-list
│ ├── index.html
│ ├── .gitignore
│ ├── package.json
│ ├── views
│ │ └── list.ejs
│ ├── app.js
│ └── public
│ │ └── css
│ │ └── styles.css
├── Record-Manager
│ ├── vector.jpg
│ ├── vector1.jpg
│ ├── vector2.jpg
│ ├── vector3.jpg
│ ├── vector4.jpg
│ ├── add background.png
│ ├── modify.html.bak
│ ├── delete.html
│ ├── delete.html.bak
│ ├── index.html
│ ├── index.html.bak
│ ├── modify.html
│ ├── x.html
│ ├── x.html.bak
│ ├── add.html
│ └── add.html.bak
└── README.md
├── Fronted Projects
├── static_pages-main
│ ├── CV
│ │ ├── css
│ │ │ ├── a
│ │ │ └── styles.css
│ │ ├── images
│ │ │ ├── a
│ │ │ ├── cloud.png
│ │ │ ├── gamer.png
│ │ │ ├── man.png
│ │ │ ├── mountain.png
│ │ │ └── programmer.png
│ │ ├── favicon.ico
│ │ └── index.html
│ ├── Space tourism
│ │ ├── logo.png
│ │ ├── background-home-desktop.jpg
│ │ ├── —Pngtree—logo space_5155615.png
│ │ ├── index.html
│ │ └── style.css
│ ├── Contact page
│ │ ├── contact.jpeg
│ │ ├── wallhaven-zm3emy.jpg
│ │ ├── style.css
│ │ └── index.html
│ ├── Avengers landing page
│ │ ├── logo.png
│ │ ├── bg-image.jpg
│ │ ├── style.css
│ │ └── index.html
│ ├── countdown-timer
│ │ ├── assets
│ │ │ └── tones
│ │ │ │ └── Alarm05.wav
│ │ ├── README.md
│ │ ├── index.html
│ │ ├── styles
│ │ │ └── style.css
│ │ └── scripts
│ │ │ └── main.js
│ └── README.md
├── animated_counter_app
│ ├── src
│ │ ├── index.css
│ │ ├── main.jsx
│ │ ├── App.jsx
│ │ └── assets
│ │ │ └── react.svg
│ ├── postcss.config.cjs
│ ├── vite.config.js
│ ├── tailwind.config.cjs
│ ├── .gitignore
│ ├── components
│ │ └── Input.jsx
│ ├── package.json
│ ├── index.html
│ └── public
│ │ └── vite.svg
├── BMI Calculator
│ ├── IMG01.jpg
│ ├── IMG02.png
│ ├── index2.html
│ └── index.html
├── instagram-clone-nextjs
│ ├── postcss.config.js
│ ├── public
│ │ ├── favicon.ico
│ │ └── vercel.svg
│ ├── next.config.js
│ ├── pages
│ │ ├── api
│ │ │ └── hello.js
│ │ ├── _app.js
│ │ └── index.js
│ ├── tailwind.config.js
│ ├── styles
│ │ └── globals.css
│ ├── components
│ │ ├── Story.js
│ │ ├── Feed.js
│ │ ├── Stories.js
│ │ ├── MiniProfile.js
│ │ ├── Posts.js
│ │ ├── Suggestions.js
│ │ ├── Header.js
│ │ ├── Post.js
│ │ └── Modal.js
│ ├── firebase.js
│ ├── package.json
│ ├── README.md
│ └── context
│ │ └── useAuth.js
└── README.md
├── Roadmap
└── Roadmap DSA.pdf
├── Android Projects
└── README.md
├── Blogs
└── README.md
├── ML Project
├── README.md
├── Spam_email_classification.py
└── Random Forest Classifier
│ └── Titanic Survival Prediction
│ └── Titanic Dataset.csv
├── Posters Videos
└── README.md
├── UI- UX Projects Design
└── README.md
├── Coding
├── bubblesortmethod.cpp
└── mergeKArrays.cpp
└── README.md
/images/a:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/Full Stack Projects/todo-list/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Fronted Projects/static_pages-main/CV/css/a:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/Fronted Projects/static_pages-main/CV/images/a:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/images/cdh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kaal-coder/HacktoberFest/HEAD/images/cdh.png
--------------------------------------------------------------------------------
/Roadmap/Roadmap DSA.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kaal-coder/HacktoberFest/HEAD/Roadmap/Roadmap DSA.pdf
--------------------------------------------------------------------------------
/Fronted Projects/animated_counter_app/src/index.css:
--------------------------------------------------------------------------------
1 | @tailwind base;
2 | @tailwind components;
3 | @tailwind utilities;
4 |
--------------------------------------------------------------------------------
/Fronted Projects/BMI Calculator/IMG01.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kaal-coder/HacktoberFest/HEAD/Fronted Projects/BMI Calculator/IMG01.jpg
--------------------------------------------------------------------------------
/Fronted Projects/BMI Calculator/IMG02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kaal-coder/HacktoberFest/HEAD/Fronted Projects/BMI Calculator/IMG02.png
--------------------------------------------------------------------------------
/Full Stack Projects/Record-Manager/vector.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kaal-coder/HacktoberFest/HEAD/Full Stack Projects/Record-Manager/vector.jpg
--------------------------------------------------------------------------------
/Full Stack Projects/Record-Manager/vector1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kaal-coder/HacktoberFest/HEAD/Full Stack Projects/Record-Manager/vector1.jpg
--------------------------------------------------------------------------------
/Full Stack Projects/Record-Manager/vector2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kaal-coder/HacktoberFest/HEAD/Full Stack Projects/Record-Manager/vector2.jpg
--------------------------------------------------------------------------------
/Full Stack Projects/Record-Manager/vector3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kaal-coder/HacktoberFest/HEAD/Full Stack Projects/Record-Manager/vector3.jpg
--------------------------------------------------------------------------------
/Full Stack Projects/Record-Manager/vector4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kaal-coder/HacktoberFest/HEAD/Full Stack Projects/Record-Manager/vector4.jpg
--------------------------------------------------------------------------------
/Fronted Projects/static_pages-main/CV/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kaal-coder/HacktoberFest/HEAD/Fronted Projects/static_pages-main/CV/favicon.ico
--------------------------------------------------------------------------------
/Fronted Projects/animated_counter_app/postcss.config.cjs:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | plugins: {
3 | tailwindcss: {},
4 | autoprefixer: {},
5 | },
6 | }
7 |
--------------------------------------------------------------------------------
/Fronted Projects/instagram-clone-nextjs/postcss.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | plugins: {
3 | tailwindcss: {},
4 | autoprefixer: {},
5 | },
6 | }
7 |
--------------------------------------------------------------------------------
/Fronted Projects/static_pages-main/CV/images/cloud.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kaal-coder/HacktoberFest/HEAD/Fronted Projects/static_pages-main/CV/images/cloud.png
--------------------------------------------------------------------------------
/Fronted Projects/static_pages-main/CV/images/gamer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kaal-coder/HacktoberFest/HEAD/Fronted Projects/static_pages-main/CV/images/gamer.png
--------------------------------------------------------------------------------
/Fronted Projects/static_pages-main/CV/images/man.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kaal-coder/HacktoberFest/HEAD/Fronted Projects/static_pages-main/CV/images/man.png
--------------------------------------------------------------------------------
/Full Stack Projects/Record-Manager/add background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kaal-coder/HacktoberFest/HEAD/Full Stack Projects/Record-Manager/add background.png
--------------------------------------------------------------------------------
/Fronted Projects/instagram-clone-nextjs/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kaal-coder/HacktoberFest/HEAD/Fronted Projects/instagram-clone-nextjs/public/favicon.ico
--------------------------------------------------------------------------------
/Fronted Projects/static_pages-main/CV/images/mountain.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kaal-coder/HacktoberFest/HEAD/Fronted Projects/static_pages-main/CV/images/mountain.png
--------------------------------------------------------------------------------
/Fronted Projects/static_pages-main/CV/images/programmer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kaal-coder/HacktoberFest/HEAD/Fronted Projects/static_pages-main/CV/images/programmer.png
--------------------------------------------------------------------------------
/Fronted Projects/static_pages-main/Space tourism/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kaal-coder/HacktoberFest/HEAD/Fronted Projects/static_pages-main/Space tourism/logo.png
--------------------------------------------------------------------------------
/Fronted Projects/instagram-clone-nextjs/next.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | reactStrictMode: true,
3 | images: {
4 | domains: ["links.papareact.com"],
5 | },
6 | };
7 |
--------------------------------------------------------------------------------
/Fronted Projects/static_pages-main/Contact page/contact.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kaal-coder/HacktoberFest/HEAD/Fronted Projects/static_pages-main/Contact page/contact.jpeg
--------------------------------------------------------------------------------
/Fronted Projects/static_pages-main/Avengers landing page/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kaal-coder/HacktoberFest/HEAD/Fronted Projects/static_pages-main/Avengers landing page/logo.png
--------------------------------------------------------------------------------
/Fronted Projects/static_pages-main/Avengers landing page/bg-image.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kaal-coder/HacktoberFest/HEAD/Fronted Projects/static_pages-main/Avengers landing page/bg-image.jpg
--------------------------------------------------------------------------------
/Fronted Projects/static_pages-main/Contact page/wallhaven-zm3emy.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kaal-coder/HacktoberFest/HEAD/Fronted Projects/static_pages-main/Contact page/wallhaven-zm3emy.jpg
--------------------------------------------------------------------------------
/Fronted Projects/static_pages-main/Space tourism/background-home-desktop.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kaal-coder/HacktoberFest/HEAD/Fronted Projects/static_pages-main/Space tourism/background-home-desktop.jpg
--------------------------------------------------------------------------------
/Fronted Projects/static_pages-main/countdown-timer/assets/tones/Alarm05.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kaal-coder/HacktoberFest/HEAD/Fronted Projects/static_pages-main/countdown-timer/assets/tones/Alarm05.wav
--------------------------------------------------------------------------------
/Fronted Projects/static_pages-main/Space tourism/—Pngtree—logo space_5155615.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kaal-coder/HacktoberFest/HEAD/Fronted Projects/static_pages-main/Space tourism/—Pngtree—logo space_5155615.png
--------------------------------------------------------------------------------
/Fronted Projects/animated_counter_app/vite.config.js:
--------------------------------------------------------------------------------
1 | import { defineConfig } from 'vite'
2 | import react from '@vitejs/plugin-react'
3 |
4 | // https://vitejs.dev/config/
5 | export default defineConfig({
6 | plugins: [react()]
7 | })
8 |
--------------------------------------------------------------------------------
/Fronted Projects/instagram-clone-nextjs/pages/api/hello.js:
--------------------------------------------------------------------------------
1 | // Next.js API route support: https://nextjs.org/docs/api-routes/introduction
2 |
3 | export default function handler(req, res) {
4 | res.status(200).json({ name: "John Doe" });
5 | }
6 |
--------------------------------------------------------------------------------
/Fronted Projects/animated_counter_app/tailwind.config.cjs:
--------------------------------------------------------------------------------
1 | /** @type {import('tailwindcss').Config} */
2 | module.exports = {
3 | content: ["./src/**/*.{js,jsx,ts,tsx}", "./components/**/*.{js,jsx,ts,tsx}"],
4 | theme: {
5 | extend: {},
6 | },
7 | plugins: [],
8 | };
9 |
--------------------------------------------------------------------------------
/Fronted Projects/animated_counter_app/src/main.jsx:
--------------------------------------------------------------------------------
1 | import React from 'react'
2 | import ReactDOM from 'react-dom/client'
3 | import App from './App'
4 | import './index.css'
5 |
6 | ReactDOM.createRoot(document.getElementById('root')).render(
7 |
8 |
9 |
10 | )
11 |
--------------------------------------------------------------------------------
/Fronted Projects/instagram-clone-nextjs/tailwind.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | content: [
3 | "./pages/**/*.{js,ts,jsx,tsx}",
4 | "./components/**/*.{js,ts,jsx,tsx}",
5 | ],
6 | theme: {
7 | extend: {},
8 | },
9 | plugins: [
10 | require("@tailwindcss/forms"),
11 | require("tailwind-scrollbar"),
12 | require("tailwind-scrollbar-hide"),
13 | ],
14 | };
15 |
--------------------------------------------------------------------------------
/Full Stack Projects/todo-list/.gitignore:
--------------------------------------------------------------------------------
1 | # Logs
2 | logs
3 | *.log
4 | npm-debug.log*
5 | yarn-debug.log*
6 | yarn-error.log*
7 | pnpm-debug.log*
8 | lerna-debug.log*
9 |
10 | node_modules
11 | dist
12 | dist-ssr
13 | *.local
14 |
15 | # Editor directories and files
16 | .vscode/*
17 | !.vscode/extensions.json
18 | .idea
19 | .DS_Store
20 | *.suo
21 | *.ntvs*
22 | *.njsproj
23 | *.sln
24 | *.sw?
25 |
--------------------------------------------------------------------------------
/Fronted Projects/animated_counter_app/.gitignore:
--------------------------------------------------------------------------------
1 | # Logs
2 | logs
3 | *.log
4 | npm-debug.log*
5 | yarn-debug.log*
6 | yarn-error.log*
7 | pnpm-debug.log*
8 | lerna-debug.log*
9 |
10 | node_modules
11 | dist
12 | dist-ssr
13 | *.local
14 |
15 | # Editor directories and files
16 | .vscode/*
17 | !.vscode/extensions.json
18 | .idea
19 | .DS_Store
20 | *.suo
21 | *.ntvs*
22 | *.njsproj
23 | *.sln
24 | *.sw?
25 |
--------------------------------------------------------------------------------
/Fronted Projects/static_pages-main/README.md:
--------------------------------------------------------------------------------
1 | # Static Pages
2 |
3 | **This repository contains multiple static pages**
4 |
5 | 1. [Basic login page](https://shuklaji02.github.io/static_pages/Avengers%20landing%20page/index.html)
6 | 2. [Contact page](https://shuklaji02.github.io/static_pages/Contact%20page/index.html)
7 | 3. [Landing page](https://shuklaji02.github.io/static_pages/Space%20tourism/index.html)
8 |
9 |
10 |
--------------------------------------------------------------------------------
/Fronted Projects/instagram-clone-nextjs/pages/_app.js:
--------------------------------------------------------------------------------
1 | import "../styles/globals.css";
2 | import AuthProvider from "../context/useAuth";
3 | import { Toaster } from "react-hot-toast";
4 |
5 | function MyApp({ Component, pageProps: { session, ...pageProps } }) {
6 | return (
7 |
8 |
9 |
10 |
11 | );
12 | }
13 |
14 | export default MyApp;
15 |
--------------------------------------------------------------------------------
/Fronted Projects/animated_counter_app/components/Input.jsx:
--------------------------------------------------------------------------------
1 | import React from "react";
2 |
3 | const Input = ({ onChange, inputRef, value }) => {
4 | return (
5 |
13 | );
14 | };
15 |
16 | export default Input;
17 |
--------------------------------------------------------------------------------
/Fronted Projects/instagram-clone-nextjs/styles/globals.css:
--------------------------------------------------------------------------------
1 | @tailwind base;
2 | @tailwind components;
3 | @tailwind utilities;
4 |
5 | @layer components {
6 | .navBtn {
7 | @apply hidden h-6 md:inline-flex
8 | cursor-pointer hover:scale-125
9 | transition-all duration-150 ease-out
10 | }
11 |
12 | .btn {
13 | @apply h-7 hover:scale-125 transition-all duration-150 ease-out cursor-pointer
14 | }
15 | }
--------------------------------------------------------------------------------
/Full Stack Projects/todo-list/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "todo-list",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "author": "",
10 | "license": "ISC",
11 | "dependencies": {
12 | "body-parser": "^1.20.0",
13 | "ejs": "^3.1.8",
14 | "express": "^4.18.1",
15 | "nodemon": "^2.0.16"
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/Fronted Projects/instagram-clone-nextjs/components/Story.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 |
3 | const Story = ({ username, img }) => {
4 | return (
5 |
6 |
11 |
{username}
12 |
13 | );
14 | };
15 |
16 | export default Story;
17 |
--------------------------------------------------------------------------------
/Fronted Projects/instagram-clone-nextjs/pages/index.js:
--------------------------------------------------------------------------------
1 | import Head from "next/head";
2 | import Feed from "../components/Feed";
3 | import Header from "../components/Header";
4 | import Modal from "../components/Modal";
5 |
6 | const Home = () => {
7 | return (
8 |
9 |
10 |
Instagram Clone
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 | );
19 | };
20 |
21 | export default Home;
22 |
--------------------------------------------------------------------------------
/Fronted Projects/animated_counter_app/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "animated_counter_app",
3 | "private": true,
4 | "version": "0.0.0",
5 | "type": "module",
6 | "scripts": {
7 | "dev": "vite",
8 | "build": "vite build",
9 | "preview": "vite preview"
10 | },
11 | "dependencies": {
12 | "react": "^18.2.0",
13 | "react-dom": "^18.2.0"
14 | },
15 | "devDependencies": {
16 | "@types/react": "^18.0.17",
17 | "@types/react-dom": "^18.0.6",
18 | "@vitejs/plugin-react": "^2.1.0",
19 | "autoprefixer": "^10.4.12",
20 | "postcss": "^8.4.31",
21 | "tailwindcss": "^3.2.0",
22 | "vite": "^3.2.7"
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/Fronted Projects/static_pages-main/countdown-timer/README.md:
--------------------------------------------------------------------------------
1 | # Countdown timer
2 |
3 | This is a COUNTDOWN TIMER project built using HTML, CSS and JS
4 |
5 | ## Instructions to operate the timer
6 |
7 | - Choose the values for HOURS, MINUTES and SECONDS from the range sliders
8 | - After choosing the desired values, either press the `Space` key or the play button on the UI to start the timer
9 | - To pause the timer, press `P` or use the pause button. To resume the timer, follow the previous step
10 | - To Stop the timer, press `X` or use the stop button.
11 |
12 | **Note:** First bring focus to the range slider then use the left or right arrow keys to choose values with finesse.
13 |
14 |
15 |
--------------------------------------------------------------------------------
/Fronted Projects/instagram-clone-nextjs/components/Feed.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import MiniProfile from "./MiniProfile";
3 | import Posts from "./Posts";
4 | import Stories from "./Stories";
5 | import Suggestions from "./Suggestions";
6 |
7 | const Feed = () => {
8 | return (
9 |
10 |
14 |
20 |
21 | );
22 | };
23 |
24 | export default Feed;
25 |
--------------------------------------------------------------------------------
/Android Projects/README.md:
--------------------------------------------------------------------------------
1 |
2 |
Hacktober-2022
3 | 🚀 This repository is for collecting all Android projects !
4 |
5 |
6 |
7 |
8 |
9 | [](https://github.com/kaal-coder/HacktoberFest-For-All)
10 | [](https://github.com/kaal-coder/HacktoberFest-For-All022)
11 | [](https://github.com/kaal-coder/HacktoberFest-For-All)
12 | [](https://github.com/kaal-coder/HacktoberFest-For-All)
13 |
14 |
--------------------------------------------------------------------------------
/Blogs/README.md:
--------------------------------------------------------------------------------
1 |
2 |
Hacktober-2022
3 | 🚀 This repository is for collecting your self made Technical Blogs !
4 |
5 |
6 |
7 |
8 |
9 | [](https://github.com/kaal-coder/HacktoberFest-For-All)
10 | [](https://github.com/kaal-coder/HacktoberFest-For-All022)
11 | [](https://github.com/kaal-coder/HacktoberFest-For-All)
12 | [](https://github.com/kaal-coder/HacktoberFest-For-All)
13 |
14 |
--------------------------------------------------------------------------------
/Fronted Projects/README.md:
--------------------------------------------------------------------------------
1 |
2 |
Hacktober-2022
3 | 🚀 This repository is for collecting all frontend projects !
4 |
5 |
6 |
7 |
8 |
9 | [](https://github.com/kaal-coder/HacktoberFest-For-All)
10 | [](https://github.com/kaal-coder/HacktoberFest-For-All022)
11 | [](https://github.com/kaal-coder/HacktoberFest-For-All)
12 | [](https://github.com/kaal-coder/HacktoberFest-For-All)
13 |
14 |
--------------------------------------------------------------------------------
/Full Stack Projects/README.md:
--------------------------------------------------------------------------------
1 |
2 |
Hacktober-2022
3 | 🚀 This repository is for collecting all full stack projects !
4 |
5 |
6 |
7 |
8 |
9 | [](https://github.com/kaal-coder/HacktoberFest-For-All)
10 | [](https://github.com/kaal-coder/HacktoberFest-For-All022)
11 | [](https://github.com/kaal-coder/HacktoberFest-For-All)
12 | [](https://github.com/kaal-coder/HacktoberFest-For-All)
13 |
14 |
--------------------------------------------------------------------------------
/ML Project/README.md:
--------------------------------------------------------------------------------
1 |
2 |
Hacktober-2022
3 | 🚀 This repository is for collecting all Machine Learning projects !
4 |
5 |
6 |
7 |
8 |
9 | [](https://github.com/kaal-coder/HacktoberFest-For-All)
10 | [](https://github.com/kaal-coder/HacktoberFest-For-All022)
11 | [](https://github.com/kaal-coder/HacktoberFest-For-All)
12 | [](https://github.com/kaal-coder/HacktoberFest-For-All)
13 |
14 |
--------------------------------------------------------------------------------
/Posters Videos/README.md:
--------------------------------------------------------------------------------
1 |
2 |
Hacktober-2022
3 | 🚀 This repository is for collecting all your self made posters/videos !
4 |
5 |
6 |
7 |
8 |
9 | [](https://github.com/kaal-coder/HacktoberFest-For-All)
10 | [](https://github.com/kaal-coder/HacktoberFest-For-All022)
11 | [](https://github.com/kaal-coder/HacktoberFest-For-All)
12 | [](https://github.com/kaal-coder/HacktoberFest-For-All)
13 |
14 |
--------------------------------------------------------------------------------
/UI- UX Projects Design/README.md:
--------------------------------------------------------------------------------
1 |
2 |
Hacktober-2022
3 | 🚀 This repository is for collecting all UI/UX projects/designs!
4 |
5 |
6 |
7 |
8 |
9 | [](https://github.com/kaal-coder/HacktoberFest-For-All)
10 | [](https://github.com/kaal-coder/HacktoberFest-For-All022)
11 | [](https://github.com/kaal-coder/HacktoberFest-For-All)
12 | [](https://github.com/kaal-coder/HacktoberFest-For-All)
13 |
14 |
--------------------------------------------------------------------------------
/Coding/bubblesortmethod.cpp:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | using namespace std;
5 |
6 | int main()
7 | {
8 | vector numbers(5);
9 |
10 | // ask the user to enter 5 values
11 | for (int i = 0; i < 5; i++) {
12 | cout << endl << "Enter value #" << i + 1 << ": ";
13 | cin >> numbers[i];
14 | }
15 |
16 | // sort them
17 | bool swapped;
18 | do {
19 | swapped = false;
20 | for (int i = 0; i < 4; i++) {
21 | if (numbers[i] > numbers[i + 1]) {
22 | swapped = true;
23 | int aux = numbers[i];
24 | numbers[i] = numbers[i + 1];
25 | numbers[i + 1] = aux;
26 | }
27 | }
28 | } while (swapped);
29 |
30 | // print results
31 | cout << endl << "Sorted vector: " << endl;
32 | for (int i = 0; i < 5; i++)
33 | cout << numbers[i] << " ";
34 | cout << endl;
35 | }
--------------------------------------------------------------------------------
/Fronted Projects/instagram-clone-nextjs/firebase.js:
--------------------------------------------------------------------------------
1 | import { initializeApp, getApp, getApps } from "firebase/app";
2 | import { getFirestore } from "firebase/firestore";
3 | import { getAuth } from "firebase/auth";
4 | import { getStorage } from "firebase/storage";
5 |
6 | const firebaseConfig = {
7 | apiKey: process.env.NEXT_PUBLIC_FIREBASE_APIKEY,
8 | authDomain: process.env.NEXT_PUBLIC_FIREBASE_AUTHDOMAIN,
9 | projectId: process.env.NEXT_PUBLIC_FIREBASE_PROJECTID,
10 | storageBucket: process.env.NEXT_PUBLIC_FIREBASE_STORAGEBUCKET,
11 | messagingSenderId: process.env.NEXT_PUBLIC_FIREBASE_MESSAGINGSENDERID,
12 | appId: process.env.NEXT_PUBLIC_FIREBASE_APPID,
13 | };
14 |
15 | const app = !getApps().length ? initializeApp(firebaseConfig) : getApp();
16 | const db = getFirestore();
17 | const auth = getAuth();
18 | const storage = getStorage();
19 |
20 | export { db, auth, storage };
21 |
--------------------------------------------------------------------------------
/Coding/mergeKArrays.cpp:
--------------------------------------------------------------------------------
1 |
2 | #include
3 | using namespace std;
4 | #define N 4
5 |
6 | void printArray(int arr[], int size)
7 | {
8 | for (int i = 0; i < size; i++)
9 | cout << arr[i] << " ";
10 | }
11 |
12 |
13 | void mergeKArrays(int arr[][N], int a, int output[])
14 | {
15 | int c = 0;
16 |
17 | for (int i = 0; i < a; i++) {
18 | for (int j = 0; j < N; j++)
19 | output = arr[i][j];
20 | }
21 |
22 | sort(output, output + N * a);
23 | }
24 |
25 | // Driver's code
26 | int main()
27 | {
28 | int arr[][N] = { { 2, 6, 12, 34 },
29 | { 1, 9, 20, 1000 },
30 | { 23, 34, 90, 2000 } };
31 | int K = sizeof(arr) / sizeof(arr[0]);
32 |
33 | int output[N * K];
34 |
35 | mergeKArrays(arr, 3, output);
36 |
37 | cout << "Merged array is " << endl;
38 | printArray(output, N * K);
39 |
40 | return 0;
41 | }
--------------------------------------------------------------------------------
/Full Stack Projects/Record-Manager/modify.html.bak:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Modifying Page
8 |
15 |
16 |
17 |
18 |
29 |
30 |
--------------------------------------------------------------------------------
/Fronted Projects/instagram-clone-nextjs/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "private": true,
3 | "scripts": {
4 | "dev": "next dev",
5 | "build": "next build",
6 | "start": "next start"
7 | },
8 | "dependencies": {
9 | "@faker-js/faker": "v6",
10 | "@headlessui/react": "^1.6.6",
11 | "@heroicons/react": "^1.0.6",
12 | "@tailwindcss/forms": "^0.5.2",
13 | "firebase": "^9.9.1",
14 | "moment": "^2.29.4",
15 | "next": "latest",
16 | "react": "18.1.0",
17 | "react-dom": "18.1.0",
18 | "react-hot-toast": "^2.3.0",
19 | "react-moment": "^1.1.2",
20 | "tailwind-scrollbar": "^1.3.1",
21 | "tailwind-scrollbar-hide": "^1.1.7"
22 | },
23 | "devDependencies": {
24 | "@types/node": "17.0.35",
25 | "@types/react": "18.0.9",
26 | "@types/react-dom": "18.0.5",
27 | "autoprefixer": "^10.4.7",
28 | "postcss": "^8.4.31",
29 | "tailwindcss": "^3.1.2",
30 | "typescript": "4.7.2"
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/Fronted Projects/animated_counter_app/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Animated Counter App using React
8 |
12 |
13 |
14 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/Full Stack Projects/todo-list/views/list.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | Document
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | <%= listTitle %>
18 |
19 |
20 |
21 |
22 |
23 | <%for(var j=0; j < newListItem.length ;j++){%>
24 |
25 |
26 |
<%= newListItem[j] %>
27 |
28 | <%}%>
29 |
30 |
35 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/Fronted Projects/instagram-clone-nextjs/public/vercel.svg:
--------------------------------------------------------------------------------
1 |
3 |
4 |
--------------------------------------------------------------------------------
/Fronted Projects/instagram-clone-nextjs/components/Stories.js:
--------------------------------------------------------------------------------
1 | import { faker } from "@faker-js/faker";
2 | import { useState } from "react";
3 | import { useEffect } from "react";
4 | import { useAuth } from "../context/useAuth";
5 | import Story from "./Story";
6 |
7 | const Stories = () => {
8 | const [suggestions, setSuggestions] = useState([]);
9 | const { user } = useAuth();
10 | useEffect(() => {
11 | const suggestion = [...Array(10)].map((_, i) => ({
12 | ...faker.helpers.contextualCard(),
13 | id: i,
14 | }));
15 | setSuggestions(suggestion);
16 | }, []);
17 |
18 | return (
19 |
20 | {user ? (
21 | suggestions.map((profile) => (
22 |
27 | ))
28 | ) : (
29 |
Log in to see the stories
30 | )}
31 |
32 | );
33 | };
34 |
35 | export default Stories;
36 |
--------------------------------------------------------------------------------
/Fronted Projects/instagram-clone-nextjs/components/MiniProfile.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 |
3 | import { useAuth } from "../context/useAuth";
4 |
5 | const MiniProfile = () => {
6 | const { user, onSignin, onSignout } = useAuth();
7 |
8 | return (
9 |
10 |
18 |
19 |
{user.displayName || ""}
20 | Welcome to Instagram
21 |
22 |
28 | {user ? "Sign Out" : "Sign In"}
29 |
30 |
31 | );
32 | };
33 |
34 | export default MiniProfile;
35 |
--------------------------------------------------------------------------------
/Full Stack Projects/todo-list/app.js:
--------------------------------------------------------------------------------
1 | const express = require('express');
2 | const app = express();
3 | const bodyParser = require('body-parser');
4 | var i = 0;
5 | var newItem = [];
6 | var workItem = [];
7 |
8 | app.use(bodyParser.urlencoded({ extended: true }));
9 | app.use(express.static('public'));
10 | app.set('view engine', "ejs");
11 |
12 | app.get('/', (req, res) => {
13 | var today = new Date();
14 | var options = {
15 | weekday: "long",
16 | day: "numeric",
17 | month: "long"
18 | };
19 | var day = today.toLocaleDateString('en-US', options);
20 |
21 | res.render('list', { listTitle: day, newListItem: newItem, i: i });
22 | });
23 |
24 | app.post("/", function (req, res) {
25 |
26 | let Item = req.body.item;
27 | if (req.body.list === "Work") {
28 | workItem.push(Item);
29 | res.redirect('/work');
30 | } else {
31 |
32 | newItem.push(Item);
33 | res.redirect("/");
34 | }
35 | });
36 |
37 | app.get('/work', function (req, res) {
38 |
39 | res.render('list', { listTitle: "Work Item", newListItem: workItem });
40 |
41 | });
42 |
43 |
44 |
45 | app.listen(3000, () => {
46 | console.log('Example app listening on port port!');
47 | });
48 |
49 |
--------------------------------------------------------------------------------
/Fronted Projects/instagram-clone-nextjs/README.md:
--------------------------------------------------------------------------------
1 | # Instagram Clone
2 |
3 | **To View the Original Github:** https://github.com/chanakyha/instagram-clone-nextjs
4 | **To View the Website:** https://instagram-clone-nextjs-chanakyha.vercel.app/
5 |
6 | ## Technologies
7 |
8 | The Website is Build with [`Next.Js`](https://nextjs.org/) [`Tailwind CSS`](https://tailwindcss.com/) [`Firebase`](https://firebase.google.com/)
9 |
10 | Deployed using [`Vercel`](https://www.vercel.com/)
11 |
12 | > **Note:** You have to add your Firebase Project Configurations to the .env or replace the config JSON Object in the Firebase.js file
13 |
14 | ## Development
15 |
16 | ```
17 | yarn install
18 | yarn run dev
19 | ```
20 |
21 | ## Contributors
22 |
23 | [](#contributors-)
24 |
25 |
26 |
27 |
33 |
34 | ## License
35 |
36 | This project uses [Standard]() license.
37 |
--------------------------------------------------------------------------------
/Fronted Projects/instagram-clone-nextjs/components/Posts.js:
--------------------------------------------------------------------------------
1 | import { collection, onSnapshot, orderBy, query } from "firebase/firestore";
2 | import React, { useState } from "react";
3 | import { db } from "../firebase";
4 | import Post from "./Post";
5 |
6 | const Posts = () => {
7 | const [posts, setPosts] = useState([]);
8 |
9 | useState(() => {
10 | const unsub = onSnapshot(
11 | query(collection(db, "post"), orderBy("timestamp", "desc")),
12 | (snapshot) => {
13 | const posts = snapshot.docs.map((doc) => ({
14 | id: doc.id,
15 | ...doc.data(),
16 | }));
17 | setPosts(posts);
18 | }
19 | );
20 |
21 | return unsub;
22 | }, []);
23 | return (
24 |
25 | {posts.length > 0 ? (
26 | posts.map((post) => {
27 | return (
28 |
36 | );
37 | })
38 | ) : (
39 |
40 | No Post Available
41 |
42 | )}
43 |
44 | );
45 | };
46 |
47 | export default Posts;
48 |
--------------------------------------------------------------------------------
/Fronted Projects/animated_counter_app/public/vite.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Fronted Projects/instagram-clone-nextjs/components/Suggestions.js:
--------------------------------------------------------------------------------
1 | import React, { useState, useEffect } from "react";
2 | import { faker } from "@faker-js/faker";
3 |
4 | const Suggestions = () => {
5 | const [suggestions, setSuggestions] = useState([]);
6 |
7 | useEffect(() => {
8 | const suggestions = [...Array(5)].map((_, i) => ({
9 | ...faker.helpers.contextualCard(),
10 | id: i,
11 | }));
12 | setSuggestions(suggestions);
13 | }, []);
14 |
15 | return (
16 |
17 |
18 |
Suggestions for you
19 | See All
20 |
21 | {suggestions.map((profile) => (
22 |
26 |
31 |
32 |
{profile.username}
33 |
34 | Works at {profile.company.name}
35 |
36 |
37 |
Follow
38 |
39 | ))}
40 |
41 | );
42 | };
43 |
44 | export default Suggestions;
45 |
--------------------------------------------------------------------------------
/Fronted Projects/static_pages-main/Space tourism/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Document
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
27 |
28 |
29 |
30 |
SO, YOU WANT TO TRAVEL TO
31 |
SPACE
32 |
Let's face it: if you want to go space. you might as well go to outer space and not hover kind of on the edge of it. Well sit back and relax because we'll give you a truely of this world experience!
33 |
34 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/Fronted Projects/instagram-clone-nextjs/context/useAuth.js:
--------------------------------------------------------------------------------
1 | import React, { useContext } from "react";
2 | import { useEffect } from "react";
3 | import { createContext } from "react";
4 | import {
5 | GoogleAuthProvider,
6 | onAuthStateChanged,
7 | signInWithPopup,
8 | signOut,
9 | } from "firebase/auth";
10 | import { auth } from "../firebase";
11 | import { useState } from "react";
12 | import toast from "react-hot-toast";
13 |
14 | const AuthContext = createContext({});
15 |
16 | const AuthProvider = ({ children }) => {
17 | const [user, setUser] = useState([]);
18 | const googleProvider = new GoogleAuthProvider();
19 | const modal = useState(false);
20 |
21 | useEffect(() => {
22 | onAuthStateChanged(auth, (user) => {
23 | if (user) {
24 | setUser(user);
25 | } else {
26 | setUser(false);
27 | }
28 | });
29 | }, []);
30 |
31 | const onSignin = () => {
32 | signInWithPopup(auth, googleProvider)
33 | .then(() => {
34 | toast.success("Logged in Successfully");
35 | })
36 | .catch(console.warn);
37 | };
38 |
39 | const onSignout = () => {
40 | signOut(auth)
41 | .then(() => {
42 | toast.success("Logged out successfully");
43 | })
44 | .catch(() => {
45 | toast.error("Error logging out");
46 | });
47 | };
48 |
49 | return (
50 |
51 | {children}
52 |
53 | );
54 | };
55 |
56 | export default AuthProvider;
57 |
58 | export function useAuth() {
59 | return useContext(AuthContext);
60 | }
61 |
--------------------------------------------------------------------------------
/Fronted Projects/static_pages-main/Contact page/style.css:
--------------------------------------------------------------------------------
1 | * {
2 | font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
3 | }
4 | body{
5 | background-image: url('wallhaven-zm3emy.jpg');
6 | background-repeat: no-repeat;
7 | background-size:cover;
8 | }
9 | .container {
10 | margin: 0% 10%;
11 | height: 500px;
12 | padding-top: 100px;
13 | }
14 |
15 | .flexy {
16 | display: flex;
17 | justify-content: center;
18 | align-items: center;
19 | flex-wrap: wrap;
20 | }
21 |
22 |
23 | .box1 {
24 | width: 50%;
25 | }
26 |
27 | .box1 img {
28 | position: relative;
29 | overflow: hidden;
30 | width: 100%;
31 | height: auto;
32 | border-radius: 15% 0% 15%;
33 | }
34 |
35 | .smargin {
36 | margin-right: 50px;
37 | }
38 |
39 | .box2 {
40 | margin: 0 0 40px 40px;
41 | }
42 |
43 | .form-group {
44 | margin-bottom: 7%;
45 | }
46 |
47 | h4,
48 | h1 {
49 | font-weight: 600;
50 | }
51 |
52 | h4,
53 | p {
54 | margin: 0;
55 | }
56 |
57 | a {
58 | padding: 5px;
59 | }
60 |
61 | p {
62 | margin-bottom: 25px;
63 | }
64 |
65 | h4 {
66 | margin-bottom: 5px;
67 | }
68 |
69 | input {
70 | height: 20px;
71 | border: none;
72 | border-bottom: 1px solid black;
73 | transition-duration: 0.3s;
74 | }
75 |
76 | input:focus {
77 | border-bottom: 3px solid red;
78 | background-color: bisque;
79 | }
80 |
81 | h1 {
82 | color: firebrick;
83 | }
84 |
85 | button {
86 | color: aliceblue;
87 | height: 30px;
88 | width: 110px;
89 | background-color: firebrick;
90 | margin-left: 20%;
91 | border: none;
92 | border-radius: 20px;
93 | }
94 |
95 | .contacts a i {
96 | font-size: large;
97 | color: blue;
98 | }
--------------------------------------------------------------------------------
/Fronted Projects/static_pages-main/Space tourism/style.css:
--------------------------------------------------------------------------------
1 | body {
2 | padding: 50px;
3 | background-image: url('background-home-desktop.jpg');
4 | background-size: cover;
5 | background-attachment: fixed;
6 | }
7 |
8 | .logo{
9 | width: 5vw;
10 | border-radius: 50%;
11 | }
12 | .navline {
13 | position: relative;
14 | border: solid grey;
15 | border-width: 3px 0px 0px 0;
16 | width: 51%;
17 | top: -90px;
18 | left: -190px;
19 | margin-bottom: 15%;
20 | }
21 |
22 | .nav {
23 | backdrop-filter: blur(10px);
24 | height: 50px;
25 | width: 450px;
26 | position: relative;
27 | left: 60%;
28 | top: -40px;
29 | text-align: center;
30 | padding-top: 5vh;
31 | }
32 |
33 | .nav a {
34 | margin-left: 40px;
35 | text-decoration: none;
36 | color: whitesmoke;
37 | }
38 |
39 | h1,
40 | h3 {
41 | font-family: 'Roboto Slab', serif;
42 | word-spacing: 5;
43 | }
44 |
45 | h3,
46 | p {
47 | font-weight: 500;
48 | margin-bottom: 0px;
49 | }
50 |
51 | p {
52 | font-family: monospace;
53 | font-size: 13.5px;
54 | line-height: 2;
55 | }
56 |
57 | .content {
58 | margin-left: 9rem;
59 | color: whitesmoke;
60 | float: left;
61 | width: 25vw;
62 | }
63 |
64 | .explorebtn {
65 | width: 250px;
66 | height: 250px;
67 | border-radius: 50%;
68 | margin-right: 15rem;
69 | font-size: xx-large;
70 | float: right;
71 | display: flex;
72 | align-items: center;
73 | justify-content: center;
74 | background-color: white;
75 | }
76 |
77 | .explorebtn a {
78 | text-decoration: none;
79 | color: grey;
80 | font-family: 'Roboto Slab', serif;
81 | }
82 |
83 | .explorebtn:hover{
84 | box-shadow: 0 0 1000px rgba(0, 0, 0,1);
85 | }
86 |
--------------------------------------------------------------------------------
/Full Stack Projects/todo-list/public/css/styles.css:
--------------------------------------------------------------------------------
1 | html {
2 | background-color: #E4E9FD;
3 | background-image: -webkit-linear-gradient(65deg, #A683E3 50%, #E4E9FD 50%);
4 | min-height: 1000px;
5 | font-family: 'helvetica neue';
6 | }
7 |
8 | h1 {
9 | color: #fff;
10 | padding: 10px;
11 | }
12 |
13 | .box {
14 | max-width: 400px;
15 | margin: 50px auto;
16 | background: white;
17 | border-radius: 5px;
18 | box-shadow: 5px 5px 15px -5px rgba(0, 0, 0, 0.3);
19 | }
20 |
21 | #heading {
22 | background-color: #A683E3;
23 | text-align: center;
24 | }
25 |
26 | .item {
27 | min-height: 70px;
28 | display: flex;
29 | align-items: center;
30 | border-bottom: 1px solid #F1F1F1;
31 | }
32 |
33 | .item:last-child {
34 | border-bottom: 0;
35 | }
36 |
37 | input:checked+p {
38 | text-decoration: line-through;
39 | text-decoration-color: #A683E3;
40 | }
41 |
42 | input[type="checkbox"] {
43 | margin: 20px;
44 | }
45 |
46 | p {
47 | margin: 0;
48 | padding: 20px;
49 | font-size: 20px;
50 | font-weight: 200;
51 | color: #00204a;
52 | }
53 |
54 | form {
55 | text-align: center;
56 | margin-left: 20px;
57 | }
58 |
59 | button {
60 | min-height: 50px;
61 | width: 50px;
62 | border-radius: 50%;
63 | border-color: transparent;
64 | background-color: #A683E3;
65 | color: #fff;
66 | font-size: 30px;
67 | padding-bottom: 6px;
68 | border-width: 0;
69 | }
70 |
71 | input[type="text"] {
72 | text-align: center;
73 | height: 60px;
74 | top: 10px;
75 | border: none;
76 | background: transparent;
77 | font-size: 20px;
78 | font-weight: 200;
79 | width: 313px;
80 | }
81 |
82 | input[type="text"]:focus {
83 | outline: none;
84 | box-shadow: inset 0 -3px 0 0 #A683E3;
85 | }
86 |
87 | ::placeholder {
88 | color: grey;
89 | opacity: 1;
90 | }
91 |
92 | footer {
93 | color: white;
94 | color: rgba(0, 0, 0, 0.5);
95 | text-align: center;
96 | }
97 |
--------------------------------------------------------------------------------
/ML Project/Spam_email_classification.py:
--------------------------------------------------------------------------------
1 | import nltk
2 | import random
3 | from nltk.corpus import stopwords
4 | from nltk.tokenize import word_tokenize
5 | from sklearn.feature_extraction.text import CountVectorizer
6 | from sklearn.model_selection import train_test_split
7 | from sklearn.naive_bayes import MultinomialNB
8 | from sklearn.metrics import accuracy_score, classification_report
9 |
10 | # Download NLTK's stop words
11 | nltk.download('stopwords')
12 | nltk.download('punkt')
13 |
14 | # Load the email dataset (you can replace this with your own dataset)
15 | # In this example, we'll create a small dataset with spam and non-spam emails.
16 | spam_data = [
17 | ("Buy cheap luxury watches now!", "spam"),
18 | ("Hi, how about lunch later?", "non-spam"),
19 | ("Congratulations, you've won a prize!", "spam"),
20 | ("Meeting for coffee tomorrow?", "non-spam"),
21 | ]
22 |
23 | # Shuffle the data for randomness
24 | random.shuffle(spam_data)
25 |
26 | # Extract features and labels
27 | emails, labels = zip(*spam_data)
28 |
29 | # Preprocess the text data
30 | stop_words = set(stopwords.words('english'))
31 | vectorizer = CountVectorizer(stop_words='english')
32 | X = vectorizer.fit_transform(emails)
33 | y = [1 if label == "spam" else 0 for label in labels]
34 |
35 | # Split the data into training and testing sets
36 | X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42)
37 |
38 | # Train a Naive Bayes classifier
39 | classifier = MultinomialNB()
40 | classifier.fit(X_train, y_train)
41 |
42 | # Make predictions
43 | y_pred = classifier.predict(X_test)
44 |
45 | # Calculate accuracy and print the classification report
46 | accuracy = accuracy_score(y_test, y_pred)
47 |
48 | # Specify labels explicitly
49 | report = classification_report(y_test, y_pred, labels=[0, 1], target_names=["non-spam", "spam"])
50 |
51 | print(f"Accuracy: {accuracy}")
52 | print(report)
53 |
54 | text="meeting at 5pm"
55 | k=[]
56 | k.append(text)
57 | k_vector = vectorizer.transform(k)
58 |
59 | if(classifier.predict(k_vector)==1):
60 | print("Spam")
61 | else:
62 | print("not spam")
--------------------------------------------------------------------------------
/Fronted Projects/static_pages-main/countdown-timer/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | Countdown Timer
12 |
13 |
14 |
15 |
16 |
17 |
18 | 00H : 00M : 00S
21 |
22 |
23 |
24 |
29 |
30 |
44 |
45 |
46 |
47 | Your browser does not support audio playback
48 |
49 |
50 |
51 |
52 |
53 |
--------------------------------------------------------------------------------
/Full Stack Projects/Record-Manager/delete.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Delete Page
9 |
65 |
66 |
67 |
68 |
81 |
82 |
83 |
--------------------------------------------------------------------------------
/Full Stack Projects/Record-Manager/delete.html.bak:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Delete Page
9 |
65 |
66 |
67 |
68 |
81 |
82 |
83 |
--------------------------------------------------------------------------------
/Full Stack Projects/Record-Manager/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Login Page
9 |
66 |
67 |
68 |
69 |
82 |
83 |
84 |
--------------------------------------------------------------------------------
/Full Stack Projects/Record-Manager/index.html.bak:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Login Page
9 |
66 |
67 |
68 |
69 |
82 |
83 |
84 |
--------------------------------------------------------------------------------
/Fronted Projects/animated_counter_app/src/App.jsx:
--------------------------------------------------------------------------------
1 | import { useState, useRef } from "react";
2 | import Input from "../components/Input";
3 |
4 | export default function Home() {
5 | const inputRef = useRef();
6 | const [counter, setCounter] = useState({
7 | curValue: 0,
8 | prevValue: 0,
9 | nextValue: 0,
10 | });
11 |
12 | const changeValue = ({ newValue }) => {
13 | setCounter({ curValue: newValue !== 100 ? newValue : 99 });
14 | };
15 |
16 | const handleValueChange = (newValue, isField) => {
17 | newValue = parseInt(newValue, 10);
18 |
19 | if (!isField) {
20 | inputRef.current.style.transform =
21 | newValue > counter.curValue ? "translateY(-100%)" : "translateY(100%)";
22 | inputRef.current.style.opacity = 0;
23 |
24 | setTimeout(() => {
25 | inputRef.current.style.transitionDuration = "0s";
26 | inputRef.current.style.transform =
27 | newValue > counter.curValue
28 | ? "translateY(100%)"
29 | : "translateY(-100%)";
30 | inputRef.current.style.opacity = 0;
31 | changeValue({ curValue: counter.curValue, newValue });
32 |
33 | setTimeout(() => {
34 | inputRef.current.style.transitionDuration = "0.3s";
35 | inputRef.current.style.transform = "translateY(0)";
36 | inputRef.current.style.opacity = 1;
37 | }, 50);
38 | }, 50);
39 | } else {
40 | changeValue({ curValue: counter.curValue, newValue });
41 | }
42 | };
43 |
44 | const onChange = (e) => {
45 | e.preventDefault();
46 | handleValueChange(e.target.value, true);
47 | };
48 |
49 | return (
50 |
51 |
52 |
{
55 | handleValueChange(counter.curValue - 1, false);
56 | }}
57 | title="-1"
58 | >
59 |
60 |
61 |
62 |
67 |
68 |
{
71 | handleValueChange(counter.curValue + 1);
72 | }}
73 | title="+1"
74 | >
75 | {" "}
76 |
77 |
78 |
79 | );
80 | }
81 |
--------------------------------------------------------------------------------
/Full Stack Projects/Record-Manager/modify.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Modifying Page
9 |
73 |
74 |
75 |
76 |
77 |