1# DSNY Events Feed
2
3
4
5This turns the [DSNY's SAFE Disposal Events](https://www.nyc.gov/assets/dsny/site/services/harmful-products/safe-disposal) feed in JSON into an iCal file that you can subscribe to from your calendar:
3This tiny smiley face is rendered by this val: 
4
5The image response is cached by the CDN, so make sure to change the image name if you make code changes. Any name with a `.png` extension will work: https://maxm-smileypng.web.val.run/-.png
1# ☔️ Umbrella reminder if there's rain today
2
3
4
5## Setup
3`std/turso` was the initial version of our integration with Turso. It was so popular, we rebuilt it to be faster and easier to use: [`std/sqlite`](https://www.val.town/v/std/sqlite).
4
5
6
7[Turso](https://turso.tech/) is a serverless SQLite platform designed for the edge. It runs [libSQL](https://github.com/libsql/libsql), their open contribution fork of SQLite.
7This feedback form was linked on our docs site.
8
9
10
11This val renders an HTML form, including pre-fills the user's email address if they've submitted the form in the past (via a cookie), and pre-fills the URL by grabbing it out of the query params.
1# California business records change notifications
2
3
4
5There's nothing I like more than a little open data and transparency! This Val shows you how to use the [California Secretary of State Business Search](https://bizfileonline.sos.ca.gov/search/business) as a faux-API and get notifications when records change. This lets you know when a business updates their records, changes their good-standing status, and so on.
135. Now, in the network tab of your developer tools, you should see a request that ends with `false`. You'll find a number in that URL. Plug that number into the val at the spot at the top.
14
15
16
17(We're almost there!)
20
21
22
23
24
4
5
6
7
8
37The HTTP 1.1 specification adds a little color about the [reason-phrase](https://www.rfc-editor.org/rfc/rfc9112.html#name-status-line):
38
39
40
41So, with a HTTP server, you can customize your reason phrase! Here's an example with a val on Val Town:
1# Generate an image
2
3
4
5This image is generated by the Val below and exposed to the internet with the [Web API](https://docs.val.town/api/web).
5[**View Live Form**](https://stevekrouse-form.web.val.run) | [**View Data**](https://www.val.town/v/stevekrouse.formDataEx)
6
7
8
9
1Migrated from folder: Archive/textToImageDalle