tomatrow
tomatrow
So, here's an example: ```swift // main.swift let imageCache = MemoryCache(countLimit: 50, automaticallyRemoveAllObjects: true) func imageApiCall(key: String, completion: @escaping (NSData) -> ()) { // some expensive code } func fetchImage(key:...
Here's how to add a boolean meta field to tags and posts. ```php function prefix_register_meta_fields() { $term_types = ['post_tag']; $post_types = ['post']; $key = 'the_example_key'; $args = [ 'type' =>...
Here's what I did to get the same session I would have in production. ```svelte import { writable } from 'svelte/store' import { handle, getSession } from "../../hooks" import {...
I think this pr was merged into https://github.com/dwash96/aider-ce
So, this sort of works for measuring text: ```ts import { type openSync as openSyncType } from "fontkit" import { Font } from "@react-pdf/renderer" import fontkit from "@react-pdf/fontkit" const {...