Skip to content
View charlesteh's full-sized avatar

Block or report charlesteh

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Cloudflare Workers AI baai/bge-small... Cloudflare Workers AI baai/bge-small deployment script
    1
    // Made by @charlestehio: https://x.com/charlestehio
    2
    // Usage: https://abc.workers.dev/?query=your%20embedding%20query
    3
    
                  
    4
    import { Ai } from './vendor/@cloudflare/ai.js';
    5
    
                  
  2. How to install pgvector in vanilla p... How to install pgvector in vanilla postgresql
    1
    sudo apt install postgresql-15-pgvector
    2
    sudo -u postgres psql
    3
    CREATE EXTENSION vector;
  3. Stripe amount to standard Currency +... Stripe amount to standard Currency + Amount and vice-versa
    1
    <?php
    2
    
                  
    3
    // This function converts a normal currency amount to a Stripe-compatible amount.
    4
    // To be used on creating Stripe Checkout Stations
    5
    // e.g. USD 10.00 to 1000