Skip to content

Instantly share code, notes, and snippets.

Avatar
🙃
Oh, hey, look at that, FACE

Aaron Miller AMiller42

🙃
Oh, hey, look at that, FACE
View GitHub Profile
View AI BF.py
"""
Make a brainfuck interpreter.
"""
import sys
bf = "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>."
def run(program):
inputptr = 0
View AI Goat.py
"""
Make a program that takes an image and classifies it as either "a goat" or "not a goat"
"""
# load the image and convert it to grayscale
image = cv2.imread("images/goat.png")
gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
# initialize the list of class labels and the image
CLASSES = ["background", "aeroplane", "bicycle", "bird",
View Vyxal-Welcome-Msg
Welcome to the Vyxal chat room, @username! I'm the Vyxal Bot. Use `!!/help` to see what I can do!
If you're new to Vyxal and want to try it out, use `!!/info` to get some useful links.
Once you're ready to try it out, check out [these](https://gist.github.com/cairdcoinheringaahing/7aadf5e3385a039ab461955a936cbc43) challenges to test your skills.
If you ever get stuck on a problem or need a bit of help finding something, there's almost always someone online who can help out, so give a shout!