Skip to content

Instantly share code, notes, and snippets.

View garyblankenship's full-sized avatar
🎩
I may be slow to respond.

Gary Blankenship garyblankenship

🎩
I may be slow to respond.
View GitHub Profile

How To Install PocketBase on Digital Ocean

Prerequisites

  • A Digital Ocean account with an Ubuntu droplet (even the smallest $4 option works)
  • Basic knowledge of using the command line and SSH
  • A domain or subdomain (optional, for accessible URL with SSL)

Steps

  1. Spin up a Digital Ocean droplet
  • Select a standard Ubuntu droplet; any size works for testing
@garyblankenship
garyblankenship / pocketbase-deploy.md
Created March 25, 2025 16:51
How To Install PocketBase on Digital Ocean

How To Install PocketBase on Digital Ocean

Prerequisites

  • A Digital Ocean account with an Ubuntu droplet (even the smallest $4 option works)
  • Basic knowledge of using the command line and SSH
  • A domain or subdomain (optional, for accessible URL with SSL)

Steps

  1. Spin up a Digital Ocean droplet
  • Select a standard Ubuntu droplet; any size works for testing
@garyblankenship
garyblankenship / claudemac.md
Created March 24, 2025 03:29
Claude Desktop for M2 user

10,000 years is a very short time on an evolutionary timescale. Significant morphological (physical form) changes usually take much longer. However, even in this short period, we can see evidence of evolutionary changes, particularly in humans and in species strongly influenced by human activity. Crucially, a lot of what looks like rapid evolution in this timeframe is actually adaptation within existing genetic variation or changes driven by artificial selection (selective breeding by humans).

Here's a breakdown of evolutionary changes (and related phenomena) over the past 10,000 years:

1. Human Evolution:

  • Lactase Persistence: This is the classic example. Most mammals lose the ability to digest lactose (the sugar in milk) after weaning. However, in several human populations with a history of dairying (e.g., Northern Europeans, some African and Middle Eastern groups), a mutation for lactase persistence (the continued production of the lactase enzyme into adulthood) spread rapidly. T

Understanding Aider: Models and Modes Simplified

Based on the discussion in the Discord chat, there seems to be confusion about how Aider's models and modes interact. Let me clarify the key points:

The Basics: Models vs. Modes

First, let's distinguish between two core concepts:

  • Models: The AI engines that do the work (o3-mini, claude-3-5-sonnet, etc.)
  • Modes: Different ways of interacting with Aider (/code, /architect, /ask, /help)
@garyblankenship
garyblankenship / aider-modes.md
Created March 18, 2025 00:28
Aider Models, and Modes

Understanding Aider: Models and Modes for Developers

Part 1: Aider Basics - Getting Started with Simple Setups

If you're new to Aider, the AI coding assistant, you can start with a straightforward setup that avoids confusion. The simplest way to use Aider is with a single model:

aider --model sonnet
@garyblankenship
garyblankenship / slice-of-time.md
Created March 16, 2025 19:05
Story Outline: Slices of Time

Timeframe Vision: Sci-Fi Concept Explorations

Core Concept

A protagonist who perceives reality in discrete "slices" of time rather than the illusory continuous flow that most humans experience. Unlike others whose brains create the illusion of continuity, they perceive the void-like nothingness between frames - the terrifying non-existence that comprises most of what we call "time." This perceptual difference, initially seen as a disadvantage, becomes the foundation for extraordinary discoveries about the nature of reality.

Potential Story Directions

"Void Observer"

A physicist with this condition discovers that the "gaps" between their perceptual slices contain absolute nothingness - not darkness, but complete non-existence. This terrifying revelation leads them to understand that reality itself is discontinuous, blinking in and out of existence like frames of film with vastly more non-existence than existence. They develop methods to extend their consciousness into these void-spaces, discover

@garyblankenship
garyblankenship / prism-llms-full.txt
Created March 16, 2025 15:57
laravel echolabs prism ai
# Prism - Laravel LLM Integration
Prism is a powerful Laravel package for integrating Large Language Models (LLMs) into your applications. It provides a unified interface to work with various AI providers, enabling you to focus on building innovative AI features without getting bogged down in provider-specific implementation details.
## Core Concepts
### Installation and Configuration
```php
// Installation
@garyblankenship
garyblankenship / prism-laravel-example.php
Created March 16, 2025 15:39
Usage with Laravel and Prism php
<?php
namespace App\Data;
final readonly class ProductGenerationData extends BaseData
{
public function __construct(
public string $title,
public string $description,
public array $features,
@garyblankenship
garyblankenship / prism-laravel.md
Created March 16, 2025 15:38
Usage with Laravel and Prism

Laravel Typesafe AI

Transform your Laravel application with typesafe AI integration

Build reliable AI-powered features that deliver consistent, predictable results. Our Laravel Typesafe AI pattern combines the power of modern Large Language Models with the safety and predictability of strongly-typed responses.

Elegant Implementation, Powerful Results

// Simple, fluent interface