Skip to content

Instantly share code, notes, and snippets.

View jzcorrea's full-sized avatar
🎯
Focusing

José Leonardo Correa jzcorrea

🎯
Focusing
  • Clinicorp
  • Brazil
View GitHub Profile
@jzcorrea
jzcorrea / load-dump-psql.sh
Last active March 15, 2018 18:32
Carregar dump SQL via PSQL
psql -h localhost -U node -d nf_client_137 < /home/sofit-jose/Downloads/client_137_2017-08-10-04-11-11.sql
@jzcorrea
jzcorrea / dump-psql.sh
Created October 23, 2017 11:29
Criar dump SQL via PSQL
pg_dump --dbname=$database --username=$username --password --host=$host --port=$port -f $file
@jzcorrea
jzcorrea / ambiente-dev-sofit.txt
Last active September 3, 2018 13:27
Configuração do ambiente de desenvolvimento SOFIT
chrome
https://www.digitalocean.com/community/tutorials/how-to-install-git-on-ubuntu-16-04
https://github.com/creationix/nvm#install-script
Instalar com o NVM a versão 6.11.3 do Node
http://emberjs.com/ - Instalar a versão 2.18.2.
https://github.com/sequelize/cli
nodemon
bower
echo fs.inotify.max_user_watches=582222 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
http://askubuntu.com/questions/765539/how-to-install-postgresql-9-4-on-ubuntu-16-04
@jzcorrea
jzcorrea / instalar-phantomjs-ubuntu.md
Created January 9, 2018 10:52
Instalação do PhantomJS no Ubuntu

How to install PhantomJS on Ubuntu

Version: 2.1.1

Platform: x86_64

First, install or update to the latest system software.

sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
@jzcorrea
jzcorrea / NFLT-2730.md
Last active February 15, 2018 17:17
Alterações necessárias para testar o carregamento de relacionamentos ON DEMAND

ADICIONAR RELACIONAMENTOS DOS MODELS COMO LISTA:

{
	model: 'NomeDoModelRelacionado',
	type: 'belongsTo|hasOne|hasMany|belongsToMany',
	options: {
		as: 'AliasDoRelacionamento',
		foreignKey: 'ChaveDoRelacionamento',
 through: 'OpcoesDeRelacionamentoN:N'

TOP PISTOLAS DESENVOLVIMENTO

Posição Sujeito XP
1 Zinho 100XP
2 Xaveco 70XP
3 Anacleto 60XP
4 Deco 20XP
5 Zona Sul 5XP
@jzcorrea
jzcorrea / vaga-analista.md
Last active February 28, 2018 00:54
Vaga Analista de Suporte

VAGA PARA ANALISTA DE SUPORTE

🎯 Atividades a serem desempenhadas:

  • ✅ Resolver chamados no suporte da forma mais eficiente e rápida o possível
  • 🔍 Analisar melhores práticas e sugeri-las ao cliente
  • ⏰ Controlar tempo de resposta (SLA)

💪 Requisitos:

Name: Flash Serial: eNrzzU/OLi0odswsqnHLSSzOqDGoca7JKCkpsNLXLy8v1ytJTczVLUotKNFLzs8FAJHYETc=

@jzcorrea
jzcorrea / Upgrading Ember JS.md
Last active March 22, 2018 14:52
Guia para atualização do Ember.JS

Baseado no tutorial de Ben Limmer.

→ Atualizar sempre para a próxima LTS, afim de identificar deprecations antes das features serem depreciadas de fato;

→ Remover deprecations;

→ Testes devem estar OK.

#1 - PRINTAR TODAS AS DEPRECATIONS