Skip to content

Instantly share code, notes, and snippets.

View emanuel's full-sized avatar
🤺
focusing

Emanuel Mota emanuel

🤺
focusing
View GitHub Profile
[
{
"address": "Rua D. Diogo de Sousa, nº 6 · 4715-039 Braga",
"hours": "12:30 - 22:00",
"topText": "Um delicioso local de partilha, aberto à comunidade.",
"description": "Um restaurante onde podemos chegar e comer a qualquer hora, sozinhos ou bem acompanhados; o ambiente acolhedor e descontraído, uma simpática esplanada e as mesas corridas convidam à conversa e à partilha. O menu é composto por pratos tradicionais e contemporâneos, para todos os gostos e estilos de vida. \n\nPequeno-almoço: 07h30—10h30 \nAlmoço: 12h30—14h30 \nJantar: 19h30—22h00 \n\nServiço à carta e Petiscos, todos os dias 12h30—23h00 \nDeliciosas sugestões do chefe, de segunda a sexta \nBrunch, aos sábados das 12h30—15h e aos domingos das 12h30—17h",
"ementa": {
"boldText": "Cozinha tradicional portuguesa with a twist.",
"description": "Siga as deliciosas sugestões do chefe de segunda a sexta, deixe-se levar pela nossa carta ou prove os nossos petiscos em qualquer dia da semana… ou de

Components

  1. Postgrest
  2. PostgreSql
  3. Elixir

connect to rabbitmq using amqp

 {:ok, connection} = AMQP.Connection.open(host: "localhost", port: 5672, virtual_host: "/", username: "admin", password: "adminpass")

Instruçōes para realizar o setup da Ethereum Wallet para o workshop de Blockchain

1 - Descarregar um cliente para a rede ethereum (Ethereum Wallet)

ou

@emanuel
emanuel / init.vim
Last active November 21, 2017 11:40
My neovim config
let os = substitute(system('uname'), "\n", "", "")
call plug#begin('~/.vim/plugged')
Plug 'mileszs/ack.vim'
Plug 'morhetz/gruvbox'
" Plug 'vim-scripts/wombat256.vim'
" Plug 'altercation/vim-colors-solarized'
Plug 'NLKNguyen/papercolor-theme'
Plug 'vim-airline/vim-airline-themes'

Entities

The entities identified so far that need to data to be stored and have relationships with each other are the following:

  • Brand
  • Vertical
  • Fans
  • Community
  • Campaigns
  • Hashtag

Definitions

  • Chat Widget: A chat icon that expands into a chat window and allows visitors of a website to chat with the hosts.
  • Host: entity that is hosting the chat widget and has access to the configuration of the chat backend and the chat dashboard.
  • Host user: a user that is a member of the Host entity.
  • Visitor: a user that established a conexion to the host and wants to chat.
  • Identified Visitor: a visitor that has given a form of contact (Email | Phone)

Chat Widget Components

Aliases

(sorted alphabetically)

Zshell Git Aliases Cheat Sheet

Most Used

  • gb - 'git branch'
  • gbda - Deletes local branches that have been merged
  • gbl - Git blame