Skip to content

Instantly share code, notes, and snippets.

View daelious's full-sized avatar

Keith Meyer daelious

View GitHub Profile
docker build -t friendlyname . # Create image using this directory's Dockerfile
docker run -p 4000:80 friendlyname # Run "friendlyname" mapping port 4000 to 80
docker run -d -p 4000:80 friendlyname # Same thing, but in detached mode
docker ps # See a list of all running containers
docker stop <hash> # Gracefully stop the specified container
docker ps -a # See a list of all containers, even the ones not running
docker kill <hash> # Force shutdown of the specified container
docker rm <hash> # Remove the specified container from this machine
docker rm $(docker ps -a -q) # Remove all containers from this machine
docker images -a # Show all images on this machine
@daelious
daelious / DCPU-16Spec.txt
Created September 27, 2017 19:50 — forked from metaphox/DCPU-16Spec.txt
DCPU-16 Specification
DCPU-16 Specification
Copyright 1985 Mojang
Version 1.7
=== SUMMARY ====================================================================
* 16 bit words
* 0x10000 words of ram
@daelious
daelious / keybase.md
Created February 27, 2020 04:23
keybase.md

Keybase proof

I hereby claim:

  • I am meyerkeith on github.
  • I am khmeyer (https://keybase.io/khmeyer) on keybase.
  • I have a public key ASDjDwN0fr5gYTdHYoRdKhGUHeFqgwjCKZMdMHSt4CsOKQo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am meyerkeith on github.
  • I am keithmeyer (https://keybase.io/keithmeyer) on keybase.
  • I have a public key ASDGcs5MbAbcLrmHGpNpsH4z-NM_nIIMY4cAQv5_R-adNgo

To claim this, I am signing this object: