Skip to content

Instantly share code, notes, and snippets.

View mikewesthad's full-sized avatar

Michael Hadley mikewesthad

View GitHub Profile
@mikewesthad
mikewesthad / CreatureArt.txt
Last active April 17, 2022 04:19
Creature ASCII Art
/
o /
./|\.%
_/ \_
~ Mike Hadley, player with sword, no attribution needed
/ / \
/ / \ / \
\ \ / \ / /
/ / / o \ \ \ \
@mikewesthad
mikewesthad / rps.txt
Last active February 5, 2021 00:54
Rock Paper Scissors ASCII Art
_______
---' ____)
(_____)
(_____)
(____)
---.__(___)
_______
---' ____)____
______)
_______)
Mystery Bottle
A bottle that contains a mysterious liquid. We have no idea what it does.
10.50, Blue, 10
Half Shield
Literally half a shield. We don't know where the other half is.
222.25, Red, 2
Scroll of Magic
This scroll contains the secret words to cast a powerful magical spell. (Or at least, we think it does. We haven't tested it.)
Ageing Potion
Green
Causes the drinker to age temporarily.
Newt spleens, Bananas
Anti-Paralysis Potion
Red
Cures paralysis.
Bitterroot, Mandrake Root, Ginger
Source: https://www.asciiart.eu/computers/smileys
_.-'''''-._
.' _ _ '.
/ (o) (o) \
| |
| \ / |
\ '. .' /
'. `'---'` .'
'-._____.-'
@mikewesthad
mikewesthad / Firestore-Cheatsheet.md
Last active October 25, 2020 15:05
Cheatsheet for performing CRUD operations with the JS Firestore library

Firestore Cheatsheet

The acronym CRUD stands for create, read, update and delete. These are the basic operations that you need to be able to perform with a database (or other persistent store).

Create

Guides:

I'm going to make him an offer he can't refuse.
The Godfather, 1972, 9.2, 98
May the Force be with you.
Star Wars, 1977, 8.7, 94
E.T. phone home.
E.T. The Extra-Terrestrial, 1982, 7.8, 98
Bond. James Bond.
I'm going to make him an offer he can't refuse.
The Godfather, 1972
May the Force be with you.
Star Wars, 1977
E.T. phone home.
E.T. The Extra-Terrestrial, 1982
Bond. James Bond.
+---------+
| ? ? |
| ? ? ? |
| ? ? |
+---------+
+---------+
| |
| o |
| |