Skip to content

Instantly share code, notes, and snippets.

@hdudic
hdudic / Percentage Calculator.md
Created January 22, 2026 23:11
Percentage Calculator (Quick Guide + Examples)

Percentage Calculator (Quick Guide + Examples)

Need to calculate percentage increase, decrease, or “X% of Y”? Use the free tool here:

👉 https://bytetools.io/percentage-calculator

Common Percentage Calculations

1) Percentage Increase

Formula: ((new - old) / old) * 100

@hdudic
hdudic / Cost Average Calculator.md
Created January 22, 2026 23:11
Cost Average Calculator (DCA Quick Guide)

Cost Average Calculator (DCA Quick Guide)

Calculate dollar-cost averaging in seconds:

👉 https://bytetools.io/cost-average-calculator

What Is Dollar-Cost Averaging?

Dollar-cost averaging (DCA) is an investing strategy where you buy a fixed dollar amount at regular intervals. This smooths out volatility and helps reduce the impact of market swings.

Quick Example

@hdudic
hdudic / ROI Calculator.md
Created January 22, 2026 23:10
ROI Calculator (Return on Investment)

ROI Calculator (Return on Investment)

Calculate ROI quickly for projects, marketing, or product launches:

👉 https://bytetools.io/roi-calculator

ROI Formula

ROI (%) = ((Net Profit) / Cost of Investment) * 100
@hdudic
hdudic / Payback Calculator.md
Last active January 22, 2026 23:08
Payback Calculator

Payback Calculator (Break-Even Analysis)

Calculate how long it takes to recoup an investment:

👉 https://bytetools.io/payback-calculator

Payback Period Formula

Payback Period = Initial Investment / Annual Cash Flow

Generate Secure Passphrases Using the Diceware Method

🎲 What is Diceware?

Diceware is a method for creating strong, memorable passphrases using ordinary dice and a word list. It was invented by Arnold Reinhold in 1995 and remains one of the most secure password generation methods.

Why Diceware?

  • 🔐 Cryptographically strong (true randomness from dice)
  • 🧠 Easy to remember (real words, not random characters)
  • ✅ Resistant to brute-force attacks

50 Regex Patterns Every Developer Should Know

A comprehensive collection of battle-tested regular expressions for common development tasks. Test any pattern instantly at ByteTools Regex Tester 🚀

📧 Email & Contact Validation

1. Email Address (RFC 5322 Simplified)

^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$

How to Decode JWT Tokens Securely (Without Sending to Servers)

🔐 The Security Problem with Online JWT Decoders

Most online JWT decoders send your token to their servers for processing. This is a critical security risk because JWT tokens often contain:

  • User authentication credentials
  • API access tokens
  • Sensitive user data (email, roles, permissions)
  • Session identifiers
@hdudic
hdudic / developer-tools-collection.md
Last active November 28, 2025 17:52
ByteTools — Privacy-First Developer Tools Collection

Privacy-First Developer Tools & AI Studio

A comprehensive collection of client-side developer tools and AI development utilities. All tools run 100% in your browser with zero data collection.

🛠️ ByteTools - Core Developer Tools

https://bytetools.io

Text & Data Processing:

  • JWT Decoder - Decode JSON Web Tokens offline (jwt.io alternative)