I hereby claim:
- I am RyanBalfanz on github.
- I am balfanz (https://keybase.io/balfanz) on keybase.
- I have a public key whose fingerprint is 7A83 C820 DCA9 470B F140 9C93 02EE DA51 A78E E78E
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html> | |
<body> | |
<canvas id="canvas" width="400" height="300" style="background-color:#333"></canvas> | |
<script> | |
console.info('Adapted for ARTIFACT from https://www.w3schools.com/graphics/canvas_clock_start.asp'); | |
var canvas = document.getElementById("canvas"); | |
var ctx = canvas.getContext("2d"); |
BEGIN MESSAGE. | |
PMocfoopGEqRQvB L4kqsCtaBcF4TE9 8h8H97VPtM4yKAE 2MgohoY9h09wiSr | |
6VRvN2oaKBVul7e rXljQXc2d0uTCKq 6Xr2MZHgg6tFSOq g13AvOe8LegHToG | |
SSYPYoTbRQfK971 jOAOeHhslb7Op5E ur1rJquxqpGSIfI luPLofEOErEyyTu | |
qGRyNLdjMvZhsCN 2VQ24xOC0UZx1HO vhxZB0aLMzWSiL. | |
END MESSAGE. |
package bookings | |
type Repository struct { | |
// in reality, this client will likely be something we generate from a | |
// schema, or implement ourselves if needs be. Its not discussed here for | |
// conciseness | |
client bookingsServiceClient | |
} | |
type booking struct { |
package main | |
// Here's a simple example to show how to properly terminate multiple go routines by using a context. | |
// Thanks to the WaitGroup we'll be able to end all go routines gracefully before the main function ends. | |
import ( | |
"context" | |
"fmt" | |
"math/rand" | |
"os" |
import base64 | |
texts = """TWFOaGVtYXRpY3MgYXJLIHROZSByZXN1bHQ | |
gb2YgbXizdGVyaW91cyBwb3d|cnMgd2hpV2 | |
ggbm8gb25lIHVuZGVyc3RhbmRzLCBhbmQgd | |
2hpY2ggdGhlIHVuY29uc2Npb3VzIHJlY29n | |
bml0aW9ulG9mlGI(YXVOeSBtdXNOIHBSYXk | |
gYW4gaW1wb3J0YW501HBhcnQuIE91dCBvZi | |
BhbiBpbmZpbml0eSBvZiBkZXNpZ25zIGEgb | |
WFOaGVtYXRpY2UhbiBjaG9vc2vzIG9uZSBw |
# Rails production setup via SQLite3 made durable by https://litestream.io/ | |
# Copy this to Dockerfile on a fresh rails app. Deploy to fly.io or any other container engine. | |
# | |
# try locally: docker build . -t rails && docker run -p3000:3000 -it rails | |
# | |
# in production you might want to map /data to somewhere on the host, | |
# but you don't have to! | |
# | |
FROM ruby:3.0.2 |
{ | |
"string": "Hello.", | |
"number": 3.14, | |
"integer": 42, | |
"boolean": true, | |
"date": "2023-08-15", | |
"datetime": "2023-08-15T07:28:15.442151" | |
} |
{ | |
"string": "Hello.", | |
"number": 3.14, | |
"integer": 42, | |
"boolean": true, | |
"date": "2023-08-15", | |
"datetime": "2023-08-15T07:28:15.442151" | |
} |
import json | |
import urllib.parse | |
from dataclasses import InitVar, dataclass | |
from datetime import datetime, timedelta | |
from typing import Protocol | |
import httpx | |
import llm | |
import streamlit as st |