Some command line tools and techniques for generating random strings.
openssl rand -base64 64
# cGuDXUoShzLaAgQSf7TX0trpQ6CtWD5u0VpGyBvGeuoYwFGDs+ZRLIP+TIFGyOln
# 3LYbPyKlHxkLfhiUKgCUSQ==
# 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! |
#!/bin/env bash | |
set -e | |
RED="\e[31m" | |
GREEN="\e[32m" | |
YELLOW="\e[33m" | |
ENDCOLOR="\e[0m" | |
CLUSTER_NAME=$1 |
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
import { useState } from "react"; | |
const App = () => { | |
const [onOffStatus, setOnOffStatus] = useState(false); | |
return ( | |
<div className="App" style={{ margin: "1rem" }}> | |
<header className="App-header"> | |
<h1>Seriously, this is a React App</h1> | |
</header> | |
<main> | |
<div |
const AWS = require('aws-sdk') | |
AWS.config.update({region: 'eu-west-1'}) | |
const ec2 = new AWS.EC2() | |
const inst = ec2.describeInstances().promise() | |
async function main(){ | |
const result = await inst |
.vscode/ | |
tmp/ | |
# Packages # | |
############ | |
# it's better to unpack these files and commit the raw source | |
# git has its own built in compression methods | |
*.7z | |
*.dmg | |
*.gz |
// export json from trello board | |
const board = require('./path/to/trelloboard.json') | |
for(let list of board.lists){ | |
let listcards = board.cards.filter(c => c.idList === list.id ) | |
console.log(list.name) | |
for(let card of listcards){ | |
console.log(`\t${card.name} [${card.desc}]`) | |
} | |
} |
ffprobe -v quiet -show_format -show_streams -pretty -print_format json ./video_file.mp4
Will output some lovely JSON to the console. Dump to a file with > json_file.json
or what-have-you.