Skip to content

Instantly share code, notes, and snippets.

View making's full-sized avatar

Toshiaki Maki making

View GitHub Profile
@making
making / README.md
Created November 20, 2026 07:52
A YAVI decoder binding for Souther, against souther.runtime.boundary alone (reference)

A YAVI decoder binding for Souther (reference)

This is a decoder binding for YAVI, written only against the boundary API of souther-runtime (souther.runtime.boundary). It is not part of the PR. It shows that the API is enough for a library other than Raoh, including one whose paths and messages are structured.

A decoder binding does three things:

Role Here

Simple Bulletin Board REST API Documentation

Overview

This document outlines the REST API for a simple bulletin board system. The API provides endpoints for posting, retrieving, and deleting comments, with pagination support for comment retrieval.

Base Information

  • Base URL: /api/v1
  • Response Format: JSON
  • Authentication: Not implemented in this simple version
#!/bin/bash
set -e
NAMESPACE=$1
SERVICE_ACCOUNT=$2
SECRET_NAME=${SERVICE_ACCOUNT}-token
cat <<EOF | kubectl apply -n ${NAMESPACE} -f - > /dev/null
apiVersion: v1
kind: Secret
metadata:
apiVersion: v1
kind: Secret
metadata:
name: tap-gui-db
namespace: tap-install
type: Opaque
stringData:
tap-gui-db.yml: |
#@ load("@ytt:overlay", "overlay")
#@overlay/match by=overlay.subset({"kind":"Deployment","metadata":{"name":"server"}})
@making
making / Dockerfile
Last active September 29, 2026 11:06
Dockerfile for Spring Boot + CRaC
FROM azul/zulu-openjdk:21-jdk-crac-latest as builder
WORKDIR application
ADD ./.mvn .mvn/
ADD ./mvnw mvnw
ADD ./pom.xml pom.xml
ADD ./src src/
ADD ./.git .git/
RUN ./mvnw -V clean package -DskipTests --no-transfer-progress && \
cp target/*.jar application.jar && \
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@making
making / Dockerfile
Last active August 14, 2023 12:43
wasm-builder
FROM ubuntu:jammy
USER root
RUN apt-get update -qq && \
apt-get install -y -qq wget curl build-essential && \
rm -rf /var/lib/apt/lists/*
RUN wget -q https://github.com/tinygo-org/tinygo/releases/download/v0.28.1/tinygo_0.28.1_amd64.deb && \
dpkg -i tinygo_0.28.1_amd64.deb && \
rm tinygo_0.28.1_amd64.deb
@making
making / unit-test-pipeline-cache.yaml
Last active July 5, 2022 07:03
TestContainers on Tekton (privileged required)
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: unit-test-pipeline-cache
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
@making
making / input.yml
Last active December 13, 2021 04:51
ytt理解チェック
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: demo
name: demo
spec:
replicas: 1
selector:
matchLabels:
#@ load("@ytt:sha256", "sha256")
#@ load("@ytt:data", "data")
---
version: "3"
services:
monitoring-config:
image: hairyhenderson/gomplate:v3.10.0-alpine
container_name: monitoring-config
entrypoint: ["/bin/sh","-c"]
command: