I hereby claim:
- I am mike-marcacci on github.
- I am mikemarcacci (https://keybase.io/mikemarcacci) on keybase.
- I have a public key whose fingerprint is A10E BC70 B049 180C C1B8 FCE3 1841 0600 4D9F 3D76
To claim this, I am signing this object:
import { | |
FileMetadata, | |
GoogleAIFileManager, | |
UploadFileResponse, | |
} from "@google/generative-ai/server"; | |
// GoogleAIFileManager can't use streams yet, so we need to do it on our own. | |
// See: https://github.com/google-gemini/generative-ai-js/pull/252 | |
// Note that this is a direct copy of the existing implementation; it would |
printf "\nConnect to mysql...\n\n" | |
printf "Using this user: root\n" | |
printf "Using this password: root-password\n" | |
# Create a temporary mysql instance using docker, letting the OS chose a port. | |
container=$(docker run -e MYSQL_ROOT_PASSWORD=root-password -d --rm -p 3306 mysql) | |
# Print the host port used. | |
printf "Using this port:\n" | |
docker container port $container |
//… | |
// Add readiness endpoint | |
let isShuttingDown = false; | |
app.use( | |
async (ctx, next): Promise<void> => { | |
if (ctx.request.path === "/_ready" || ctx.request.path === "/_ready/") { | |
if (isShuttingDown) { | |
ctx.status = 503; | |
ctx.set("Connection", "close"); | |
ctx.body = "not ready"; |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<title></title> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<meta name="robots" content="noindex, nofollow"> | |
<meta name="googlebot" content="noindex, nofollow"> | |
<meta name="viewport" content="width=2000, initial-scale=1"> |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<title></title> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<meta name="robots" content="noindex, nofollow"> | |
<meta name="googlebot" content="noindex, nofollow"> | |
<meta name="viewport" content="width=2000, initial-scale=1"> |
const fs = require("fs"); | |
const http = require("http"); | |
const https = require("https"); | |
const http2 = require("http2"); | |
const form = ` | |
<html> | |
<body> | |
<script> | |
const send = () => { |
Verifying my Blockstack ID is secured with the address 15D9vXeiJr4gNSBb5VMXrZ8qnWa5ZXN53a https://explorer.blockstack.org/address/15D9vXeiJr4gNSBb5VMXrZ8qnWa5ZXN53a |
// @flow | |
import React, { Component } from "react"; | |
import PropTypes from "prop-types"; | |
import App from "./components/App"; | |
type Props = { | |
environment: *, | |
queryTracker?: * | |
}; |
// @flow | |
import { mix } from 'mixwith'; | |
import Model from '../../../Model'; | |
import { type GeoJSONMultiPolygonCoordinates } from '../..'; | |
import { NodeMixin, NodeInterface, type FieldDefinition } from '../../../core'; | |
import { ObjectMixin, ObjectInterface } from '../../../delta'; | |
import { AreaChange } from '../AreaChange/AreaChange'; | |
import { Area } from '../Area/Area'; | |
import wkx from 'wkx'; |
I hereby claim:
To claim this, I am signing this object: