Skip to content

Instantly share code, notes, and snippets.

View ryancraigmartin's full-sized avatar
💻
"Always a student, never a master."

Ryan Craig Martin ryancraigmartin

💻
"Always a student, never a master."
View GitHub Profile
@ryancraigmartin
ryancraigmartin / rename-files.go
Created January 26, 2024 16:13
rename-files-in-pwd.go
package main
import (
"fmt"
"os"
"path/filepath"
"strings"
)
func renameFiles(root string) error {
@ryancraigmartin
ryancraigmartin / klaviyo.d.ts
Created April 25, 2023 22:35
Klaviyo API TypeScript types based on the version: 2023-02-22 openapi spec using openapi-typescript
/**
* This file was auto-generated by openapi-typescript.
* json source: https://raw.githubusercontent.com/klaviyo/openapi/main/openapi/stable.json
* gemerate command run: npx openapi-typescript klaviyo-api.json --output klaviyo.d.ts
*/
export interface paths {
'/api/campaigns/': {
/**
* Get Campaigns