Skip to content

Instantly share code, notes, and snippets.

@jaydenmilne
jaydenmilne / costco.py
Created October 8, 2020 18:58
An example of a little game you can make with minimal programming knowledge for my sister
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 23:07
How to start the Bedrock Docker image
#!/bin/bash
docker run -d \
-p 19132:19132/UDP \
-v bedrock-worlds:/opt/bedrock \
mojang/bedrock
@jaydenmilne
jaydenmilne / Dockerfile
Created May 16, 2019 23:05
Simple example of a Dockerfile for Bedrock
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"]