Skip to content

Instantly share code, notes, and snippets.

View manchuwook's full-sized avatar
💭
I may be slow to respond.

Steven Altsman manchuwook

💭
I may be slow to respond.
View GitHub Profile
@manchuwook
manchuwook / tarot.json
Created September 5, 2023 03:30
Tarot JSON
{
"majorArcana": [
{
"name": "The Fool",
"cardNumber": 1,
"symbols": [
"A man standing at the edge of a cliff",
"A barking dog"
],
"description": "The Fool represents new beginnings, having faith in the future, being inexperienced, not knowing what to expect, having beginner's luck, improvisation and believing in the universe to provide.",
@manchuwook
manchuwook / background-check.schema.json
Created September 11, 2023 00:40
background-check for characters
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"basicInformation": {
"type": "object",
"x-label": "Basic Information",
"properties": {
"basicInfo": {
"description": "What is the character’s age, sex, ethnicity? Describe {{possPronoun}} physical appearance (hair and eye color; body build; skin tone; height and weight; unique features such as glasses, scars, dimples, etc.).",
@manchuwook
manchuwook / generate_tls_secret.js
Last active March 12, 2024 18:48
Generate a kubernetes secret yaml using a certificate
const fs = require('fs');
const path = require('path');
function encodeFileContent(filePath) {
return new Promise((resolve, reject) => {
fs.readFile(filePath, { encoding: 'base64' }, (err, data) => {
if (err) {
reject(`Error reading file ${filePath}: ${err}`);
} else {
resolve(data);