This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"============================================================================================= | |
"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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"============================================================================================= | |
"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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
const Hapi = require('hapi'); | |
const Sequelize = require('sequelize'); | |
const sequelize = new Sequelize('alltism', 'root', 'root', { | |
host: 'localhost', | |
dialect: 'mysql', | |
pool: { | |
max: 5, |