Skip to content
2026 Crazy Mountain 100

I'm running the Crazy Mountain 100 in 2026! It's a rugged 100 miler in Montana that serves as a Hardrock qualifier.

Resolving Google Chat User IDs to Emails: The Least Privilege Way

A secure strategy to resolve Google Chat User IDs to email addresses without using Domain-Wide Delegation. By combining Direct Role Assignment with Service Account Impersonation, you can maintain Least Privilege security.

Exploring Apps Script CacheService Limits

A deep dive into Apps Script CacheService limits. I verify key/value constraints and uncover the undocumented FIFO batch eviction policy at the 1000-item limit.

The Definitive Guide to UrlFetchApp in Google Apps Script

A comprehensive deep-dive into UrlFetchApp. Covers architecture, authentication, web scraping, and debugging notorious infrastructure errors (Address Unavailable, 60s timeout, Gzip truncation).

Secure Secrets in Google Apps Script

Do not hardcode secrets in Google Apps Script. Use Properties Service or Google Cloud Secret Manager.

Securing Gmail AI Agents against Prompt Injection with Model Armor

Securing Gmail AI agents against Prompt Injection and untrusted content using Google Cloud Model Armor.

React Wrapper for Google Drive Picker

Announcing the new React component for the Google Drive Picker, wrapping usage of the web component for easier integration.

Google Workspace Developer Tools MCP Server

Announcing the new MCP server for Google Workspace Developer Tools, providing AI agents with access to official documentation and API snippets.

Google Workspace Developer Tools VS Code Extension

Announcing the new Google Workspace Developer Tools extension for VS Code, working with Antigravity and providing OAuth2 scope linting and MCP support.

Google Drive Picker TypeScript - Types Updated

Last week I submitted a pull request to the DefinitelyTyped repository for the Google Drive Picker API. Not a big deal in itself, but these types are generated from the same source as the Google Drive Picker reference documentation and should be more correct and consistent than the community types that were previously in the DefinitelyTyped repository.

Google Forms - title vs name vs documentTitle

Recently I had to clarify some confusion around the title and name of a Google Form. Here is a quick explanation of the difference between the two.

Converting between Office docx and Google Docs in Google Apps Script

Learn how to programmatically convert, open, and edit Microsoft Word .docx files using Google Apps Script and the Drive API.

Google Sheets API - IMPORT / Image - Bypass User Consent

Use the Spreadsheets v4 API to set the importFunctionsExternalUrlAccessAllowed property to true and allow access to external URLs without requiring user consent.

Google Workspace Developer Summits - 2024 - Boston and Berlin

Save the date for the Google Workspace Developer Summits in 2024! Boston - September 12, 2024 and Berlin - September 17, 2024.

How do I get access to the chrome.sidePanel API from the latest manifest v3? - Stack Overflow

Link shared about: How do I get access to the chrome.sidePanel API from the latest manifest v3? - Stack Overflow

Apps Script and WebAssembly - A comprehensive guide

You can use WebAssembly with Google Apps Script! This post will cover how to do that and provide a comprehensive guide on how to get started.

SvelteKit: Convert base64 slugs to UUIDs automatically in a derived store

A SvelteKit store that automatically converts slugs to UUIDs from the URL path parameters.

Google Apps Script: google.script.run vs. doGet/doPost Endpoints

Learn about the different options for making API calls in Google Apps Script web apps: `google.script.run` and GET/POST endpoints (`doGet` and `doPost`). Understand their strengths and weaknesses to choose the best approach for your project.

Drive File Get Blob and Scopes in Google Apps Script

Working with binary files like PDFs or images in Google Drive with Google Apps Script can be a bit tricky due to scopes. Here is a comparison of the three main ways to get the Blob of a file in Google Drive and the scopes required.

My Debian development environment setup

Setting up a development environment on Debian with Docker and VSCode remote.

Key Value Store Options in Google Apps Script

A comparison of key-value store options in Google Apps Script, including PropertiesService, CacheService, Firestore, and Sheet Developer Metadata.

Google Cloud Region Latency in Google Apps Script

Ping results to Google Cloud regions and short code snippet demonstrating how to measure latency from Google Apps Script.

Optimizing Parallel Jobs in a Github Workflow

A pattern for persisting the workspace files between parallel jobs in a GitHub Workflow.

Apps Script V8 Runtime Limitations

A comparison of the WinterCG Minimum Common Web Platform API draft with the Apps Script V8 runtime.

Google Next 24 - Rust, Python, and WASM in Apps Script

I will be giving a talk at Google Next 2024 on how to use Rust, Python and WASM to extend Google Apps Script.

Promises, async and await in Google Apps Script

Google Apps Script is based on the V8 engine and supports the use of Promises, async and await. However, there are almost no APIs available that are asynchronous except for the WebAssembly API.

Cloudflare workers with Wrangler for dev, staging, and prod

Deploying Cloudflare workers to dev, staging, and prod with Wrangler and automatically promoting with GitHub actions.

Google Calendar - Usage Limits Exceeded

Cleanup repositories on GitHUb by deleting old forks.

Embed images from Google Drive in your website

Google Drive broke the ability to embed images with the /uc path. Here's how to embed images from Google Drive in your website.

Apps Script Service Account Impersonation

Avoid downloading private service account keys by using impersonation in Apps Script to obtain access tokens.

Using Firestore in Apps Script

