Skip to content

Instantly share code, notes, and snippets.

@peteristhegreat
peteristhegreat / certificates-ssl-tls.md
Created June 4, 2026 18:34
Certificates, SSL, TLS

Certificates

Verisign, Digicert, someone says that this site is legit. You get a little lock icon and now your bank or shopping cart interaction is more secure.

Installing Certificates

Self-Signing v using a Certificate Authority and a root certificate and a chain...

If I say my computer is sending what it is sending and that it is legit, but you don't trust me, then who can you trust? Why not a big corporation? And you pay the corporation to say you are who you say you are, and you are done, right?

@peteristhegreat
peteristhegreat / analytics-web-error-boundaries.md
Created June 4, 2026 18:09
Analytics for Websites, Error Boundaries

Analytics for Websites

I have dug into this topic a few different times over the years.

https://en.wikipedia.org/wiki/StatCounter

Initially I went with StatCounter. I liked how it could show visitor paths and the map of where people were coming from. I also liked seeing the size of the screens they were viewing from and what browsers they were using. The free tier has the last 500 or 2000 interactions.

I set it up on a bunch of Wordpress sites and other places.

@peteristhegreat
peteristhegreat / super-glue-small-surface.md
Created April 21, 2026 01:28
Super Glue on tiny small plastic parts with small surface area overlap

Super Glue on tiny small plastic parts with small surface area overlap

Cyanoacralate, CA Glue, Super glue, Loctite.

Any of these can hold most kinds of material together if there is enough surface area.

What do you do if you have a tiny plastic part that you just snapped in half?

A cheap smart watch had a clasp part made of nylon or abs plastic that snapped. How did I fix it?

@peteristhegreat
peteristhegreat / silicone-removal.md
Created April 21, 2026 01:20
Removing a Bead of Silicone Caulk from a Urathane Countertop

Clean up Sticky/Uncured Silicone

Wipe up as much as you can with a disposable paper towel or toilet paper.

Isopropol alchohol should do it, or acetone or goo-gone, will get the last bit of sticky silicone off the surface.

Clean up Cured/Hardened Silicone

TLDR: LEGO scraping, and Goo-Gone

@peteristhegreat
peteristhegreat / mesh-to-height-map-to-texture-stamp.md
Last active April 9, 2026 12:35
3d Mesh to Height Map to Texture Stamp, Souvenir Coin, Stencil

Task Statement

Given one or more 3d models, like a stl of a building or a stl of a statue or a bust or a landscape, etc Turn it into a recognizable shape on a coin that can be 3d printed.

Steps broken down

  1. Get the meshes into blender
  2. Orient the angles so that you have them the way they should look in an orthographic projection from the z axis
  3. Move the camera to point downwards at the subject
@peteristhegreat
peteristhegreat / no-argument-conversation-enders.md
Created April 6, 2026 17:31
No Argument Conversation Enders

How to End an Argument Without Starting One

The False Concession

Sounds like agreement. Isn't.

  • "You're right."
  • "I'm sure you'd know more about that than me."
  • "That's one way to look at it."
  • "If that's what you need to believe."
  • "I'll take your word for it."
@peteristhegreat
peteristhegreat / bed-frame-cad-double-t.pdf
Last active April 15, 2026 03:08
Steel Bedframe, 1 1/4" Square tubing, Welding
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@peteristhegreat
peteristhegreat / bankers-rounding.md
Created March 23, 2026 01:42
Banker's Rounding v. Rounding I was taught in School
@peteristhegreat
peteristhegreat / desk-heat-lamps.md
Created March 17, 2026 18:33
Lizard Lamps, for your hands! Heated Desk Mats? Envavo Heat Buff?

A few years ago I was in a cold (somewhat drafty) office with poor heating options.

A space heater helped. Wearing a jacket and a beanie helped. But typing with gloves on wasn't in the cards.

So I looked around and saw ads for the Envavo Heat Buff, but I couldn't find a way to buy one.

I ended up looking towards heat lamps, what are used for repiles and so forth and found a combo that worked for my setup.

Finding something like this: