This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script> | |
| const changes = [] | |
| let pending = null | |
| function stateChanged() { | |
| if (changes.find(c => c.id === "states")) { | |
| return | |
| } | |
| changes.push("states") | |
| // tiny timeout as simple way to rate limit changes, better approaches exist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ./nix-569369-0 | |
| ./nix-569369-0/manifest.json | |
| ./nix-569369-0/share | |
| ./nix-569369-0/share/zsh | |
| ./nix-569369-0/share/zsh/site-functions | |
| ./nix-569369-0/share/zsh/site-functions/_kubectl | |
| ./nix-569369-0/share/zsh/site-functions/_just | |
| ./nix-569369-0/share/zsh/site-functions/_gcrane | |
| ./nix-569369-0/share/zsh/site-functions/_sops | |
| ./nix-569369-0/share/zsh/site-functions/_crane |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 0.234 Fetching installer.sh for version: latest | |
| 1.115 Downloading distillery v1.6.0... | |
| 2.523 Verifying checksums... | |
| 2.535 Could not verify signatures, cosign is not installed. | |
| 2.628 • distillery/v1.6.0 | |
| 2.628 • source: github | |
| 2.628 • app: ekristen/distillery | |
| 2.628 • os: linux | |
| 2.628 • arch: amd64 | |
| 2.628 • determining latest version |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "bufio" | |
| "bytes" | |
| "encoding/json" | |
| "fmt" | |
| "io" | |
| "log" | |
| "net/http" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| description: Generates a dev env from a prompt | |
| tools: lang, prog, language-deps, devcontainer, launch | |
| arg: prompt: The description of the program you would like to create | |
| Do the following sequentially, not in parallel | |
| 1. Call @lang with ${prompt} to determine what programming language would be best suited for this task | |
| 1. Call @prog with ${prompt} and the determined language | |
| 1. Call @language-deps | |
| 1. Call @devcontainer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| The following tools | |
| ```json | |
| "tools": [ | |
| { | |
| "type": "function", | |
| "function": { | |
| "name": "read", | |
| "description": "Reads the contents of a file", | |
| "parameters": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tools: github.com/gptscript-ai/search/brave, sys.write, sys.http.html2text | |
| 1. First search the web for some good references on how to write Caddyfile according to the below instructions | |
| 2. Then write a the Caddyfile locally in the file Caddyfile | |
| Instructions: | |
| Create a web server that serves static files from the local directory /images at the URL /images. Those images | |
| should have prompt content caching headers on them. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tools: sys.http.html2text | |
| json: true | |
| Download the wikipedia article for "Walt Disney" and then process the output according to the following rules | |
| # Knowledge Graph Instructions for GPT-4 | |
| ## 1. Overview | |
| You are a top-tier algorithm designed for extracting information in structured formats to build a knowledge graph. | |
| - **Nodes** represent entities and concepts. They're akin to Wikipedia nodes. | |
| - The aim is to achieve simplicity and clarity in the knowledge graph, making it accessible for a vast audience. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #cloud-config | |
| users: | |
| - name: root | |
| passwd: root | |
| install: | |
| device: /dev/vda |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!ipxe | |
| set arch amd64 | |
| set version v2.0.0-alpha01 | |
| set url https://github.com/rancher/os/releases/download/${version} | |
| set kernel rancheros-${version}-${arch}-kernel | |
| set initrd rancheros-${version}-${arch}-initrd | |
| set rootfs rancheros-${version}-${arch}.squashfs | |
| kernel ${url}/${kernel} initrd=${initrd} ip=dhcp rd.cos.disable console=tty1 root=live:${url}/${rootfs} rancheros.install.automatic=true rancheros.install.config_url=http://10.100.0.10/harvester/config-create.yaml | |
| initrd ${url}/${initrd} | |
| boot |
NewerOlder