Now in Public Beta

Unleash your code with CodeDrop

Share code snippets securely and efficiently. Set expiration times for automatic deletion, ensuring your code stays private and controlled.

Share code snippets instantly
Secure, encrypted sharing
Set custom expiration times
CodeDrop Interface

📋 Create a New Paste

📚 Recent Pastes

df teruayju

⏳ 336d

vgt juksryt vkhxfsagvtasdvmdf7i8zvysdmntfv7i8SETfcjnhsaTC I*Usaenmdfsa.ecfskjhfdjmsafdnseaidfyasUKJdsuatdgsamnciASTmfawsgdcZSJydcfsaghsadcasuj

👁️ View

https://www.tutorialspoint.com/hadoop/hadoop_online_test.htm

⏳ 330d

https://www.tutorialspoint.com/hadoop/hadoop_online_test.htm

👁️ View

Ayush

⏳ 330d

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Ayush Gaharwal - Creative Developer & UI/UX Enthusiast</title> <link rel="stylesheet" href="styles.css"> <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"> </head> <body> <!-- Navigation --> <nav class="navbar"> <div class="nav-container"> <div class="nav-logo"> <span class="logo-text">AG</span> </div> <ul class="nav-menu"> <li class="nav-item"><a href="#home" class="nav-link">Home</a></li> <li class="nav-item"><a href="#about" class="nav-link">About</a></li> <li class="nav-item"><a href="#skills" class="nav-link">Skills</a></li> <li class="nav-item"><a href="#projects" class="nav-link">Projects</a></li> <li class="nav-item"><a href="#contact" class="nav-link">Contact</a></li> </ul> <div class="hamburger"> <span class="bar"></span> <span class="bar"></span> <span class="bar"></span> </div> </div> </nav> <!-- Hero Section --> <section id="home" class="hero"> <div class="hero-background"> <div class="floating-shapes"> <div class="shape shape-1"></div> <div class="shape shape-2"></div> <div class="shape shape-3"></div> <div class="shape shape-4"></div> </div> </div> <div class="hero-content"> <div class="hero-text"> <h1 class="hero-title"> <span class="greeting">Hi, I'm</span> <span class="name">Ayush Gaharwal</span> </h1> <div class="hero-subtitle"> <span class="typing-text">Creative Developer & UI/UX Enthusiast</span> </div> <p class="hero-description"> Crafting digital experiences that blend creativity with functionality. I transform ideas into stunning, interactive web solutions. </p> <div class="hero-buttons"> <a href="#projects" class="btn btn-primary">View My Work</a> <a href="#contact" class="btn btn-secondary">Get In Touch</a> </div> </div> <div class="hero-visual"> <div class="avatar-container"> <div class="avatar-glow"></div> <div class="avatar-placeholder"> <i class="fas fa-user-circle"></i> </div> </div> </div> </div> <div class="scroll-indicator"> <div class="scroll-line"></div> <span class="scroll-text">Scroll</span> </div> </section> <!-- About Section --> <section id="about" class="about"> <div class="container"> <div class="section-header"> <h2 class="section-title">About Me</h2> <div class="section-line"></div> </div> <div class="about-content"> <div class="about-text"> <p class="about-description"> I'm a passionate creative developer with a keen eye for design and a love for creating seamless user experiences. With expertise in modern web technologies, I bridge the gap between design and development to bring innovative ideas to life. </p> <p class="about-description"> When I'm not coding, you'll find me exploring new design trends, experimenting with emerging technologies, or working on personal projects that push the boundaries of what's possible on the web. </p> <div class="about-stats"> <div class="stat-item"> <span class="stat-number" data-target="50">0</span> <span class="stat-label">Projects Completed</span> </div> <div class="stat-item"> <span class="stat-number" data-target="3">0</span> <span class="stat-label">Years Experience</span> </div> <div class="stat-item"> <span class="stat-number" data-target="25">0</span> <span class="stat-label">Happy Clients</span> </div> </div> </div> </div> </div> </section> <!-- Skills Section --> <section id="skills" class="skills"> <div class="container"> <div class="section-header"> <h2 class="section-title">Skills & Tech Stack</h2> <div class="section-line"></div> </div> <div class="skills-grid"> <div class="skill-category"> <h3 class="category-title">Frontend</h3> <div class="skill-items"> <div class="skill-item"> <i class="fab fa-html5"></i> <span>HTML5</span> </div> <div class="skill-item"> <i class="fab fa-css3-alt"></i> <span>CSS3</span> </div> <div class="skill-item"> <i class="fab fa-js-square"></i> <span>JavaScript</span> </div> <div class="skill-item"> <i class="fab fa-react"></i> <span>React</span> </div> <div class="skill-item"> <i class="fab fa-vue"></i> <span>Vue.js</span> </div> </div> </div> <div class="skill-category"> <h3 class="category-title">Design</h3> <div class="skill-items"> <div class="skill-item"> <i class="fab fa-figma"></i> <span>Figma</span> </div> <div class="skill-item"> <i class="fas fa-paint-brush"></i> <span>Adobe XD</span> </div> <div class="skill-item"> <i class="fas fa-palette"></i> <span>UI/UX Design</span> </div> <div class="skill-item"> <i class="fas fa-mobile-alt"></i> <span>Responsive Design</span> </div> </div> </div> <div class="skill-category"> <h3 class="category-title">Backend</h3> <div class="skill-items"> <div class="skill-item"> <i class="fab fa-node-js"></i> <span>Node.js</span> </div> <div class="skill-item"> <i class="fab fa-python"></i> <span>Python</span> </div> <div class="skill-item"> <i class="fas fa-database"></i> <span>MongoDB</span> </div> <div class="skill-item"> <i class="fas fa-server"></i> <span>Express.js</span> </div> </div> </div> </div> </div> </section> <!-- Projects Section --> <section id="projects" class="projects"> <div class="container"> <div class="section-header"> <h2 class="section-title">Featured Projects</h2> <div class="section-line"></div> </div> <div class="projects-grid"> <div class="project-card"> <div class="project-image"> <div class="project-overlay"> <div class="project-links"> <a href="#" class="project-link"><i class="fas fa-external-link-alt"></i></a> <a href="#" class="project-link"><i class="fab fa-github"></i></a> </div> </div> <div class="project-placeholder"> <i class="fas fa-laptop-code"></i> </div> </div> <div class="project-content"> <h3 class="project-title">E-Commerce Platform</h3> <p class="project-description"> A modern e-commerce solution with React, Node.js, and Stripe integration. Features include user authentication, shopping cart, and payment processing. </p> <div class="project-tech"> <span class="tech-tag">React</span> <span class="tech-tag">Node.js</span> <span class="tech-tag">MongoDB</span> </div> </div> </div> <div class="project-card"> <div class="project-image"> <div class="project-overlay"> <div class="project-links"> <a href="#" class="project-link"><i class="fas fa-external-link-alt"></i></a> <a href="#" class="project-link"><i class="fab fa-github"></i></a> </div> </div> <div class="project-placeholder"> <i class="fas fa-mobile-alt"></i> </div> </div> <div class="project-content"> <h3 class="project-title">Task Management App</h3> <p class="project-description"> A collaborative task management application with real-time updates, drag-and-drop functionality, and team collaboration features. </p> <div class="project-tech"> <span class="tech-tag">Vue.js</span> <span class="tech-tag">Socket.io</span> <span class="tech-tag">Express</span> </div> </div> </div> <div class="project-card"> <div class="project-image"> <div class="project-overlay"> <div class="project-links"> <a href="#" class="project-link"><i class="fas fa-external-link-alt"></i></a> <a href="#" class="project-link"><i class="fab fa-github"></i></a> </div> </div> <div class="project-placeholder"> <i class="fas fa-chart-bar"></i> </div> </div> <div class="project-content"> <h3 class="project-title">Analytics Dashboard</h3> <p class="project-description"> A comprehensive analytics dashboard with interactive charts, real-time data visualization, and customizable reporting features. </p> <div class="project-tech"> <span class="tech-tag">D3.js</span> <span class="tech-tag">Python</span> <span class="tech-tag">PostgreSQL</span> </div> </div> </div> </div> </div> </section> <!-- Contact Section --> <section id="contact" class="contact"> <div class="container"> <div class="section-header"> <h2 class="section-title">Let's Work Together</h2> <div class="section-line"></div> </div> <div class="contact-content"> <div class="contact-info"> <h3 class="contact-subtitle">Get In Touch</h3> <p class="contact-description"> Have a project in mind? Let's discuss how we can bring your ideas to life. I'm always excited to work on new challenges and create amazing experiences. </p> <div class="contact-details"> <div class="contact-item"> <i class="fas fa-envelope"></i> <span>ayush@example.com</span> </div> <div class="contact-item"> <i class="fas fa-phone"></i> <span>+1 (555) 123-4567</span> </div> <div class="contact-item"> <i class="fas fa-map-marker-alt"></i> <span>New York, NY</span> </div> </div> <div class="social-links"> <a href="#" class="social-link"><i class="fab fa-github"></i></a> <a href="#" class="social-link"><i class="fab fa-linkedin"></i></a> <a href="#" class="social-link"><i class="fab fa-twitter"></i></a> <a href="#" class="social-link"><i class="fab fa-instagram"></i></a> </div> </div> <form class="contact-form" id="contactForm"> <div class="form-group"> <input type="text" id="name" name="name" placeholder="Your Name" required> </div> <div class="form-group"> <input type="email" id="email" name="email" placeholder="Your Email" required> </div> <div class="form-group"> <input type="text" id="subject" name="subject" placeholder="Subject" required> </div> <div class="form-group"> <textarea id="message" name="message" placeholder="Your Message" rows="6" required></textarea> </div> <button type="submit" class="btn btn-primary submit-btn"> <span class="btn-text">Send Message</span> <div class="btn-loader"></div> </button> </form> </div> </div> </section> <!-- Footer --> <footer class="footer"> <div class="container"> <div class="footer-content"> <p class="footer-text"> © 2025 Ayush Gaharwal. All rights reserved. </p> <p class="footer-text"> Crafted with <i class="fas fa-heart"></i> and lots of coffee </p> </div> </div> </footer> <!-- Scripts --> <script src="https://cdnjs.cloudflare.com/ajax/libs/emailjs-com/3.2.0/email.min.js"></script> <script src="script.js"></script> </body> </html>

