This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
-server | |
-Xms2048m | |
-Xmx2048m | |
-XX:NewSize=512m | |
-XX:MaxNewSize=512m | |
-XX:PermSize=512m | |
-XX:MaxPermSize=512m | |
-XX:+UseParNewGC | |
-XX:ParallelGCThreads=4 | |
-XX:MaxTenuringThreshold=1 |
#-*-coding: utf-8-*- | |
""" | |
Simple script to dump documents out of a CouchDB database and straight into | |
a Couchbase instance. | |
""" | |
import time | |
import sys | |
import argparse |
Toolbar toolbar = (Toolbar)findViewById(R.id.toolbar); | |
//Title and subtitle | |
toolbar.setTitle("MY toolbar"); | |
toolbar.setSubtitle("Subtitle"); | |
//Menu | |
toolbar.inflateMenu(R.menu.toolbar_menu); | |
toolbar.setOnMenuItemClickListener(new Toolbar.OnMenuItemClickListener() { |
| Title | Description
// src/lib/middleware.ts | |
import { randomUUID as uuid } from "crypto"; | |
import chalk from "chalk"; | |
import { NextFetchEvent, NextRequest, NextResponse } from "next/server"; | |
import { ZodError } from "zod"; | |
export type MaybePromise<T> = T | Promise<T>; | |
export type FetchRequestHandler = ( | |
req: Request | NextRequest, |