Skip to content

Instantly share code, notes, and snippets.

View gvsrepins's full-sized avatar
🎯
Focusing

Gabriel Silva gvsrepins

🎯
Focusing
View GitHub Profile
@gvsrepins
gvsrepins / .gitconfig
Last active August 29, 2015 13:58 — forked from pksunkara/config
[user]
name = Gabriel Vitor
email = gvsrepisn@gmail.com
[core]
editor = vim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
[sendemail]
smtpencryption = tls
smtpserver = smtp.gmail.com
# This is a template .gitignore file for git-managed WordPress projects.
#
# Fact: you don't want WordPress core files, or your server-specific
# configuration files etc., in your project's repository. You just don't.
#
# Solution: stick this file up your repository root (which it assumes is
# also the WordPress root directory) and add exceptions for any plugins,
# themes, and other directories that should be under version control.
#
# See the comments below for more info on how to add exceptions for your

###Jeffrey Way (1) - Bootcamp

Jeffrey went through about 12 subjects one right after the other and gave tips along the way.

  1. Mail Drivers for mail notifications.
1. With Laravel 4.2 it’s easier to use APIs like Mailgun and Mandrill for e-mail notifications. This avoids using SMTP which is really cool.
  1. File Generators for generating schema migrations.
@gvsrepins
gvsrepins / gist:bd6922595cc2d3aedfb4
Created August 21, 2014 01:42
FFmpeg for OpemMeetings
./configure --enable-gpl --enable-version3 --enable-runtime-cpudetect --enable-memalign-hack --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib --enable-nonfree --enable-libfdk_aac
@gvsrepins
gvsrepins / gist:8f600d2599f8d41d588d
Created August 26, 2014 18:42
dd() - Die and Dump
/**
* Dump the passed variables and end the script.
*
* @param mixed
* @return void
*/
function dd()
{
array_map(function($x) { var_dump($x); }, func_get_args()); die;
}
Requisitos
- Conhecimentos avançados em PHP e Orientação a Objetos
- Conhecimentos avançados em algum framework como Zend Framework 2, Silex ou Symfony
- Conhecimentos intermediários em Doctrine 2 (entidades, relacionamentos, dql)
- Conhecimentos avançados em testes unitários
- Interesse e facilidade em aprender novas tecnologias, linguagens de programação e ambientes de desenvolvimento
- Conhecimentos intermediários em banco de dados como MySQL e PostgreSQL
- Conhecimentos intermediários em Git
- Conhecimento básico de segurança e criptografia de dados:
- SSL;
@gvsrepins
gvsrepins / list-eleicoes.txt
Last active August 29, 2015 14:06
Lista com 20 sites que trazem informações sobre candidatos e eleições.
1-http://www.projetobrasil.org/#!/
2-http://www.atlaspolitico.com.br/
3- http://www.votehoje.com.br/home
4- http://www.tse.jus.br/eleicoes/estatisticas/repositorio-de-dados-eleitorais
5-http://www.politicos.org.br/
6-http://www.excelencias.org.br/
7-http://www.justicaeleitoral.jus.br/
8-https://eleicoeslimpas.org.br/assine
9-http://super.abril.com.br/blogs/superlistas/6-sites-para-ajudar-voce-
a-escolher-seus-candidatos-nessas-eleicoes/
@gvsrepins
gvsrepins / mysql-backup-dbs.sh
Created November 4, 2012 15:42
SSH:MySQL Backup
#!/bin/bash
# This script backups every MySQL database to its own file
#Some variables you can set how you like
USER='username'
PASSWORD='password'
OUTPUTDIR='/var/backup'
MYSQLDUMP='/usr/bin/mysqldump'
MYSQL='/usr/bin/mysql'
@gvsrepins
gvsrepins / Conf vhost.conf
Created November 14, 2012 00:33
Conf:VHost Configuration File
<VirtualHost *:80>
ServerAdmin user@server
DocumentRoot /var/www/project
ServerName project.local
# This should be omitted in the production environment
SetEnv APPLICATION_ENV development
<Directory /var/www/project>
Options Indexes MultiViews FollowSymLinks
<?php
/**
* WordPress Query Comprehensive Reference
* Compiled by luetkemj - luetkemj.com
*
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query
* Source: http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/query.php
*/
$args = array(