👁️ View

Code

⏳ 144d

%{ #include <stdio.h> #include <string.h> int commentCount = 0; int keywordCount = 0; int identifierCount = 0; int wordCount = 0; int lineCount = 0; int spaceCount = 0; // List of keywords to compare against char *keywords[] = {"int", "float", "return", "if", "else", "for", "while", "do", "void", "char", "double"}; int keywordTotal = 11; int isKeyword(char *str) { for (int i = 0; i < keywordTotal; i++) { if (strcmp(str, keywords[i]) == 0) return 1; } return 0; } %} %% // Comments "//".* { commentCount++; } "/*"([^*]|\*+[^*/])*\*+"/" { commentCount++; } // Keywords and Identifiers [a-zA-Z_][a-zA-Z0-9_]* { wordCount++; if (isKeyword(yytext)) keywordCount++; else identifierCount++; } // Spaces [ \t]+ { spaceCount++; } // New lines \n { lineCount++; } // Ignore numbers and symbols . ; %% int main(int argc, char *argv[]) { if (argc < 2) { printf("Usage: %s <input_file>\n", argv[0]); return 1; } FILE *fp = fopen(argv[1], "r"); if (!fp) { perror("File opening failed"); return 1; } yyin = fp; yylex(); fclose(fp); printf("Comments : %d\n", commentCount); printf("Keywords : %d\n", keywordCount); printf("Identifiers : %d\n", identifierCount); printf("Words : %d\n", wordCount); printf("Lines : %d\n", lineCount); printf("Spaces : %d\n", spaceCount); return 0; } int yywrap() { return 1; }

👁️ View

Contributors