Thanks to visit codestin.com
Credit goes to gist.github.com

Skip to content

Instantly share code, notes, and snippets.

View Cuppixx's full-sized avatar
💭
Debugging is the dev version of "Where's Waldo?" but with errors. I hate Waldo..

Cuppixx Cuppixx

💭
Debugging is the dev version of "Where's Waldo?" but with errors. I hate Waldo..
View GitHub Profile
@Cuppixx
Cuppixx / index.html
Last active November 11, 2025 11:11
Simple HTML wrapper to embed and display a PDF file in a GitHub Pages site.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pdf</title>
<style>
html, body {margin: 0; padding: 0; height: 100%;}
iframe {width: 100%; height: 100vh; border: none;
}
@Cuppixx
Cuppixx / metrics-age.yml
Last active November 8, 2025 15:31
Full template and setup at: https://github.com/Cuppixx/Cuppixx
name: Metrics Age
on:
schedule:
- cron: "0 0 1 1 *" # Every January 1st at midnight
workflow_dispatch:
permissions:
contents: write
:: LICENSE: MIT
::
:: Description:
:: A batch script to sort files in a specified folder into subfolders based on their extensions
:: and optionally clean up empty folders.
::
:: Usage:
:: 1. Modify the folder - (set "folder=D:\sorting_text") - variable to specify the folder path where files should be sorted.
:: 2. Run the script by double-clicking or executing it in a command prompt.
:: LICENSE: MIT
::
:: Description:
:: This script recursively renames image files (.png, .jpg, .jpeg) in the specified folder and its subfolders to a sequential naming convention,
:: using a provided base name and a 3-digit numbering system (e.g. base_name_000.png, base_name_001.jpg, etc.).
::
:: It allows the user to:
:: - [C]ontinue: Proceed with files in the current folder.
:: - [S]kip: Skip files in the current folder and move to the next folder.