Skip to content

Instantly share code, notes, and snippets.

View gvsrepins's full-sized avatar

Gabriel Silva gvsrepins

View GitHub Profile
@gvsrepins
gvsrepins / terminator-config
Created August 19, 2017 14:54
Terminator config to act like Guake terminal
[global_config]
always_on_top = True
borderless = True
enabled_plugins = LaunchpadCodeURLHandler, APTURLHandler, LaunchpadBugURLHandler
sticky = True
tab_position = bottom
[keybindings]
hide_window = F12
[layouts]
[[default]]
@gvsrepins
gvsrepins / media-queries.css
Created July 13, 2017 19:25 — forked from hemantajax/media-queries.css
Very useful media queries snippets
/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
/* Styles */
}
/* Smartphones (landscape) ----------- */
@media only screen
and (min-width : 321px) {
@gvsrepins
gvsrepins / vscode-user-settings.json
Last active April 18, 2017 19:19
My vscode so far..
// Place your settings in this file to overwrite the default settings
{
"editor.rulers": [
80,
120
],
"workbench.iconTheme": "vscode-icons",
"window.zoomLevel": 1,
"window.title": "${dirty}${rootName}${separator}${activeEditorMedium}${separator}${appName}",
"editor.fontSize": 16,
@gvsrepins
gvsrepins / Envoy.blade.php
Last active November 4, 2024 15:32
A Laravel envoy script for deployment
@servers(['production' => 'productionserver', 'local'=> '[email protected] -p 2222'])
{{-- Configuration section --}}
@setup
/*
|--------------------------------------------------------------------------
| Git Config
|--------------------------------------------------------------------------
|
@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/
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 / 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;
}
@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

###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.
# 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