Skip to content

Instantly share code, notes, and snippets.

# starter.gpt
tools: gptscript.docs, sys.write, sys.exec
Write the list of tools built into GPTScript in a markdown file called `tools.gpt`.
---
name: gptscript.docs
description: Access the GPTScript docs. Use this tool to answer questions about GPTScript, understand the GPTScript syntax, get documentation about the GPTScript CLI, and to write end edit GPTScript files.
args: query: The query to search for
@gerred
gerred / recoil.md
Created December 21, 2022 00:20 — forked from kellabyte/recoil.md

History

For a long time I've been really impacted by the ease of use Cassandra and CockroachDB bring to operating a data store at scale. While these systems have very different tradeoffs what they have in common is how easy it is to deploy and operate a cluster. I have experience with them with cluster sizes in the dozens, hundreds, or even thousands of nodes and in comparison to some other clustered technologies they get you far pretty fast. They have sane defaults that provide scale and high availability to people that wouldn't always understand how to achieve it with more complex systems. People can get pretty far before they have to become experts. When you start needing more extreme usage you will need to become an expert of the system just like any other piece of infrastructure. But what I really love about these systems is it makes geo-aware data placement, GDPR concerns potentially simplified and data replication and movement a breeze most of the time.

Several years ago the great [Andy Gross](ht

---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.4
creationTimestamp: null
name: operators.kudo.dev
spec:
group: kudo.dev
package dynamic
import (
"fmt"
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
"sigs.k8s.io/controller-runtime/pkg/client/config"
"sigs.k8s.io/controller-runtime/pkg/controller"
"sigs.k8s.io/controller-runtime/pkg/handler"
"sigs.k8s.io/controller-runtime/pkg/manager"
"sigs.k8s.io/controller-runtime/pkg/reconcile"
{
"apiVersion": "V2",
"name": "k8s-ingress-proxy-2",
"count": 2,
"haproxy": {
"stats": {
"bindPort": 6091
},
"frontends": [
{
{
"apiVersion": "V2",
"name": "k8s-ingress-proxy-2",
"count": 2,
"haproxy": {
"stats": {
"bindPort": 6091
},
"frontends": [
{
apiVersion: configuration.konghq.com/v1
kind: KongIngress
metadata:
name: configuration-demo
upstream:
hash_on: none
hash_fallback: none
healthchecks:
active:
concurrency: 10
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
labels:
name: logspout
name: logspout
namespace: default
spec:
selector:
matchLabels:
~/d/OpenTTD-patches   jgrpp  env CXXFLAGS="--std=gnu++11" CC=/usr/local/bin/gcc-8 CXX=/usr/local/bin/g++-8 ./configure --without-liblzo2 --cpu-type=64
checking awk... awk
detecting OS... OSX
checking build system type... x86_64-apple-darwin17.5.0
checking host system type... x86_64-apple-darwin17.5.0
checking universal build... no
checking build cc... /usr/local/bin/gcc-8
checking host cc... /usr/local/bin/gcc-8
checking build c++... /usr/local/bin/g++-8
checking host c++... /usr/local/bin/g++-8
Using built-in specs.
COLLECT_GCC=gcc-8
COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc/8.1.0/libexec/gcc/x86_64-apple-darwin17.5.0/8.1.0/lto-wrapper
Target: x86_64-apple-darwin17.5.0
Configured with: ../configure --build=x86_64-apple-darwin17.5.0 --prefix=/usr/local/Cellar/gcc/8.1.0 --libdir=/usr/local/Cellar/gcc/8.1.0/lib/gcc/8 --enable-languages=c,c++,objc,obj-c++,fortran --program-suffix=-8 --with-gmp=/usr/local/opt/gmp --with-mpfr=/usr/local/opt/mpfr --with-mpc=/usr/local/opt/libmpc --with-isl=/usr/local/opt/isl --with-system-zlib --enable-checking=release --with-pkgversion='Homebrew GCC 8.1.0' --with-bugurl=https://github.com/Homebrew/homebrew-core/issues --disable-nls
Thread model: posix
gcc version 8.1.0 (Homebrew GCC 8.1.0)