Avatar

curtcox

Doesn't mention the Met.
Joined January 27, 2024
Public vals
17
curtcox avatar
curtcox
HowManyDaysUntil
HTTP
@jsxImportSource https://esm.sh/react@18.2.0
1
curtcox avatar
curtcox
ShoutyJSON
HTTP
Accepts messages via either JSON or a message query parameter. Responds with a JSON body with the message in all upper case. So, either ?message=hello or { "message": "hello"} will produce a JSON response of: { "message": "HELLO" } This is intended a test standin for a real chat server.
2
curtcox avatar
curtcox
slides
HTTP
Use the tail of the path to specify the slideshow URL. Use the left and right arrow keys to navigate. The slideshow file format is: seconds-to-show URL-to-show Here's a set of example slides. https://curtcox-slides.web.val.run/raw.githubusercontent.com/curtcox/slides/refs/heads/main/sets/ai The tail of the URL points to the plain text slide list at https://raw.githubusercontent.com/curtcox/slides/refs/heads/main/sets/ai If your slides are blocked due to the domain, you could serve them somewhere besides val.town. An easy way to do that while still using a github repo is to embed the slides directly into an HTML page. You could use Github Pages or https://raw.githack.com/ to serve that.
0
curtcox avatar
curtcox
QRCodeScanner
HTTP
* This val creates a QR code scanner using the device's camera. * It uses the jsQR library to decode QR codes from video frames. * The app displays the scanned QR code content and additional information. * * We'll use the following approach: * 1. Set up a video element to capture camera feed * 2. Use canvas to process video frames * 3. Use jsQR to decode QR codes from the frames * 4. Display the QR code content and additional information * 5. Add extensive debugging to identify issues
0
curtcox avatar
curtcox
sourceOnGithubExample
HTTP
Example showing how to reference source in public github repos.
0
curtcox avatar
curtcox
CommandProcessorTest
HTTP
An interactive, runnable TypeScript val by curtcox
0
curtcox avatar
curtcox
MarkdownCommand
Script
An interactive, runnable TypeScript val by curtcox
0
curtcox avatar
curtcox
EmailCommand
Script
An interactive, runnable TypeScript val by curtcox
0
curtcox avatar
curtcox
_not_actually_private_so_that_you_can_see_it
HTTP
This is public so you can see what's in it. If it had real secrets, it should be private. See https://www.val.town/v/curtcox/reply_to_slack_message
0
curtcox avatar
curtcox
Html
Script
An interactive, runnable TypeScript val by curtcox
0
curtcox avatar
curtcox
Object
Script
An interactive, runnable TypeScript val by curtcox
0
curtcox avatar
curtcox
message_processor
Script
An interactive, runnable TypeScript val by curtcox
0
curtcox avatar
curtcox
Chatio
HTTP
An interactive, runnable TypeScript val by curtcox
0
curtcox avatar
curtcox
Public
HTTP
An interactive, runnable TypeScript val by curtcox
0
curtcox avatar
curtcox
authorized
Script
An interactive, runnable TypeScript val by curtcox
0
curtcox avatar
curtcox
getslack
HTTP
An interactive, runnable TypeScript val by curtcox
0