At the beginning of a session:
- Read this file.
- Read
~/memory/active-projects.md. - Read the last few days of session logs in
~/memory/session-logs/ - Read the relevant project files for the current request.
These are my eggs. I like this recipe because it's delicious, doesn't take too much time to make, and goes well with other meals in my life.
All instructions are negotiable, adjust based on vibes. You feel me?
Start by slicing up an onion. I like using a milder tasting onion, or a banana shallot. I like slices so I can taste it in the final product, but feel free to chop it finer if you'd like.
In a bowl, make the 'sauce'. A teaspoon each of gochugang paste, soy sauce, sesame oil, a couple of pinches of brown sugar, mirin or rice vinegar (I prefer mirin because it doesn't smell as strong, but the vinegar is more 'traditional'). Also add a teaspoon of garlic paste, and a teaspoon of ginger paste.
| #!/bin/bash | |
| UPTIMEROBOT_TOKEN="uptimerobot-token-here" | |
| OHDEAR_TOKEN="ohdear-token-here" | |
| OHDEAR_TEAM_ID=123456789 | |
| OFFSET=0 | |
| LIMIT=50 | |
| TOTAL=1000000 |
| import {MDXProvider} from '@mdx-js/react'; | |
| import {MDXComponents} from 'components/MDX/MDXComponents'; | |
| import {Toc} from 'components/Toc/Toc'; | |
| import * as React from 'react'; | |
| export interface MarkdownProps<Frontmatter> { | |
| meta: Frontmatter; | |
| children?: React.ReactNode; | |
| } |
⚠️ Note 2023-01-21
Some things have changed since I originally wrote this in 2016. I have updated a few minor details, and the advice is still broadly the same, but there are some new Cloudflare features you can (and should) take advantage of. In particular, pay attention to Trevor Stevens' comment here from 22 January 2022, and Matt Stenson's useful caching advice. In addition, Backblaze, with whom Cloudflare are a Bandwidth Alliance partner, have published their own guide detailing how to use Cloudflare's Web Workers to cache content from B2 private buckets. That is worth reading,
While the public API intended for users to use is the scheduler package, the reconciler currently
does not use scheduler's priority classes internally.
ReactFiberScheduler has its own internal "mini-scheduler" that uses the scheduler package
indirectly for its deadline-capable scheduleCallback.
This is kind of a documentation of implementation details that I suppose will be gone by the end of the year, but what can you do.
| #!/bin/bash | |
| # Brew | |
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| #################################### | |
| # Brew apps | |
| #################################### | |
| brew install cask |
| body { | |
| text-align: justify; | |
| } | |
| code, pre { | |
| font-family: "Hack", monospace; | |
| } | |
| h1, h2, h3, h4, h5, h6 { | |
| text-align: left; |