Skip to content

Instantly share code, notes, and snippets.

View rujmah's full-sized avatar
👨‍🚀
Looking to the future

Robin Mayfield rujmah

👨‍🚀
Looking to the future
View GitHub Profile
@rujmah
rujmah / README.md
Last active May 22, 2022 17:47
Flutter Firebase config

Configure Flutter IOS and Android app with Firebase

This Gist hopes to document my efforts to try and get past the Firebase Setup Step of the Fireship.io Flutter course and to understand Flutter and Fireship

From Step 3 of CodeLab Firebase get to know Flutter

Prerequisites

@rujmah
rujmah / setup-kong.sh
Created November 18, 2022 10:50
Kong & kubectl Env Settings setup script
#!/bin/env bash
set -e
RED="\e[31m"
GREEN="\e[32m"
YELLOW="\e[33m"
ENDCOLOR="\e[0m"
CLUSTER_NAME=$1
@rujmah
rujmah / random_passwords.md
Last active June 24, 2024 06:42
random passwords

Generate Random Passwords

Some command line tools and techniques for generating random strings.

openssl rand -base64 64
# cGuDXUoShzLaAgQSf7TX0trpQ6CtWD5u0VpGyBvGeuoYwFGDs+ZRLIP+TIFGyOln
# 3LYbPyKlHxkLfhiUKgCUSQ==
@rujmah
rujmah / gist:db1c41d5341e4d66f30190b07d4541cf
Created November 28, 2023 12:03 — forked from levelsio/gist:5bc87fd1b1ffbf4a705047bebd9b4790
Secret of Monkey Island: Amsterdam (by @levelsio) or how to create your own ChatGPT image+text-based adventure game
# 2023-11-27 MIT LICENSE
Here's the open source version of my ChatGPT game MonkeyIslandAmsterdam.com.
It's an unofficial image+text-based adventure game edition of Monkey Island in Amsterdam, my home town.
Please use it however you want. It'd be nice to see more ChatGPT-based games appear from this. If you get inspired by it, please link back to my X https://x.com/levelsio or this Gist so more people can do the same!
Send me your ChatGPT text adventure game on X, I'd love to try it!
@rujmah
rujmah / List_of_framework_generated_tsconfigs.md
Last active May 24, 2024 14:59
List of Framework generated tsconfigs

List of Framework generated tsconfigs

How do the frameworks do it?

framework generation cmd files
nextjs
vite (vanilla )
vite react
Create React App
@rujmah
rujmah / readMessage.ts
Created November 7, 2024 11:50
SLS v4 SQS write and read functions
// src/functions/readMessage.ts
import { SQSClient, ReceiveMessageCommand, DeleteMessageCommand } from '@aws-sdk/client-sqs';
import type { APIGatewayProxyHandler } from 'aws-lambda';
const sqsReaderClient = new SQSClient({});
export const handler: APIGatewayProxyHandler = async () => {
const QUEUE_URL = process.env.QUEUE_URL;
if (!QUEUE_URL) {