Recent Pastes

  • 24. SQL Injection Safe Paste Search ================================= -- PasteText Search Query (PREPARED STATEMENT)...

    👤 admin 👁️ 127 🕒 Feb 08, 2026
  • 23. Nginx Config - PasteText Optimized ===================================== server { listen 80; server_name p...

    👤 admin 👁️ 85 🕒 Feb 08, 2026
  • 22. Docker Compose for PasteText Stack ===================================== version: '3.8' services: pastetext:...

    👤 admin 👁️ 84 🕒 Feb 08, 2026
  • 21. React Hook Custom Counter (useReducer) ========================================= import { useReducer } from 'rea...

    👤 admin 👁️ 91 🕒 Feb 08, 2026
  • 10. ASCII Mario Game (HTML Canvas) ================================= const canvas = document.getElementById('mar...

    👤 admin 👁️ 88 🕒 Feb 08, 2026
  • 9. QuickSort Implementation (JS) =============================== function quickSort(arr) { if (arr.length

    👤 admin 👁️ 78 🕒 Feb 08, 2026
  • 8. Rate Limiter Middleware (PHP) =============================== function rateLimit($key, $maxRequests = 60, $window...

    👤 admin 👁️ 78 🕒 Feb 08, 2026
  • Cron Job - Auto Expire Pastes (Bash/PHP) =========================================== #!/bin/bash # /pastetext/cron/...

    👤 admin 👁️ 81 🕒 Feb 08, 2026
  • Base64 Image Encoder (JS Utility) =================================== function base64EncodeImage(file) { return n...

    👤 admin 👁️ 82 🕒 Feb 08, 2026
  • MySQL Paste Schema + Queries ============================== -- PasteText Database Schema CREATE TABLE pastes ( i...

    👤 admin 👁️ 82 🕒 Feb 08, 2026
  • Node.js Express Paste API =========================== const express = require('express'); const app = express(); a...

    👤 admin 👁️ 90 🕒 Feb 08, 2026
  • 3. CSS Glassmorphism Cards (Modern UI) ===================================== .card { background: rgba(255, 255, 2...

    👤 admin 👁️ 80 🕒 Feb 08, 2026
  • Smooth Image Lazy Loader (HTML/JS) ==================================== document.addEventListener('DOMContentL...

    👤 admin 👁️ 84 🕒 Feb 08, 2026
  • Infinite Scroll Loader (JS + IntersectionObserver) ==================================================== const loader...

    👤 admin 👁️ 81 🕒 Feb 08, 2026
  • Python Flask Paste API (Minimal) =============================== from flask import Flask, request, jsonify app = Fl...

    👤 admin 👁️ 83 🕒 Feb 08, 2026
  • Dark Mode CSS Toggle (System Prefers) ===================================== :root { --bg: #f5f6f8; --text: #333; } ...

    👤 admin 👁️ 84 🕒 Feb 08, 2026
  • UUID Generator v4 - JavaScript Utility ===================================== function uuid() { return 'xxxxxxxx-x...

    👤 admin 👁️ 75 🕒 Feb 08, 2026
  • Fast JSON API - Recent Pastes Endpoint =====================================

    👤 admin 👁️ 73 🕒 Feb 08, 2026
  • PHP Secure Login Handler (PasteText Ready) ========================================= Login

    👤 admin 👁️ 78 🕒 Feb 08, 2026
  • Responsive Navbar - HTML/CSS/JS Full Example =========================================== .navbar { display: ...

    👤 admin 👁️ 77 🕒 Feb 08, 2026
🛡️

Ad Blocker Detected

PasteBin.site is free to use thanks to our sponsors. Please consider disabling your ad blocker or whitelisting our site to support our servers.

Learn More