I hereby claim:
- I am mearman on github.
- I am mearman (https://keybase.io/mearman) on keybase.
- I have a public key ASCrulF_DwBV5piz13C3bNIvxS-qXyAeErQdo0J4TY6YZwo
To claim this, I am signing this object:
| { | |
| "swagger": "2.0", | |
| "info": { | |
| "version": "1.0.0", | |
| "title": "Companies House Public Data API", | |
| "description": "An API suite providing read only access to search and retrieve public company data" | |
| }, | |
| "host": "api.company-information.service.gov.uk", | |
| "schemes": [ | |
| "https", |
| import { Schema, base, code } from "@google-labs/breadboard"; | |
| import { core } from "@google-labs/core-kit"; | |
| import { templates } from "@google-labs/template-kit"; | |
| import { countryCodes } from "../../utils/countryCodes"; | |
| const getCurrentYear = code((): { year: number } => { | |
| return { | |
| year: new Date().getFullYear(), | |
| }; | |
| }); |
I hereby claim:
To claim this, I am signing this object:
| { | |
| "$schema": "https://json-schema.org/draft/2020-12/schema", | |
| "$id": "https://raw.githubusercontent.com/breadboard-ai/breadboard/main/packages/breadboard/breadboard.schema.json", | |
| "title": "Breadboard", | |
| "description": "An executable program graph", | |
| "$defs": { | |
| "identifier": { | |
| "type": "string", | |
| "pattern": "^[a-zA-Z_][a-zA-Z0-9_-]*$" | |
| } |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Page Loading...</title> | |
| <script> | |
| function fetchAndReplaceContent(basePath, additionalSegments) { | |
| if (additionalSegments.length === 0) { | |
| document.body.innerHTML = '<h1>Page not found.</h1>'; |
If you have any issues with macOS, or need anything related to it check this documentation
Install Xcode Command Line tools :
| { | |
| "openapi": "3.1.0", | |
| "info": { | |
| "title": "Chrome Platform Status", | |
| "version": "0.0.0", | |
| "description": "https://chromestatus.com/", | |
| "contact": {} | |
| }, | |
| "servers": [ | |
| { |
| import claude from "@anthropic-ai/tokenizer/claude.json"; | |
| import { Tiktoken, TiktokenBPE } from "js-tiktoken"; | |
| export function countTokens(text: string): number { | |
| const tokenizer = getTokenizer(); | |
| const encoded = tokenizer.encode(text.normalize("NFKC")); | |
| return encoded.length; | |
| } |
| javascript: (function () { | |
| function fetchBibTeX(url) { | |
| fetch(url) | |
| .then((response) => response.json()) | |
| .then((data) => { | |
| const authors = data.authorships | |
| .map((author) => author.raw_author_name) | |
| .join(" and "); | |
| const title = data.title; | |
| const journal = data.primary_location.source.display_name; |