Skip to content

Instantly share code, notes, and snippets.

View marcellobenigno's full-sized avatar

Marcello Benigno marcellobenigno

  • João Pessoa / Paraíba / Brazil
View GitHub Profile
@marcellobenigno
marcellobenigno / configurar_pyenv.md
Created June 29, 2021 20:53 — forked from luzfcb/configurar_pyenv.md
instalar pyenv no ubuntu

baseado no meu outro tutorial https://gist.github.com/luzfcb/1a7f64adf5d12c2d357d0b4319fe9dcd

Use o pyenv https://github.com/pyenv/pyenv para baixar, instalar e gerenciar múltiplas versões do INTERPRETADOR Python na sua maquina.

Primeiro instale as dependências:

Linux (Ubuntu):

Abra um terminal, apertando o atalho CRTL + ALT + T ou digite aperte a tecla do windows e digite terminal, ou clique com o botão direito na tela, e escolha a opção "Abrir Terminal" (somente para Ubuntu 15.10 ou superior, para 14.04 é necessário instalar o pacote nautilus-open-terminal e reiniciar)

@marcellobenigno
marcellobenigno / iTerm2.md
Created September 2, 2020 19:09 — forked from soifou/iTerm2.md
iTerm2 Shortcuts

iTerm2 Shortcuts

Tab navigation

  • open new tab: Cmd + t
  • next tab: Cmd + Shift + ]
  • previous tab: Cmd + Shift + [

Pane navigation

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@marcellobenigno
marcellobenigno / git.md
Created May 30, 2020 14:43 — forked from leocomelli/git.md
Lista de comandos úteis do GIT

GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda

@marcellobenigno
marcellobenigno / README.md
Created June 3, 2017 10:43 — forked from clhenrick/README.md
PostgreSQL & PostGIS cheatsheet (a work in progress)

Install PostGIS and GeoServer on Ubuntu 13.04

PostGIS installation

Postgresql

Install the server:

sudo apt-get install postgresql-9.1 postgresql-contrib-9.1 pgadmin3

Execute the psql command under user postgres (sudo -u postgres)
and connect to database postgres (psql postgres):

@marcellobenigno
marcellobenigno / boilerplate2.sh
Created March 17, 2016 13:44 — forked from rg3915/boilerplate2.sh
Shell script to create a complete Django project in Mac with Python 3.5 and Django 1.9.3
# Shell script to create a complete Django project.
# This script require Python 3.x and pyenv
# Settings.py is config to Django 1.9.3
# The project contains:
# Settings config
# Person model and form
# Person list and detail
# Person create, update and delete
# Admin config