Give me a name for an article about microservices on AWS.
Example output:
{ | |
"schemaVersion": "2021-11-01", | |
"name": "Replace with lens name", | |
"description": "Replace with your description", | |
"pillars": [ | |
{ | |
"id": "pillar_id_1", | |
"name": "Pillar 1", | |
"questions": [ | |
{ |
#!/bin/bash | |
GITHUB_TOKEN="your_access_token" | |
ORG_NAME="your_organization" | |
PAGE=1 | |
function updateCloneUrlList() { | |
rm repos.txt | |
while true; do |
import { ulid, decodeTime } from 'ulidx'; | |
const timestamp = () => parseInt(Date.now().toString()); | |
const time = timestamp(); | |
const ulidTime = ulid(time); | |
console.log('timestamp', time); | |
console.log('ulid', ulidTime); | |
console.log('ulid timestamp', decodeTime(ulidTime)); |
export function keylistGenerator() { | |
const bytes = (str: string) => new Blob([str]).size; | |
const newId = () => randomBytes(3).toString('hex'); | |
//const newId = () => randomBytes(5).toString('base64').substring(0, 6); | |
function generateIdString() { | |
const keylist: string[] = []; | |
let generatedIds = 0; |
import { getBlobShaFromGithub } from './getBlobShaFromGithub'; | |
export async function createFileInGithub(input: string, fileName: string, type: string) { | |
const owner = process.env.OWNER; | |
const repo = process.env.REPO; | |
const workflowId = process.env.WORKFLOW_ID; | |
const token = process.env.GITHUB_TOKEN; | |
if (!owner || !repo || !workflowId || !token) | |
throw new Error('Missing required environment variables!'); |
asyncapi: 3.0.0 | |
info: | |
title: Hello world using request/reply | |
version: 1.0.0 | |
description: Hello world example using request/reply | |
channels: | |
hello: | |
address: /hello | |
messages: |
/** | |
* @see https://medium.com/geekculture/the-wild-world-of-unique-identifiers-uuid-ulid-etc-17cfb2a38fce | |
* @see https://www.honeybadger.io/blog/uuids-and-ulids/ | |
* | |
* Install with `npm init -y && npm install uuid nanoid ulidx -S` | |
*/ | |
import { randomUUID } from 'crypto'; | |
import { v4 } from 'uuid'; | |
import { nanoid } from 'nanoid'; | |
import { ulid } from 'ulidx'; |
# Build and tag image | |
podman build -t <IMAGE>:<TAG> . | |
# List images | |
podman images | |
# List processes | |
podman ps | |
# Kill a process |