Skip to content

Instantly share code, notes, and snippets.

💭
🍺

José Ribeiro Filho zekitow

💭
🍺
  • Berlin, Germany
Block or report user

Report or block zekitow

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
@zekitow
zekitow / install-docker.sh
Created Jun 23, 2018 — forked from dweldon/install-docker.sh
Install docker CE on Linux Mint 18.3
View install-docker.sh
#!/usr/bin/env bash
# https://docs.docker.com/install/linux/docker-ce/ubuntu/
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"
sudo apt-get update
sudo apt-get install docker-ce
# https://docs.docker.com/compose/install/
View osx-install-pg-dev-mode.md
  1. PostgreSQL

Para instalar o banco de dados, executar os seguintes comandos no terminal:

brew update
brew install postgres

Após a instalação, executar o seguinte comando para subir o serviço:

postgres -D /usr/local/var/postgres
@zekitow
zekitow / 00. tutorial.md
Created Mar 1, 2016 — forked from maxivak/00. tutorial.md
Importing/Indexing database (MySQL or SQL Server) in Solr using Data Import Handler
View 00. tutorial.md
@zekitow
zekitow / pg.md
Last active Aug 29, 2015
Postgres - Command line
View pg.md

After Install

sudo -u postgres createuser -s $USER

Command line login

psql -d USERNAME -U DB_NAME

Backup restore

You can’t perform that action at this time.