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
Object {oportunidades: Array[1], contatoEmails: Array[1], assunto: "xxxxxxxxxxxxxxxx", mensagem: "<p>xxxxxxxxxxxxxxxx</p>↵", anexo: Object}anexo: Objectbase64: "iVBORw0KGgoAAAANSUhEUgAAAnYAAABJCAYAAACw52uoAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8 |
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
*** Atualizar o cliente servidor/cliente mongodb | |
``` | |
sudo rm /etc/apt/sources.list.d/mongodb.list | |
sudo apt-get purge mongodb-org* | |
sudo rm -r /var/log/mongodb | |
``` |
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
<?php | |
return array( | |
'doctrine' => array( | |
'configuration' => array( | |
'odm_default' => array( | |
'metadata_cache' => 'array', | |
'driver' => 'odm_default', | |
'generate_proxies' => true, | |
'proxy_dir' => 'data/DoctrineMongoODMModule/Proxy', | |
'proxy_namespace' => 'DoctrineMongoODMModule\Proxy', |
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
/** | |
* @ngdoc method | |
* @name createFormData | |
* @methodOf AbstractFactory | |
* @description Create Object via FormData | |
* @param data | |
* @returns {*} | |
*/ | |
function createFormData(data) { |
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
.state('project', { | |
url: "/projects", | |
templateProvider: function($templateFactory, SUA_SERVICE){ | |
return $templateFactory.fromUrl('path/index.html'); | |
}, | |
abastract: true | |
}) |
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
Fichas = new Mongo.Collection('fichas'); | |
// Criando coleção Usuarios | |
Usuarios = new Mongo.Collection('usuarios', { | |
// Quando uma query é realizada, a coleção Usuarios tranforma o resultado e | |
// inclui um objeto "fichasObj", que é o conjunto de fichas que pertence | |
// ao usuário em questão | |
transform: function(doc) { | |
// buscar todas as fichas que tem o id do usuário | |
doc.fichasObj = Fichas.find({ |
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
{} |
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
mkdir -p ~/.vim/bundle | |
cd ~/.vim/bundle | |
git clone https://github.com/StanAngeloff/php.vim.git | |
vi ~/.vimrc | |
set backspace=2 " backspace in insert mode works like normal editor | |
syntax on " syntax highlighting | |
filetype indent on " activates indenting for files | |
set autoindent " auto indenting | |
"set number " line numbers |
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
FROM java:8 | |
MAINTAINER William Durand <william.durand1@gmail.com> | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN apt-get update && \ | |
apt-get install --no-install-recommends -y supervisor curl && \ | |
apt-get clean | |
# Elasticsearch |
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
version: '2' | |
services: | |
volume_code: | |
build: ./volume_code | |
container_name: sf_code | |
hostname: sf_code | |
volumes: | |
- ./symfony:/var/www/symfony | |
- ./volume_code/php7-fpm:/php7-fpm | |
- ./logs/symfony:/var/www/symfony/app/logs |