Skip to content

Instantly share code, notes, and snippets.

#Setting up Nginx on Your Local System ###by Keith Rosenberg

##Step 1 - Homebrew The first thing to do, if you're on a Mac, is to install homebrew from http://mxcl.github.io/homebrew/

The command to type into terminal to install homebrew is:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
@eibreans
eibreans / Dockerfile PHP
Created October 11, 2017 17:48
List of commands to use with https://hub.docker.com/_/php/
https://hub.docker.com/_/php/
RUN apt update
RUN apt upgrade -y
RUN apt install -y apt-utils
RUN a2enmod rewrite
RUN apt install -y libmcrypt-dev
RUN docker-php-ext-install mcrypt
RUN apt install -y libicu-dev
RUN docker-php-ext-install -j$(nproc) intl
curl localhost/__import -X POST -H 'X-User: manaus' -H 'X-Authorization: ed3b311ae241d81da6596b2aba4af1ab' -d 'create_store=0&admin_email=&admin_nome=&admin_sobrenome=&admin_document=&admin_phone=&admin_pass=&color=&store_data=%7B%22code%22%3A%2200%22%2C%22data%22%3A%7B%22restaurant%22%3A%7B%22id%22%3A25515%2C%22restaurantId%22%3A25515%2C%22uuid%22%3A%228392c128-bf2c-4c65-8613-fd4c152e2552%22%2C%22companyGroup%22%3A%22IFO%22%2C%22name%22%3A%22Bif%C3%A3o+Steakhouse+-+Vitoria%22%2C%22description%22%3A%22Seja+muito+bem+vindo+ao+Bif%C3%A3o+Steakhouse.+Somos+a+MAIOR+rede+de+fast+food+CAPIXABA%21+Lanches%2C+pratos%2C+massas%2C+milkshakes%2C+saladas%2C+pizzas+e+muito+mais%21%5Cr%5Cn%5Cr%5Cn%5Cr%5Cn%5Cr%5Cn%22%2C%22tags%22%3A%5B%5D%2C%22corporateName%22%3A%22Bif%C3%A3o+Steakhouse+Vit%C3%B3ria%22%2C%22logoUrl%22%3A%22iFood-01+%281%29_BIFAO_TORIA.png%22%2C%22siteUrl%22%3A%22vitoria-es%2Fbifao-steakhouse---vitoria-santa-lucia%22%2C%22recent%22%3Afalse%2C%22groupId%22%3A11800%2C%22acceptOnlinePayment%22%3Atrue%2C%22phone
@eibreans
eibreans / vagrant + docker + windows 10.md
Last active March 28, 2023 04:49
Passo a passo docker rodando sobre o vagrant no windows 10

A ideia é ter um Linux virtualizado no windows, que dê para rodar o docker e usar o vagrant como um sistema sobre o Windows. Para não precisar de fazer dual boot, já que tudo o que eu preciso é um terminal Linux que eu posso instalar qualquer coisa com apt-get :)

  1. Instalar no windos o cmder, um emulador de console http://cmder.net/

  2. Instalar virtual box https://www.virtualbox.org/wiki/Downloads

  3. Instalar o vagrant