Search
Code79
https://adventofcode.com/2023/day/7Migrated from folder: adventofcode/_2023/aoc23_07
https://adventofcode.com/2023/day/6Migrated from folder: adventofcode/_2023/aoc23_06
Last nut I finally cracked was in v28 by running the following on a powerful desktop machine for nearly an hour:`deno run https://esm.town/v/karfau/aoc23_05?v=28` (that is the module URL)to get the correct solution.Migrated from folder: adventofcode/_2023/aoc23_05
https://adventofcode.com/2015/day/6Migrated from folder: adventofcode/_2015/aoc15_06
PS: Did you know advent of code goes as far back as [2015](https://adventofcode.com/2015) and you can still solve those puzzles?Migrated from folder: adventofcode/aocXX_00
]); const publicKey = `-----BEGIN PUBLIC KEY-----MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA7LBs3Qyuh93lRboTNXLNhj4n92oK5Qg4oS8Cc81AXh04hD7nQSSKBhtarbHy2yPXeiKA+H3EGbcflsLvZCo2B3OPNo2nGTCMyJM8HWDf/7JCOHHcy4tZC1ldjrItkb1YDABWwfoXxyBiGTyTVXjL
export async function getMcgillEvents() { const url = "https://www.alumni.mcgill.ca/aoc/events-travel/registration/regwizEventsList.php?location=050%3AMA&school=&dateMonth=&title=&doSearch=1"; const items = await newRSSItems({ url: url,
export const getGithubUserViaOctokit = async (username: string) => { const { Octokit } = await import("npm:@octokit/core"); const octokit = new Octokit();
import { blob } from "https://esm.town/v/std/blob"; blob.setJSON("createdAt", Date.now()); Below is a real world example of swapping out std/set for std/blob in a cron val that polls RSS feeds and emails
Open in ChatGPT Ask questions about this page. wttr.in. Section titled “wttr.in” Val Town is a great system for keeping track of the weather - for remembering when to carry
the settings page. Trying to update an environment variable, for example by using Deno.env.set, is a no-op. Deno.env. Section titled “Deno.env” This uses the Deno-default Deno.env variable, which is available
this page as plain text. Open in ChatGPT Ask questions about this page. SQLite is a lightweight, standard database. Every Val Town account comes with its own private SQLite database
you might want to take advantage of an ORM or query builder instead. Here are a few examples of how to do that with popular tools. Drizzle. Section titled “Drizzle”
as plain text. Open in ChatGPT Ask questions about this page. You can generate PDFs using an external library like jsPDF. Here’s a more comprehensive example that builds an invoice.
View this page as plain text. Open in ChatGPT Ask questions about this page. Generate a QR code for any link, instantly! Visit https://neverstew-generateQR.web.val.run?url=https://neverstew.com and replace the url query parameter
page as plain text. Open in ChatGPT Ask questions about this page. Email triggers provide a unique email address for your val. When Val Town receives an email at that
the API Tokens page. If you’re using the Val Town API from within Val Town, a short-lived API token is automatically injected into your environment variables. These injected tokens are
this page as plain text. Open in ChatGPT Ask questions about this page. We block a small number of crawlers/bots that we identify by their User-Agent Header. These bots generated