Skip to content

Friday, March 20

Firebase Quotas and Cloudflare Workers

I’m currently enrolled in the MIT xPRO Professional Certificate in Coding program. In a recent assignment, we “delved” (as the course materials would put it) into GitHub Actions by setting up an automated testing and deployment workflow for a simple Express.js app. See the README on GitHub for my full report.

The deployment component was supposed to happen on Firebase, but I had already reached my project quota due to an earlier batch of assignments. After digging, I found information suggesting that my quota would reset 30 days after deleting the old projects, but the actual error message just said to contact support to request an increase. I received a prompt response (but to my Gmail account, of course, so I didn’t see it for a few days):

View full post…

Git Commits

days commits 9 ohnsh/days
  • 5:09 pm — John Sherrell <dev@ohn.sh>

    Clean up loaders/github.ts

  • 4:55 pm — John Sherrell <dev@ohn.sh>

    Reverse-chronological sort for days listed under /tags/[tag].

  • 3:09 pm — John Sherrell <dev@ohn.sh>

    Merge branch 'pure-loaders'

  • 3:08 pm — John Sherrell <dev@ohn.sh>

    Now sorting commits, but the technique is a little ugly. I'm considering guaranteeing a sort order for various arrays when Day object is initialized.

  • 3:01 pm — John Sherrell <dev@ohn.sh>

    Daily commits now rendering again. Refactor seemingly complete. Need to get commits sorted on page.

  • 1:27 pm — John Sherrell <dev@ohn.sh>

    3/19 metadata.

  • 1:20 pm — John Sherrell <dev@ohn.sh>

    loaders/github.ts now exports two loaders: repoLoader() and commitLoader(). There will be a collection for each. Getting to the meat of this refactor in the <GithubDay> and <RepoDay> components.

  • 12:43 pm — John Sherrell <dev@ohn.sh>

    Improve schemas/typing in youtube loader. No longer manually creating API schema. Presently, types are inferred when importing the intermediate .json file. When fetching directly, I need to use a schema provided by the API to generate a zod schema and/or typescript type.

  • 12:24 pm — John Sherrell <dev@ohn.sh>

    YouTube collection rendering again. Simplified loader creates a 'pure' collection of videos keyed by videoid. It also computes the day (using video title and pubDate) and stores it in each entry. Actual sorting of entries into days happens elsewhere, as it should.

xpro-nextjs-dashboard commits 1 ohnsh/xpro-nextjs-dashboard
  • 8:40 pm — John Sherrell <dev@ohn.sh>

    Initial commit from Create Next App

YouTube

Play

It’s spring, betches