Give me a name for an article about microservices on AWS.
Example output:
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 |
#!/bin/bash | |
######################################################################## | |
# Uses Podman to build an image and push it to ttl.sh (https://ttl.sh) # | |
######################################################################## | |
NAME=$(uuidgen | tr "[:upper:]" "[:lower:]") | |
echo "Image name is: ${NAME}" |
#!/bin/bash | |
# See: https://www.contentful.com/developers/docs/tutorials/cli/import-and-export/ | |
EXPORT_FOLDER="export" | |
EXPORT_FILE="backup.json" | |
SPACE_ID="YOUR_ID_HERE" | |
mkdir -p $EXPORT_FOLDER |
git log -S <string> | |
git log -p <FILE> | |
git log --pretty --abbrev-commit — <FILE> | |
git log --pretty=format:"%h %ad %an - %s" --abbrev-commit -- <FILE> | |
git bisect start | |
git bisect bad | |
git bisect good | |
git bisect reset |