19Nov/26

Unix Timestamp Converter

How to use it

  • Paste a Unix timestamp to see it as a date. Numbers with 12 or more digits are read as milliseconds, shorter ones as seconds.
  • Or pick a date and time to get the Unix timestamp in both seconds and milliseconds.
  • The current Unix time ticks at the top; Use now drops it into the box.

What is a Unix timestamp

It is the number of seconds since 1 January 1970 UTC, the “Unix epoch”. Logs, APIs, databases and JWTs all use it because it is a single number with no time zone to argue about. JavaScript and many APIs use milliseconds instead, which is the same idea times a thousand.

19Nov/26

Frug Avoids

How to play

  • On a keyboard: arrow keys to turn and thrust, space to bark, P to pause.
  • On a phone: use the on-screen buttons below the game.
  • Barking a big ball splits it into smaller, faster ones. Clear them all to move up a level.
  • You get three frugs. Lose them all and it is game over, but your best score is remembered on this device.

Who is Frugley?

Frugley is my dog: a Frug, which is a French bulldog and pug mix. In real life she mostly avoids the vacuum cleaner. In this game she avoids everything else too.

19Nov/26

RAID and NAS Capacity Calculator

How to use it

  1. Enter how many disks you have and the size of each one.
  2. Pick the RAID level, or Synology SHR if you run a Synology NAS.
  3. Read off the usable capacity, how much is lost to redundancy, and how many disks the array survives losing.

Which RAID level

  • RAID 0: all capacity, no redundancy. One failed disk loses everything. Fine for scratch data, not for anything you care about.
  • RAID 1: a straight mirror of two disks. Simple and safe, but you only keep half the space.
  • RAID 5: one disk of parity. Good balance for three or more disks, but a second failure during a rebuild loses the array.
  • RAID 6: two disks of parity. The safer choice for large disks, where rebuilds take a long time.
  • RAID 10: mirrored pairs that are then striped. Fast and resilient, but you lose half the space.
  • Synology SHR: Synology’s own layout. It behaves like RAID 5 (or RAID 6 with the two-disk option) but uses more of the space when your disks are different sizes.

Why the numbers look smaller than the label

Disk makers count a terabyte as 1,000,000,000,000 bytes, but most operating systems count in binary, where a tebibyte is 1,099,511,627,776 bytes. So a 4 TB disk shows as about 3.64 TiB before any RAID overhead. The calculator shows both.

19Nov/26

CVSS 3.1 Base Score Calculator

How to use it

  1. Set each of the eight base metrics to match the vulnerability you are scoring.
  2. Read the base score (0 to 10) and the severity band at the top.
  3. Copy the vector string into your ticket, risk register or advisory so anyone can see how the score was reached.

What the metrics mean

  • Attack Vector (AV): how close the attacker must be, from across the internet (Network) down to physical access.
  • Attack Complexity (AC): whether the attack works reliably (Low) or needs conditions outside the attacker’s control (High).
  • Privileges Required (PR): what access the attacker needs before they start.
  • User Interaction (UI): whether a victim has to do something, such as open a file.
  • Scope (S): whether the impact stays in the same security authority (Unchanged) or spreads beyond it (Changed).
  • Confidentiality, Integrity, Availability (C/I/A): how badly each is hit.

Severity bands

Score Rating
0.0 None
0.1 to 3.9 Low
4.0 to 6.9 Medium
7.0 to 8.9 High
9.0 to 10.0 Critical

FAQ

Is this the base score only?
Yes. CVSS 3.1 also has temporal and environmental metrics that adjust the base score for a specific situation. The base score is the one quoted in most advisories and the one scanners report.

19Nov/26

What Is My Public IP Address

How to use it

  1. Open the page. Your public IP appears at the top straight away.
  2. Copy it, or pick the kind of rule you need under Allowlist this address.
  3. Paste the rule into your config and reload the service.

Public IP or private IP

Your computer usually has a private address such as 192.168.1.20 or 10.0.0.5. That one only exists on your home or office network. When you reach the internet, your router swaps it for the public address your provider gave you. That public address is what servers, firewalls and logs see, so it is the one you allowlist.

19Nov/26

Password and htpasswd Generator

How to use it

  1. Choose a random password or a passphrase, and set the length or number of words.
  2. Check the strength meter, then copy the result.
  3. To protect a page with HTTP Basic Auth, type a username and select Make htpasswd line.

Random password or passphrase

A random password packs the most strength into the fewest characters, which suits a password manager that fills it in for you. A passphrase of real words is far easier to type or read aloud, and five words from the EFF list is strong enough for almost anything. Use a passphrase for things you type often, such as a disk password, and a long random string for everything your manager remembers.

19Nov/26

docker run to Compose Converter

How to use it

  1. Paste a full docker run command into the box.
  2. Copy the compose.yaml that appears.
  3. Save it as compose.yaml next to your project and bring the container up with docker compose up -d.

Why move to Compose

A docker run command lives in your shell history and is easy to lose. A Compose file is a record of exactly how the container is set up: the image, the ports, the volumes and the environment. You can keep it in Git, read it back in six months, and recreate the container with one command.

19Nov/26

Security Headers Generator and Checker

How to use it

  1. On Generate headers, pick your web server or proxy and what it’s serving.
  2. For a website, tick what it uses: AdSense, Google Analytics, Google Fonts or YouTube embeds. The policy changes to allow exactly those.
  3. Copy the config, follow the line under it to put it in place, and reload.
  4. Run curl -sSI https://your-site/ and paste the output into Check my headers to confirm they’re all there.

What each header does

Header What it stops
Strict-Transport-Security (HSTS) Browsers ever using plain HTTP for your site again, so nobody can quietly downgrade the connection
Content-Security-Policy Injected scripts running, by listing where scripts, styles and images may come from
X-Frame-Options Other sites loading yours in a hidden frame to trick clicks (clickjacking)
X-Content-Type-Options Browsers guessing that an uploaded file is a script
Referrer-Policy Full page addresses, which can include private links, leaking to other sites
Permissions-Policy Embedded content asking for the camera, microphone or location
Cross-Origin-Opener-Policy Pages you open reaching back into yours

X-XSS-Protection isn’t on the list. Modern browsers dropped the filter it controlled, and OWASP recommends leaving it out or setting it to 0.

19Nov/26

SSH Legacy Host Config Generator

How to use it

  1. Try to connect as normal, for example ssh admin@192.168.1.20, and copy the error. It usually looks like no matching host key type found. Their offer: ssh-rsa,ssh-dss.
  2. Paste it above with a short name for the device and its address.
  3. Copy the block into ~/.ssh/config (create the file if it doesn’t exist), then connect with ssh old-switch, using your short name.

Prefer not to touch your config? Use the one-off command instead. It applies the same options to that single connection.

19Nov/26

JWT Decoder

How to use it

Paste a token. The header and payload are decoded and pretty-printed, and the time claims are shown as dates so you can see at a glance whether the token has expired.

What the parts are

A JWT has three parts separated by dots: a header (the signing algorithm), a payload (the claims, such as who the user is and when the token expires), and a signature. The first two are just Base64url-encoded JSON, which is why they can be read without any key.