This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class CampoMinado { | |
| private String[][] campoDados; | |
| public CampoMinado(int xSize, int ySize) throws Exception { | |
| if (xSize < 0 || ySize < 0) { | |
| throw new Exception("size must be positive"); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #systemctl status docker | |
| ● docker.service - Docker Application Container Engine | |
| Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled) | |
| Drop-In: /etc/systemd/system/docker.service.d | |
| └─http-proxy.conf | |
| Active: active (running) since Wed 2016-04-06 17:43:13 BRT; 11min ago | |
| Docs: https://docs.docker.com | |
| Main PID: 554 (docker) | |
| Tasks: 12 (limit: 3072) | |
| CGroup: /system.slice/docker.service |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| #vagrant up etcd | |
| Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
| config.vm.define "etcd" do |etcd| | |
| etcd.vm.hostname = "etcd" | |
| etcd.vm.provider "docker" do |d| | |
| d.image = "quay.io/coreos/etcd:v2.2.2" | |
| d.name = "etcd" |