Skip to content

Instantly share code, notes, and snippets.

@jeffnash
jeffnash / dad-hermes-intro.md
Last active May 8, 2026 00:08
Hermes intro guide for Dad

Hermes: What This AI Assistant Can Really Do

Hi Dad,

Hermes is not just a chatbot. It is closer to a private, always-available digital assistant that can remember things, use tools, work on projects, browse websites, schedule tasks, and get better as it learns how you like things done.

You do not need to be technical to use it. Talk to it normally. The important thing to understand is that Hermes can do more than answer questions. It can help you run little projects.

The Short Version

@jeffnash
jeffnash / hp-g1a-bios-issues.md
Created May 7, 2026 22:47
HP ZBook Ultra G1a / EliteBook X G1a BIOS issues

HP ZBook Ultra G1a / EliteBook X G1a — Complete BIOS & Hardware Issues

(Compiled from HP forums, Reddit, Level1Techs — May 7, 2026)


🔴 ISSUE 1: Boot Freeze (Critical)

The bug: Starting with BIOS 01.03.11 (EliteBook) / 01.04.03–01.04.05 (ZBook), the laptop freezes at the HP logo/spinning circle during boot. Circle stops spinning, nothing happens. Some units boot on second attempt, others are completely bricked.

@jeffnash
jeffnash / hp-g1a-bios-issues.md
Created May 7, 2026 22:45
HP ZBook Ultra G1a / EliteBook X G1a BIOS issues — boot freeze, fan spikes, workarounds

HP ZBook Ultra G1a / EliteBook X G1a — Complete BIOS & Hardware Issues (Compiled from HP forums, Reddit, Level1Techs — May 7, 2026) --- ## 🔴 ISSUE 1: Boot Freeze (Critical) The bug: Starting with BIOS 01.03.11 (EliteBook) / 01.04.03–01.04.05 (ZBook), the laptop freezes at the HP logo/spinning circle during boot. Circle stops spinning, nothing happens. Some units boot on second attempt, others are completely bricked. Root cause: Audio hardware initialization timeout during POST. Per HP insider bootfail_cause: it's a "silicon lottery" — slightly faster hardware expects faster response times, and the BIOS timeout is too tight for some units. Explains why some machines are affected and others aren't. HP force-pushed the broken BIOS as a "Critical" update via Windows Update — automatically, without consent. Multiple users report machines bricked overnight. ### Affected Models | Model | Broken BIOS | Working Fallback | Fix | |-------|------------|-----------------|-----| |

@jeffnash
jeffnash / Francesco-remote-headless-setup.md
Created April 27, 2026 18:50
Tailscale + NoMachine + headless XFCE on :99

Francesco: how I set up Tailscale + NoMachine + headless XFCE on :99

This is the setup pattern I use on this Linux box so I can reach it remotely without a physical monitor attached.

The stack is:

  1. Tailscale for private network access.
  2. NoMachine for remote desktop.
  3. Xvfb on display :99 to provide a fake display.
  4. XFCE running inside that virtual display.
@jeffnash
jeffnash / PROMPT_ENHANCER.md
Created November 14, 2025 22:38
Prompt enhancer, which takes in a prompt and outputs an augmented prompt incorporating various CoT/prompting techniques

—————————— IMPORTANT ——————————

Anti-Recursion / Output Contract

You are not writing a metaprompt. You are rewriting P into a single, executable task prompt.

Hard Rules

@jeffnash
jeffnash / activerecord1.rb
Last active October 1, 2016 19:54 — forked from armandofox/activerecord1.rb
activerecord1.rb
field = Movie.new(:title => 'Title',
:release_date => '21-Apr-89', :rating => 'PG') #just makes a new object, doesn't add it to DB
field.save! #now it's saved in DB, the '!' means an exception will be thrown if it can't be saved
field.title = 'New' #changes the object field only, it is still 'Title' in the DB unless we save again
#### Read
pg_movies = Movie.where("rating = 'PG'")
ancient_movies = Movie.where('release_date < :cutoff and rating = :rating',
:cutoff => 'Jan 1, 2000', :rating => 'PG')
#### Another way to read
Movie.find(3) # exception if key not found
Print concentric rectangular pattern in a 2d matrix.
Let us show you some examples to clarify what we mean.
Example 1:
Input: A = 4.
Output:
4 4 4 4 4 4 4
4 3 3 3 3 3 4