One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| SHELL := /bin/sh | |
| MAKEFLAGS += -Rrs | |
| .ONESHELL: | |
| .SUFFIXES: | |
| python := $(shell which python3) | |
| args = $(filter-out $@,$(MAKECMDGOALS)) | |
| uv := .uv/bin/uv |
| def partition(array, low, high): | |
| pi = low | |
| pivot = array[high] | |
| for i in range(low, high): | |
| if array[i] <= pivot: | |
| array[pi], array[i] = array[i], array[pi] | |
| pi += 1 | |
| array[pi], array[high] = array[high], array[pi] |
| from typing import Dict, Any, Optional, Union | |
| import requests.adapters | |
| import uvicorn | |
| from fastapi import FastAPI | |
| from fastapi.responses import JSONResponse | |
| app = FastAPI() | |
| public_ip_apis = [ |
| version: "3" | |
| services: | |
| zookeeper: | |
| image: bitnami/zookeeper | |
| ports: | |
| - "2181:2181" | |
| environment: | |
| ALLOW_ANONYMOUS_LOGIN: yes | |
| volumes: |
| SHELL := /bin/sh | |
| BIN := bin | |
| define ADD_TOOL_BINARY_RULE | |
| TOOLS_BINARIES += $$(BIN)/$$(notdir $(1)) | |
| $$(lastword $$(TOOLS_BINARIES)): | |
| @go build -o $$@ $(1) | |
| endef |
| @import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700&display=swap'); | |
| #board { | |
| font-family: 'Comic Neue', cursive; | |
| font-weight: 700; | |
| } | |
| .list-card-title { | |
| font-weight: 300; | |
| } |
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "github.com/spf13/cobra" | |
| "github.com/spf13/viper" | |
| ) |
| #!/bin/bash | |
| clang-format -style="{\ | |
| BasedOnStyle: Google, \ | |
| AccessModifierOffset: -2, \ | |
| AlignEscapedNewlines: DontAlign, \ | |
| AlignTrailingComments: false, \ | |
| AllowShortFunctionsOnASingleLine: Inline, \ | |
| AllowShortIfStatementsOnASingleLine: false, \ | |
| AllowShortLoopsOnASingleLine: false, \ |