Skip to content

Instantly share code, notes, and snippets.

View giovannipds's full-sized avatar
💭
I may be slow to respond.

G. Pires giovannipds

💭
I may be slow to respond.
View GitHub Profile
  • Tooltip
  • jQuery
  • Browser
  • Form
  • Cache
  • Front-end
  • Back-end
  • MySQL
  • Pattern
  • Accordion
  • Diego Eis
  • Zeno Rocha
  • Maujor
  • Bernard de Luna
  • Nando Vieira
  • Jaydson
  • Jean Carlo Emer
  • Jean Carlo Nascimento
  • Vitor Britto
@giovannipds
giovannipds / back-end-job-opening.md
Created May 13, 2014 21:18
Vaga para Desenvolvedor Back-end

Pré-requisitos:

  • PHP intermediário
  • MySQL intermediário
  • HTML intermediário
  • CSS básico
  • JavaScript básico

Desejáveis:

  • Inglês
  • CodeIgniter
@giovannipds
giovannipds / exemplo.php
Last active August 29, 2015 14:01
Links separados vírgula e "e" em PHP
<?php $length = 6; // apenas para exemplo ?>
<?php for ($i = 0; $i < $length; $i++) { ?>
<a>Elemento</a><?php if ($i + 1 !== $length && $i + 2 !== $length) { ?>,<?php } else if ($i + 2 === $length) { ?> e <?php } else if ($i + 1 === $length) { ?>.<?php } ?>
<?php } ?>
@giovannipds
giovannipds / shortcuts
Created August 1, 2014 11:50
shortcuts
# Atalhos
## SublimeText
- Ctrl S - Salvar
- Ctrl Shift S - Salvar como
- Ctrl O - Abrir arquivo
- Ctrl Enter - Nova linha indentada para baixo
- Ctrl C - Copiar linha
- Ctrl X - Recortar linha (obs.: você pode usar para excluí-lá)
- Shift Delete - Recortar linha (obs.: você pode usar para excluí-lá)
@giovannipds
giovannipds / .gitignore
Last active December 12, 2017 11:11
My global .gitignore. More .gitignores for general projects: https://github.com/github/gitignore
node_modules
.vagrant
Homestead.json
Homestead.yaml
npm-debug.log
npm-debug.log.*
Thumbs.db
yarn-error.log
.DS_Store
.env
@giovannipds
giovannipds / .editorconfig
Created December 12, 2017 11:14
My .editorconfig (mainly for Laravel)
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.{md,php}]
indent_size = 4
@giovannipds
giovannipds / sublime-packages.md
Last active December 12, 2017 14:16
Just a collection of Sublime Packages
  • Package Control
  • EditorConfig
  • Side Bar Enhancements
  • ApacheConf
  • SASS
  • DotEnv
  • Emmet
  • Materialize
  • Laravel Blade
@giovannipds
giovannipds / softwares.md
Last active December 15, 2017 13:14
Softwares to remember to install (on Windows)
  • CCleaner
  • Filezilla
  • HeidiSQL
  • Now
  • Git
  • Composer
  • Docker (Windows 10)
  • 7-Zip
  • K-Lite Codec Pack
  • GitHub
@giovannipds
giovannipds / npm-packages.md
Created December 12, 2017 11:35
Some npm packages to install globally
  • gulp-cli
  • browser-sync
  • gitmoji-cli