Skip to content

Instantly share code, notes, and snippets.

View jacoblyles's full-sized avatar

Jacob jacoblyles

  • Feeling Good
  • Lancaster, PA
View GitHub Profile
<!DOCTYPE html>
<html lang="en" data-theme="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cheetah Center Data Sync &mdash; Design Document</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css">
<script type="module">
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs';
mermaid.initialize({ startOnLoad: true, theme: 'dark', securityLevel: 'loose' });
@jacoblyles
jacoblyles / missing-bowl-events-equipment-analysis.md
Created February 9, 2026 17:52
Missing Bowl Events: Equipment Regression Analysis

Missing Bowl Events: Equipment Regression Analysis

Summary

We analyzed the relationship between center equipment configuration and the rate of missing bowl events across 155 centers over the last month. Scoring hardware generation is the dominant predictor of missing bowl events, explaining ~92% of the variance. Centers running legacy (pre-BES X) scoring hardware experience missing event rates of 25-72%, while centers on current-generation BES X hardware consistently show rates below 1%.

Methodology

  • Dependent variable: Percent of completed games with missing bowl events per center (logit-transformed to handle the bounded 0-100% range)
  • Independent variables: Conqueror version (bucketed), scoring hardware, pinsetter manufacturer/model
@jacoblyles
jacoblyles / rescue-agent-spec.html
Created February 7, 2026 19:26
OpenClaw Rescue Agent - RFC Spec Page #pagedrop
<!DOCTYPE html>
<html lang="en" data-theme="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>OpenClaw Rescue Agent - Intelligent Self-Healing for Your AI Assistant</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css">
<script type="module">
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs';
mermaid.initialize({ startOnLoad: true, theme: 'dark', securityLevel: 'loose' });
@jacoblyles
jacoblyles / podscript-architecture.html
Created February 4, 2026 13:54
Podscript.tv System Architecture
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Podscript.tv System Architecture</title>
<style>
:root {
--bg: #0d1117;
--surface: #161b22;
@jacoblyles
jacoblyles / case.scala
Created April 11, 2017 18:05
Case Class Puzzle
case class A(
id: Int,
a: String,
b: String,
c: String,
d: String,
e: String)
case class Update(
a: Option[String],

Keybase proof

I hereby claim:

  • I am jacoblyles on github.
  • I am jacoblyles (https://keybase.io/jacoblyles) on keybase.
  • I have a public key whose fingerprint is 0591 8298 06AD 8C4B 1168 5656 2144 D7A3 841C 6F90

To claim this, I am signing this object:

Installing Electrum on an air-gapped Ubuntu Machine

This guide shows how to install Electrum on an air-gapped machine. You will also need an Ubuntu machine connected to the network in order to complete this guide (it can be a virtual machine).

On the online machine

If you are running Ubuntu 16.04 off of a live USB, there is a bug that affects the package manager. You need to run these two commands at the terminal to fix it:

$ sudo mv /var/cache/app-info/xapian/default /var/cache/app-info/xapian/default_old

71OUKK$VH33.J1Y/K8Q8T3-F8X59N/YIO*LXY.7320F/5.KN$EG47LC*I1VP$S7FS2+.KAJR5:8$-MDQTMHA54/QT3R$JVX/WRDLONP/*TJLGIHRB.KNSGZWVUW9TOSOE6G1::..-NLQNJD-R1GNJ.HA7A1M.6CS:-60X9LR9XHHB6B1KLTX4T/EZN3$ZWW+J10-Z9QU-N9HHU$EV865ED$3JD$ZUJ6IA2Z:.WXKXTCK2:BMZFW3F+QI.GS54BN3*Q1T*3C1ESF0QA:ZOX1RLG/I/I1GPL:FPLRKAKH:KO4*U0YAK16-CGI-Z7A3EQAJ8Q484VA05FE7JO$-U.HBFWNFSFD8EGPJR*QV3YJD5SHA3BLWM+FR0*FS7M89S115/PU7:6-XW:EPL4/+7N2RFM/**Z6J*/--97OD2QWSLUE7G5F42ATP0SAV52U1GV+WZAJX$T0R:49QIDYJUKOXWX.$UUTR5596EOVK88E$ALJ-/MEML4883J5572D1-LRSXTRYL:X39U8QQ0XII09I5M3:13$U+B7V3S1+YUQM3:G+A/IH9+$.CHEOGE-3NX:OZ+H1D*N3IFC9+/ZT*S/O45QLRC
@jacoblyles
jacoblyles / new_github_pr.css
Created February 3, 2014 21:53
Make github pull request view usable
span.css-truncate-target {
overflow: visible;
max-width: none;
}
.discussion-timeline {
width: auto;
}
@jacoblyles
jacoblyles / flatten.scala
Last active January 3, 2016 13:19
This flattens a scala playframework JsObject. The result will not contain any JsObjects as values
def flattenJsObject(obj: JsObject): JsObject = {
val newObj = obj.fields.map {
case (name, value) =>
value match {
case o: JsObject =>
Some((name, o))
case _ => None
}
}.flatMap(o => o).foldLeft(obj) {
case (prev, next) =>