Skip to content

Instantly share code, notes, and snippets.

View williamespindola's full-sized avatar

William Espindola williamespindola

View GitHub Profile
<select id="category" name="category" class="old_ui_selector">
<option value="0" selected="1">Escolha uma categoria</option>
<option value="2244">Aeroespacial/defesa</option>
<option value="2252">Alimentos/bebidas</option>
<option value="2240">Automóveis e peças</option>
<option value="2234">Banco/instituição financeira</option>
<option value="2254">Biotecnologia</option>
<option value="2606">Causa</option>
<option value="2255">Computadores/tecnologia</option>
<option value="2248">Consultoria/serviços empresariais</option>
@williamespindola
williamespindola / cinco-canones-da-retorica.md
Created April 15, 2013 00:45
5 Pontos que devem se focar para fazer uma boa apresentação.

5 Pontos que devem se focar para fazer uma boa apresentação.

Esta apresentação seja um "Power Poit" ou não.

  1. Inevenção, desenvolver os argumento que você sobre o que você vai falar.
  2. Estilo, a forma com que será apresentado isto.
  3. Arranjo, organização das informações.
  4. Entender e memorizar os argumentos, falar sem o uso de notas.
  5. Ação, a maneira como você se posiciona, se você, se gesticula o ton de vóz.
@williamespindola
williamespindola / post-receive
Created August 19, 2013 17:17
hook post-receive file to checkout of branch master when deploy from my localhost to the server
#!/bin/bash
#
docroot="/my/path/to/root/of/my/project/"
while read oldrev rewrev ref
do
branch=`echo $ref | cut -d/ -f3`
if [ "master" == "$branch" ]; then
git --work-tree=$docroot checkout -f $branch
fi
@williamespindola
williamespindola / designer-todo-list.md
Last active January 1, 2016 03:48
To do list to designer create and send layout of a project to developer team

#Designer To Do List Fist of all, the Designer need read some documentation or understand the project structure, this will help to understand what will be needed to create, avoiding the creation of unnecessary features and services.

The creation:

@williamespindola
williamespindola / delegates.xml
Created April 25, 2016 21:23 — forked from sophiaphillipa/delegates.xml
ImageMagick how to convert EPS to PNG with Quality and Transparency
<!--
Must pass this commands to GS: -dUseCIEColor -sDEVICE=pngalpha
-->
<delegate decode="ps:cmyk" stealth="True" command="&quot;gs&quot; -q -dQUIET -dUseCIEColor -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 &quot;-sDEVICE=pngalpha&quot; -dTextAlphaBits=%u -dGraphicsAlphaBits=%u &quot;-r%s&quot; %s &quot;-sOutputFile=%s&quot; &quot;-f%s&quot; &quot;-f%s&quot;"/>

Sound

amixer sset 'Master' 50%

Keyboard layout

setxkbmap -model abnt2 -layout br

Displays

@williamespindola
williamespindola / br-cities.php
Created June 7, 2016 22:35 — forked from henriquemoody/br-cities.php
Lista de cidades brasileiras com base nos dados o IBGE
<?php
return [
// http://www.cidades.ibge.gov.br/download/mapa_e_municipios.php?uf=ac (Thu May 14 16:30:15 BRT 2015)
'AC' => [
1200013 => 'Acrelândia',
1200054 => 'Assis Brasil',
1200104 => 'Brasiléia',
1200138 => 'Bujari',
1200179 => 'Capixaba',
<?php
/**
* Project name.
*
* PHP version 7
*
* @category PHP
* @package [Project\Namespace]\Test
* @author William Espindola <oi@williamespindola.com.br>
* @copyright [Copy]