Skip to content

Instantly share code, notes, and snippets.

View geisonsn's full-sized avatar

Geison Nascimento geisonsn

View GitHub Profile
@geisonsn
geisonsn / index.js
Created January 24, 2018 13:23
Hapi Example
'use strict';
const Hapi = require('hapi');
const Sequelize = require('sequelize');
const sequelize = new Sequelize('alltism', 'root', 'root', {
host: 'localhost',
dialect: 'mysql',
pool: {
max: 5,
@geisonsn
geisonsn / .vimrc
Last active October 11, 2016 19:15
Ubuntu14.04 Work
"=============================================================================================
"Configurações do Vundle
"=============================================================================================
set nocompatible
filetype off
"Configuração do caminho para o executável do Vundle
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
@geisonsn
geisonsn / .vimrc
Last active January 13, 2017 17:35
Dell/Ubuntu 16.04
"=============================================================================================
"Configurações do Vundle
"=============================================================================================
set nocompatible
filetype off
"Configuração do caminho para o executável do Vundle
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
@geisonsn
geisonsn / Ex01.sql
Last active October 8, 2015 01:23
Aula do dia 05/10/2015 - Exercício sobre trigger
create or replace trigger full_name_trigger
BEFORE insert or update on employees
for each row
begin
:new.full_name := :new.first_name || ' ' || :new.last_name;
END;
@geisonsn
geisonsn / .vimrc
Last active October 8, 2018 12:46
Meu arquivo de configuração .vimrc
set nocompatible "Necessário para o Vundle
filetype off "Necessário para o Vundle
"Configuração do caminho para o executável do Vundle
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim' "Gerenciador de plugins Vundle
Plugin 'scrooloose/syntastic' "Checador de sintaxe