Firestore can be a powerful tool when using Apps Script. This post shows how to use the [Firestore REST API] in Apps Script.

Optimized Dockerfile for Rust

A simple Dockerfile for a Rust project that caches dependencies and uses a minimal Debian image.

Generating Text with Gemini Pro in Apps Script

A short code snippet demonstrating how to generate text with the Gemini Pro Rest API in Apps Script.

Using Vertex AI in Apps Script

How to use the Vertex AI API in Apps Script to make predictions on your data or use it in any of your other Google Workspace processes.

Memoization in Apps Script

A generic Apps Script memoization function can be written to cache any function.

Building a Google Chat App with n8n

I created a n8n workflow to implement a Google Chat App that translates messages.

Combining Google Workspace Add-ons and Editor Add-ons

Both Add-on types have their own strengths and weaknesses. Combining them could be a powerful way to build Add-ons for Google Workspace but with some caveats.

Moab 240 Training Camp

Training camp, 3 days, 92.79 mi, 17,123 ft! I'm planning a 3 day training camp for the upcoming Moab 240 covering some of the highest and most technical sections of the course.

A Trail Marathon Race Win Was Stolen From Me

A race director gave the win to two runners that skipped the final climb and 3.8 miles of the course.

Rust Compiler Whack-a-Mole

Playing whack-a-mole with the rust compiler is both frustrating and a great learning experience.

Using Cloudflare Pages and Functions for email magic links

This blog post demonstrates how to implement email magic links for a login page using Cloudflare Pages, Cloudflare Functions, and Sendgrid. It provides code examples and explanations for each step of the process, including form creation, token generation and validation, session management, and user authentication.

Recovering from a 100 mile ultramarathon

What my body is telling me a week after running a 100 mile ultramarathon.

Google User Credentials in non-interactive workflows

Using an offline Oauth2 flow to get Google user credentials for use as application default credentials in APIs that do not allow service accounts or API keys and require user credentials.

Verify a Google access token

A simple endpoint to verify a Google access token

Automator's Hole

There is a point between manual tasks and automation where nothing gets done.

A look back at running in 2022 and plans for 2023

In 2022 I ran nearly 2400 miles and have big plans for 2023

La Sportiva Cyklon Cross GTX Review

An ultrarunner reviews the La Sportiva Cyklon Cross GTX for winter running.

Track all Firestore write activity in Firestore

Capture all user activity in a Firestore collection using Audit Logs, Pub/Sub, and Cloud Functions.

Delete Old GitHub Forks

Cleanup repositories on GitHUb by deleting old forks.

2022 Moab 240 DNF

Race Report for the 2022 Moab 240. I had a DNF at the midpoint, Shay Mountain.

Strongly Typed Yup Schema in TypeScript

A basic pattern for strongly typing Yup schemas in TypeScript using conditionals.

Using Google Container Registry, Docker Buildx, and GitHub Actions

A pattern for authenticating to gcr.io from docker/build-push-action.

Environment Variables in GitHub Docker build-push-action

A basic pattern for passing environment variables to the docker/build-push-action from a GitHub secret.

Caching Playwright Binaries in GitHub Actions

A simple strategy to effectively speed up use of Playwright in GitHub Actions with caching.

2022 Mace's Hideout 100 Race Report

Race Report for the 2022 Mace's Hideout 100 mile ultramarathon. I finished 3th in 29:20:53.

Unwatch All Repositories in a GitHub Organization

Using the GitHub CLI to unsubscribe from repositories.

Strava Webhooks with Stokehook.com

An app I built using Svelte, Firebase, and the Strava API.

Rebasing All Dependabot Pull Requests

Short code snippet showing how I rebased all Dependabot pull requests across a GitHub org.

Automatically Approving and Merging Dependabot Pull Requests

A simple GitHub workflow to automatically approve and merge Dependabot pull requests.

What is DevRel?

DevRel is a lot things: marketing, engineering, product management, support; my experience as a Developer Relations Engineer at Google.

Drop Bag Plan for Cocodona 250

Running a 250 mile race without crew or pacers requires adaptability and a good plan for drop bags. This is a work in progress...

Eleventy Related Posts Using TF-IDF

Automating related posts in Eleventy with term frequency-inverse document frequency and eleventy-plugin-related.

Running and Chronic Exertional Compartment Syndrome

Understanding and treating a new running injury, Chronic Exertional Compartment Syndrome. Can I run? Can I race?

GitHub Workflow to Sync Branches

It is easy to sync branches in a GitHub workflow without using a third party GitHub Action.

2022 Sedona Stage Race Report

Race Report for the 2022 Red Rocks Stage Race in Sedona, AZ. I finished the 50k Saturday, 50k Sunday version second overall in a little over 11 hours total.

What about the cows...

Don't bust the crust (unless you are a cow). A greenwashing campaign by our public land management agencies.

2022 Behind the Rocks 50k Race Report

Race Report for the 2022 Behind the Rocks Ultra 50k in Moab, Utah. I finished 8th in 4:55.

Mountain Bike Bear Spray Holder

Instructions for a DIY mountain bike bear spray holder

Google Maps React Wrapper

A wrapper for loading Google Maps JavaScript in React

Molas Lake to Vallecito Reservoir

A solo adventure running 36 miles from Molas Lake to Vallecito Reservoir in the Weminuche Wilderness

WMS Layer on Google Maps

Instructions for adding a WMS Layer to Google Maps