Skip to content

Instantly share code, notes, and snippets.

View 1415926535's full-sized avatar
🙊

charlyRoot 1415926535

🙊
  • 96 Products
  • Pawleys Island, SC
View GitHub Profile
@1415926535
1415926535 / docker-compose.yml
Created August 28, 2020 17:20 — forked from ju2wheels/docker-compose.yml
docker-compose reference YAML file with comments
# https://docs.docker.com/compose/yml/
# Each service defined in docker-compose.yml must specify exactly one of
# image or build. Other keys are optional, and are analogous to their
# docker run command-line counterparts.
#
# As with docker run, options specified in the Dockerfile (e.g., CMD,
# EXPOSE, VOLUME, ENV) are respected by default - you don't need to
# specify them again in docker-compose.yml.
#
service_name:
@1415926535
1415926535 / .aliases
Last active August 27, 2020 17:05 — forked from yaoyunchen/.aliases
Aliases (~/.aliases)
# Docker
alias d='docker'
# alias da='docker attach'
alias dr='docker restart'
alias dimg='docker images'
alias dps='docker ps'
alias dvol='docker volume ls'
# alias dclearimg='docker rmi $(docker images --quiet --filter "dangling=true")'
# alias dclearps='docker ps --filter status=dead --filter status=exited -aq | xargs docker rm -v'
# alias dclearvol='docker volume rm $(docker volume ls -qf dangling=true)'
@1415926535
1415926535 / 0_reuse_code.js
Created August 30, 2017 19:56
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console