Skip to content

Instantly share code, notes, and snippets.

View R4wm's full-sized avatar
💝
tab tab tab...

r4wm R4wm

💝
tab tab tab...
View GitHub Profile
@R4wm
R4wm / IDP-SSO-FLOW.md
Last active April 23, 2026 23:32
IDP SSO Login Flow — ASCII flowchart + process outline (Play / Parler Social)

IDP SSO Login Flow — Play / Parler Social

                                    SESSION CHECK PATH (existing IDP session)
                                    =========================================

  MOBILE APP                        IDP SERVICE                         WEB CALLBACK BRIDGE              GO BACKEND
  (play-phoenix-mobile)             (parler-identity-service)           (playtv-vue-ui /                 (go-social-api)
                                                                         social-vue-ui)
  +---------------------------+
@R4wm
R4wm / IDP-SSO-FLOW.dot
Last active April 17, 2026 16:35
IDP SSO Login Flow — Play / Parler Social (tokens, payloads, cookies at each step)
digraph IDP_SSO_Flow {
rankdir=TB;
fontname="Helvetica";
node [fontname="Helvetica", fontsize=11, shape=box, style="rounded,filled", fillcolor="#f5f5f5"];
edge [fontname="Helvetica", fontsize=9];
label="IDP SSO Login Flow — Play / Parler Social\n(Tokens, Payloads, Cookies at Each Step)";
labelloc=t;
fontsize=16;
// ─── Actors ───
@R4wm
R4wm / IDP-SSO-RUNBOOK.md
Last active April 16, 2026 23:42
IDP SSO Runbook — architecture, gotchas, debugging, and deployment guide

Play IDP SSO — Complete Runbook

Last updated: 2026-04-16

Everything we learned getting IDP Single Sign-On working for Play across development and production. This document exists so no one has to rediscover these issues.


@R4wm
R4wm / vue-virtual-scroller-incident.md
Created March 11, 2026 23:05
Incident Report: vue-virtual-scroller silent upgrade breaks production feed (2026-03-11)

Incident Report: vue-virtual-scroller Silent Upgrade Breaks Production Feed

Date: 2026-03-11 Severity: High — core user interactions broken on production web app Time to Resolution: ~6 hours of investigation


Summary

@R4wm
R4wm / DBI Questions
Created March 10, 2026 23:22
DBI questions
questions
!> 300 && no more than 500 words
notes:
book by clarence larkin greatest book on D
mountain peaks of prophecymountain peaks of prophecy
bolinger: how to study bible
@R4wm
R4wm / event-prioritization-analysis.md
Last active February 2, 2026 18:44
Data Lake Phase 1 - Event Prioritization Analysis (TVM-1698)

Data Lake Phase 1 - Event Prioritization Analysis

Epic: TVM-1698 Date: 2026-02-02 Author: Raymond Mintz


Executive Summary

@R4wm
R4wm / clickup-cli-setup-guide.md
Last active February 2, 2026 22:16
ClickUp CLI Setup Guide (Ubuntu)

ClickUp CLI Setup Guide (Ubuntu)

Complete guide for setting up and using the ClickUp CLI on Ubuntu Linux.

Prerequisites

  • Node.js and npm installed
  • ClickUp account with API access
  • jq installed for JSON processing: sudo apt install jq
@R4wm
R4wm / analytics-pipeline-status.md
Created February 2, 2026 16:12
Analytics Pipeline Status Summary - 2026-01-30

Analytics Pipeline Status Summary - 2026-01-30

IMMEDIATE ISSUE - RESOLVED ✅

Problem: ClickHouse consumer stuck since 1/27, massive lag preventing event ingestion

Root Cause: 4 bad test messages blocking consumer across all 3 Kafka partitions:

  • Partition 0, Offset 58: {"test":"connection_test",...}
  • Partition 1, Offset 56: {"test":"direct_publish",...}
  • Partition 2, Offset 113: {"test":"message",...}
@R4wm
R4wm / CDP-Events-Endpoint-Guide.md
Last active January 28, 2026 23:27
CDP Events Endpoint - Client Integration Guide (TVM-1727)

CDP Events Endpoint - Client Integration Guide

Endpoint

Development:

POST https://playtv-api.forte.ws/v1/events

Production: (coming soon)

@R4wm
R4wm / 20260128_kafka_summary.md
Last active January 28, 2026 17:42
Kafka meeting summary 2026-01-28

Here’s a concise summary + work items focused on implementation‑relevant points from the Kafka meeting notes.

Summary (implementation‑relevant highlights)

  • The events endpoint currently requires auth, but there’s consensus that unauthenticated (guest) events are needed. This is a potential DDoS vector, so any unauthenticated mode needs rate‑limiting or an API key strategy.
  • Clients were hitting 500s on the events endpoint. Root cause likely in validation/headers. Once the correct request + headers were used, responses became sane (401 or validation errors). Accept header absence can trigger HTML response instead of JSON.
  • Logging quality is important for debugging bad payloads; logs should be useful in dev.
  • Feature flag is required on mobile/web so event sending can be toggled off by default, especially in production builds.
  • Batching events is expected; payloads should accept arrays and clients can send every 5–10 seconds.
  • Brand/tenant identification s