Skip to content

Instantly share code, notes, and snippets.

@rglover
rglover / README.md
Last active February 26, 2026 19:51
README

I steward production systems, taking long-term responsibility for software that businesses depend on.

In practice, that means I design it, deploy it, secure it, monitor it, back it up, and maintain it over time. When something breaks, I am accountable for fixing it. When risk accumulates, I reduce it.

I am not interested in shipping features for the sake of momentum. I am not interested in chasing trends or building tools designed to perform well on social media. I care about whether a system continues to operate cleanly five years from now under real load, with real money attached to it.

Most of my work is private because the work itself requires continuity and trust.

My focus is durability. I minimize unnecessary dependencies. I remove abstraction layers that add operational fragility. I document systems so that they can be understood and audited. I design infrastructure that can be restored from backup without drama. I treat security and key management as ongoing responsibilities, not checkboxes.

@rglover
rglover / generate_llm_txt.js
Created July 7, 2025 22:32
Takes markdown files in a given path, concatenates them into a single string, and outputs the file at the specified path
import fs from 'fs';
import path from 'path';
const generate_llm_txt = (dir_path, output_path = 'llm.txt') => {
const read_markdown_files = (dir) => {
let files_content = '';
const files = fs.readdirSync(dir);
files.forEach((file) => {
const file_path = path.join(dir, file);
@rglover
rglover / combobox.js
Created November 15, 2024 17:23
Mod Combobox Example
import fuzzysort from "fuzzysort";
class Combobox {
constructor(element, options = {}) {
this.container = element;
this.select = element.querySelector('.mod-combobox-select');
this.selectedText = this.select.querySelector('p');
this.dropdown = element.querySelector('.mod-combobox-dropdown');
this.input = this.dropdown.querySelector('.mod-input');
this.list = this.dropdown.querySelector('ul');
@rglover
rglover / parrot_http2.js
Created October 3, 2024 20:42
Parrot Example
const express = require('express');
const http2 = require('http2');
const fs = require('fs');
const app = express();
app.get('/', (req, res) => {
res.send('Hello, HTTP/2 World!');
});
@rglover
rglover / languages.json
Created October 25, 2021 19:35
List of languages by ISO code and name in JSON
[
{
"code": "af",
"name": "Afrikaans"
},
{
"code": "af-ZA",
"name": "Afrikaans (South Africa)"
},
{
@rglover
rglover / events.js
Created July 21, 2021 21:31
List of JavaScript DOM events
const events = [
"readystatechange",
"pointerlockchange",
"pointerlockerror",
"beforecopy",
"beforecut",
"beforepaste",
"freeze",
"resume",
"search",
@rglover
rglover / adverbs.js
Created June 16, 2021 19:23
Animals & Adverbs | How to Implement Real-Time Data with Websockets
export default [
"bold",
"brave",
"bright",
"cheerful",
"deft",
"devoted",
"eager",
"elegant",
"faithful",
@rglover
rglover / jsx-render.tsx
Created June 9, 2021 19:54 — forked from Dynalon/jsx-render.tsx
Sample JSX to HTMLElement renderer in TypeScript
// Tiny JSX renderer in TypeScript inspired by plain-jxs: https://github.com/callumlocke/plain-jsx
// Babel would allow you to specify the factory function as special inline comment:
/** @jsx JSXrender */
let JSXrender = (tagName: string, attributes?: { [key: string]: any }, ...children: Array<HTMLElement |  string>): HTMLElement => {
if (!tagName || typeof tagName !== 'string')
throw new Error("tagName has to be defined, non-empty string");
@rglover
rglover / countries.js
Created May 5, 2021 02:10
List of countries as JavaScript object array
export default [
{ code: "AF", name: "Afghanistan" },
{ code: "AX", name: "\u00c5land Islands" },
{ code: "AL", name: "Albania" },
{ code: "DZ", name: "Algeria" },
{ code: "AS", name: "American Samoa" },
{ code: "AD", name: "Andorra" },
{ code: "AO", name: "Angola" },
{ code: "AI", name: "Anguilla" },
{ code: "AQ", name: "Antarctica" },
@rglover
rglover / keybase.md
Created August 13, 2014 18:49
Keybase Verification

Keybase proof

I hereby claim:

  • I am rglover on github.
  • I am glover (https://keybase.io/glover) on keybase.
  • I have a public key whose fingerprint is C4A8 6E78 B3EB 4D1E CC27 9965 E66E 2D94 84A8 88AD

To claim this, I am signing this object: