Skip to content

Instantly share code, notes, and snippets.

Gabriel gabrielb

  • São Leopoldo - Brazil
Block or report user

Report or block gabrielb

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@gabrielb
gabrielb / docker-swarm-mode-demo.txt
Last active Jul 13, 2016
Comandos demonstrando o uso do Docker 1.12 Swarm Mode
View docker-swarm-mode-demo.txt
Instalar Docker 1.12 no Linux:
- sudo su
- curl -fsSL https://experimental.docker.com/ | sh
Instalar Docker-machine v0.8.0 no Linux:
- curl -L https://github.com/docker/machine/releases/download/v0.8.0-rc2/docker-machine-`uname -s`-`uname -m` >/usr/local/bin/docker-machine
- chmod +x /usr/local/bin/docker-machine
Criar VM's com Docker Engine:
- docker-machine create -d virtualbox master
@gabrielb
gabrielb / FilesListServlet
Created Apr 26, 2014
Identify Files Not Requested
View FilesListServlet
package com.fileNotRequested;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class FilesListServlet extends HttpServlet {
You can’t perform that action at this time.