Skip to content

Instantly share code, notes, and snippets.

View lightstrike's full-sized avatar
🎯
Focusing

Geoffrey Sechter lightstrike

🎯
Focusing
View GitHub Profile
@lightstrike
lightstrike / README.md
Last active June 25, 2026 02:42
Spark Avatar Concepts

Spark Avatar Iterations - Perfect Alignment

Here are the 3 final variations. In these versions, the full-body illustrations have been generated specifically to perfectly match the accompanying headshot for a seamless transition between the square icon and the Lottie character!

Refinement 1 (Aligned)

Headshot Final 1 Fullbody Aligned 1

Refinement 2 (Aligned)

Headshot Final 2

@lightstrike
lightstrike / README.md
Last active June 27, 2026 01:07
worktree agents: git worktree launchers for Codex, Agent, Agy, and Pi

worktree agents

POSIX /bin/sh wrappers that create or reuse a git worktree, cd into it, and launch an AI coding CLI there — so parallel agent sessions stay isolated on separate branches without touching your main checkout.

Why

Running multiple coding agents in one repo gets messy fast: dirty trees, branch thrash, and agents stepping on each other. These scripts give each session its own worktree + branch under a predictable directory, then start the tool inside it.

Commands

@lightstrike
lightstrike / nvim-bootstrap.sh
Created April 22, 2026 01:40
Lightstrike nvim bootstrap — single script that installs Neovim + lazy.nvim + full plugin config (LSP, Treesitter, Telescope, Catppuccin, conform, etc.)
#!/usr/bin/env bash
set -euo pipefail
# Lightstrike nvim bootstrap
# Installs Neovim (if needed) and writes the full config to ~/.config/nvim.
# Idempotent — safe to re-run. Backs up any existing config first.
#
# Usage:
# curl -fsSL <gist-raw-url> | bash
# # or
@lightstrike
lightstrike / cleanup.sh
Created February 12, 2026 00:34
Reusable dev machine cleanup script - Docker/Supabase projects, package manager caches, runtime caches
#!/usr/bin/env bash
#
# cleanup.sh - Reclaim disk space from Docker, package managers, and caches
#
# DESCRIPTION
# A reusable script for reclaiming disk space across a multi-project dev
# environment. It handles:
#
# 1. Supabase project management - stop Supabase projects you're not actively
# working on to free their containers, images, and volumes. Only containers
@lightstrike
lightstrike / preview.js
Last active August 31, 2018 00:42
Example WordPress GatsbyJS Preview Page
import React, { Component } from "react";
import PropTypes from "prop-types";
import Helmet from "react-helmet";
class PreviewPage extends Component {
constructor() {
super();
this.state = {
post: {
title: {
@lightstrike
lightstrike / readable.py
Last active July 2, 2024 17:14
Readable.io API Python Wrapper
import hashlib
import time
import requests
class ReadableAPIClient:
"""
API Client for Readable.io, written for Python 3
See API documentation: https://readable.io/api/docs/
@lightstrike
lightstrike / admin.py
Created February 9, 2017 19:27
Custom User Admin
from django import forms
from django.contrib import admin
from django.utils.translation import ugettext as _
from django.contrib.auth.admin import UserAdmin
from django.contrib.auth.forms import ReadOnlyPasswordHashField
from .models import User
class UserCreationForm(forms.ModelForm):
@lightstrike
lightstrike / models.py
Created February 7, 2017 14:43
Abstract Base Django Model w/ DB Indexing
from django.db import models
from django.utils.translation import ugettext_lazy as _
from model_utils.fields import AutoCreatedField, AutoLastModifiedField
class IndexedTimeStampedModel(models.Model):
created = AutoCreatedField(_('created'), db_index=True)
modified = AutoLastModifiedField(_('modified'), db_index=True)
class Meta:
@lightstrike
lightstrike / ny.geojson
Created September 25, 2016 18:25
NY Neighborhoods from Zillow
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lightstrike
lightstrike / set_leanplum_user_attributes.py
Created September 10, 2016 01:04
Setting User Attributes in Leanplum using Web API
import csv
from sys import argv
import requests
def transform_user_file(filename: str) -> []:
user_file = open(filename, 'r')
user_data = csv.reader(user_file)
# skip first row