View codename
This file contains 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
007 |
View post.py
This file contains 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
# python3 -m pip install fastapi pytest | |
# python3 -m pytest tests/post.py | |
from typing import Union | |
from fastapi import Form, FastAPI, Query | |
from fastapi.testclient import TestClient | |
app = FastAPI() | |
@app.post("/list") |
View updates.json
This file contains 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
{ | |
"name": "asdf", | |
"notes": "vvvvv", | |
"pub_date": "2022-01-30T22:34:40Z", | |
"platforms": { | |
"win64": { | |
"signature": "", | |
"url": "https://github.com/jedahan/sbb-live/releases/download/v0.2.10/storybook-brawl-live.zip" | |
} | |
} |
View podman-desktop.bash
This file contains 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
#!/usr/bin/env bash | |
set -e | |
command -v multipass 2>/dev/null || die "missing multipass" | |
command -v podman 2>/dev/null || die "missing podman" | |
INSTANCE_NAME="podman" | |
VERSION_ID="20.04" | |
IDENTITY="${IDENTITY:-~/.ssh/id_rsa}" | |
PUBKEYFILE=${PUBKEY:-${IDENTITY}.pub} |
View gist:5230535ee43ba3080ccca057cf93d79f
This file contains 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
BEGIN MESSAGE. | |
Bo7OXbFJiyCUCi6 591BfcmzVpBLNP7 djseQNhq5fHf7BP rcV44f2NqNy8lDf | |
UXEsmaOiJlpupE8 zsfUgAPWb2dTCKq 6Xr2MZHgg7HeUSB drH1JEKBnf3uxnV | |
tgInHeCjdOXEeYk Vj4UCFmrGvfvJw1 TMGi0JZxLQI2PHA yY64bioRN4PnR9m | |
hKwj23bnAOvvOQ9 qi2sYMiyTlZqqjK TRRLe2IP. | |
END MESSAGE. |
View Makefile.podman-bridge
This file contains 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
ARCH ?= arm64 | |
VERSION ?= 20.10 | |
SPIN ?= live-server | |
vftool ?= ./vftool/build/vftool | |
DATA ?= ./data | |
ISO := ubuntu-$(VERSION)-$(SPIN)-$(ARCH).iso | |
MOUNTPOINT := /Volumes/Ubuntu | |
CD := $(DATA)/$(ISO) |
View Makefile.podman-bridge
This file contains 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
VERSION=20.10 | |
ISO=ubuntu-$(VERSION)-desktop-amd64.iso | |
MOUNTPOINT=/Volumes/Ubuntu | |
DATA ?= ./data | |
IMAGE ?= $(DATA)/$(ISO) | |
KERNEL ?= $(DATA)/vmlinuz | |
INITRD ?= $(DATA)/initrd | |
vftool ?= ./vftool/build/vftool | |
.PHONY: run select |
View Makefile.podman-bridge
This file contains 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
VERSION=20.10 | |
ISO=ubuntu-$(VERSION)-desktop-amd64.iso | |
MOUNTPOINT=/Volumes/Ubuntu | |
DATA ?= ./data | |
IMAGE ?= $(DATA)/$(ISO) | |
KERNEL ?= $(DATA)/vmlinuz | |
INITRD ?= $(DATA)/initrd | |
vftool ?= ./vftool/build/vftool | |
.PHONY: run select |
View build
This file contains 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
#!/bin/sh -e | |
install -D file "$1/root/file" |
View basic.zsh
This file contains 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
basic() { echo '>'} |
NewerOlder