Skip to content

Instantly share code, notes, and snippets.

Avatar

Jayden Milne jaydenmilne

View GitHub Profile
@jaydenmilne
jaydenmilne / costco.py
Created Oct 8, 2020
An example of a little game you can make with minimal programming knowledge for my sister
View costco.py
import random
def costco_police():
print("'You can't do that' yells the Costco Police")
print("They throw you in Costco Jail for the rest of your life. There is no rotisserie chicken here.")
fail()
def fail():
print("MISSION FAILED: YOU DID NOT GET THE ROTISSERIE CHICKEN")
exit(0)
@jaydenmilne
jaydenmilne / start-bedrock-docker.sh
Created May 16, 2019
How to start the Bedrock Docker image
View start-bedrock-docker.sh
#!/bin/bash
docker run -d \
-p 19132:19132/UDP \
-v bedrock-worlds:/opt/bedrock \
mojang/bedrock
@jaydenmilne
jaydenmilne / Dockerfile
Created May 16, 2019
Simple example of a Dockerfile for Bedrock
View Dockerfile
FROM ubuntu
RUN mkdir /opt/bedrock
COPY bedrock-server-1.11.2.1 /opt/bedrock
RUN apt-get update
RUN apt-get install -y libcurl4
ENV LD_LIBRARY_PATH /opt/bedrock
VOLUME ["/opt/bedrock"]
You can’t perform that action at this time.