A minimal multi-agent system with an orchestrator, a planner, a coder, and a designer working together providing orchestration between Claude, Codex and Gemini.
Install all agents listed below into VS Code Insiders...
| Title | Type | Description |
|---|
| #!/bin/sh | |
| # Decode a JWT from stdin and verify it's signature with the JWT issuer public key | |
| # Only RS256 keys are supported for signature check | |
| # | |
| # Put OAuth server public key in PEM format to /var/cache/oauth/$JWT_KID.key.pub.pem | |
| # You must create the folder first | |
| # $ sudo mkdir -p /var/cache/oauth/ | |
| # To converted key from JWK to PEM use https://8gwifi.org/jwkconvertfunctions.jsp or https://keytool.online/ | |
| # NOTE: For Google you can get the keys in PEM format via https://www.googleapis.com/oauth2/v1/certs | |
| # Decode the keys with decodeURIComponent() |
openssl genrsa -out self-ssl.key
openssl req -new -key self-ssl.key -out self-ssl.csr -config csr.conf
openssl x509 -req -days 365 -in self-ssl.csr -signkey self-ssl.key -out self-ssl.crt -extensions req_ext -extfile csr.conf
Sign from Root CA:
openssl x509 -req -days 365 -extensions req_ext -extfile csr.conf -CA RootCA.crt -CAkey RootCA.key -in self-ssl.csr -out self-ssl.crt
| --- | |
| apiVersion: v1 | |
| kind: ConfigMap | |
| metadata: {name: content} | |
| data: | |
| index.html: '<html><body><h1>Hello world</h1></body></html>' | |
| --- | |
| apiVersion: apps/v1beta2 | |
| kind: Deployment | |
| metadata: {name: lb} |
| # Uncomment to print commands being executed | |
| # set -x | |
| pid=0 | |
| # SIGTERM-handler | |
| term_handler() { | |
| echo "Handler INT"; | |
| if [ $pid -ne 0 ]; then | |
| kill -SIGTERM "$pid" | |
| wait "$pid" |
| /******************************************************************************* | |
| * Copyright (c) 2017 Nicola Del Gobbo | |
| * Licensed under the Apache License, Version 2.0 (the "License"); you may not | |
| * use this file except in compliance with the License. You may obtain a copy of | |
| * the license at http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS | |
| * OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY | |
| * IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | |
| * MERCHANTABLITY OR NON-INFRINGEMENT. |
| #!/bin/bash | |
| set -e | |
| function ynprompt { | |
| read -n 1 -r -p "KEEP GOING? [Y/n] " response | |
| if [[ $response =~ ^([nN])$ ]] | |
| then | |
| exit | |
| fi |
| #!/usr/bin/env python | |
| import argparse,collections,json,shlex,urllib,re | |
| from datetime import datetime | |
| from datetime import timedelta | |
| from dateutil.parser import parse | |
| from termcolor import colored | |
| # Command line arguments | |
| parser = argparse.ArgumentParser() | |
| parser.add_argument("--dry-run", dest="dryrun", action="store_const", const=True, default=False, help="Do not delete SonarQube projects.") |
We will compare ASP.NET and Node.js for backend programming.
Source codes from examples.
This document was published on 21.09.2015 for a freelance employer. Some changes since then (14.02.2016):
async/await. yield and await are used almost in the same way, so I see no point to rewrite the examples.