Skip to content

Instantly share code, notes, and snippets.

@MarkyC
MarkyC / owncloud-docker-compose.yml
Created October 21, 2017 21:38 — forked from MickaelBergem/ owncloud-docker-compose.yml
Docker Compose file for setting up an ownCloud server using a PostgreSQL database
# Composition of the containers
owncloud:
image: owncloud
ports:
- 80:80
volumes_from:
- owncloud-data
links:
- postgres:owncloud-db
// Don't do this:
switch (foo) {
case 5:
x = "Hello";
break;
case 10:
x = "Hi";
break;
}
@MarkyC
MarkyC / 0_reuse_code.js
Last active August 29, 2015 14:11
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