Skip to content

Instantly share code, notes, and snippets.

View sween's full-sized avatar
💭
Mostly Good Intentions

Ron Sweeney sween

💭
Mostly Good Intentions
View GitHub Profile
@jeffonelson
jeffonelson / bq_gemini3_preview.sql
Last active February 26, 2026 16:51
Use Gemini 3.0 Pro with BigQuery.
# Just replace <project_id> in the endpoint argument with your own project to run this query!
SELECT
title,
medium,
AI.GENERATE(
'Write a 1-sentence dramatic backstory for this object: ' || title || ' made of ' || medium,
endpoint => 'https://aiplatform.googleapis.com/v1/projects/<project_id>/locations/global/publishers/google/models/gemini-3-pro-preview'
) AS ai_story
FROM
`bigquery-public-data.the_met.objects`
@Murf
Murf / gist:4192359
Created December 3, 2012 03:06
segfault on libaprustil
/*
============================================================================
Name : x86.c
Author :
Version :
Copyright : Your copyright notice
Description : Hello World in C, Ansi-style
============================================================================
*/
@sween
sween / FakeIntellisense.cls
Created August 31, 2012 14:02
How to make autocomplete work in Studio with Cache Development on Custom Classes
ClassMethod Transform(Msg As %String) As %Status
{
;;-----------------------------------------------
#dim %gar as IntegrationRequired.Util.UberMethods
;;-----------------------------------------------
}