Skip to content

Instantly share code, notes, and snippets.

Gabriel Silva gvsrepins

Block or report user

Report or block gvsrepins

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@gvsrepins
gvsrepins / terminator-config
Created Aug 19, 2017
Terminator config to act like Guake terminal
View terminator-config
[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 Jul 13, 2017 — forked from hemantajax/media-queries.css
Very useful media queries snippets
View media-queries.css
/* 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) {
View vscode-user-settings.json
// 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 Dec 23, 2019
A Laravel envoy script for deployment
View Envoy.blade.php
@servers(['production' => 'productionserver', 'local'=> 'vagrant@127.0.0.1 -p 2222'])
{{-- Configuration section --}}
@setup
/*
|--------------------------------------------------------------------------
| Git Config
|--------------------------------------------------------------------------
|
@gvsrepins
gvsrepins / list-eleicoes.txt
Last active Aug 29, 2015
Lista com 20 sites que trazem informações sobre candidatos e eleições.
View list-eleicoes.txt
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/
View gist:241fa3ed8b6821864105
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;
View gist:8f600d2599f8d41d588d
/**
* 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;
}
View gist:bd6922595cc2d3aedfb4
./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
View laracon-2014-notes.md

###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.
View .gitignore
# 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
You can’t perform that action at this time.