Skip to content

Instantly share code, notes, and snippets.

View myzie's full-sized avatar

Curtis Myzie myzie

View GitHub Profile
@myzie
myzie / weather_dashboard.risor
Created May 17, 2025 19:56
Weather Dashboard in Risor
// Weather dashboard script using the Open-Meteo API
// Fetches weather data for multiple cities and displays a formatted table
cities := [
{"name": "New York", "lat": 40.71, "lon": -74.01},
{"name": "London", "lat": 51.51, "lon": -0.13},
{"name": "Tokyo", "lat": 35.69, "lon": 139.69},
{"name": "Sydney", "lat": -33.87, "lon": 151.21},
{"name": "Paris", "lat": 48.85, "lon": 2.35}
]
@myzie
myzie / crawler.go
Created February 20, 2024 01:44
Risor Web Crawler
package main
import (
"fmt"
"github.com/risor-io/risor/object"
"github.com/risor-io/risor/op"
)
const CrawlerType object.Type = "crawler.crawler"
@myzie
myzie / s3_put_object.py
Last active May 20, 2023 18:35
S3 Put Object Example
import boto3
s3 = boto3.client("s3")
s3.put_object(
Bucket="example-bucket",
Key="texts/placeholder.txt",
Body="Lorem Ipsum",
)