Skip to content

Instantly share code, notes, and snippets.

⚽️
Developing Dale

Giovanni Pires da Silva giovannipds

⚽️
Developing Dale
Block or report user

Report or block giovannipds

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
View snippets.php
<h2>Lazy Load</h2>
<!-- Normal Lazy Load -->
<?= lazyload([
'src' => base_url('image/resize_canvas?w=470&h=360&fit=inside&src=https://cdn.sagaentretenimento.com.br/uploads/2016/06/22113456521528.jpg'),
'alt' => 'Dev Star',
'class' => 'lazyload',
'id' => 'dev-star'
]); ?>
@giovannipds
giovannipds / bootstrap3-xl-sample.css
Created Nov 26, 2018
Extending bootstrap 3 grid breakpoints
View bootstrap3-xl-sample.css
.col-xl-1,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-10,
@giovannipds
giovannipds / npm-packages.md
Created Dec 12, 2017
Some npm packages to install globally
View npm-packages.md
  • gulp-cli
  • browser-sync
  • gitmoji-cli
@giovannipds
giovannipds / softwares.md
Last active Dec 15, 2017
Softwares to remember to install (on Windows)
View softwares.md
  • CCleaner
  • Filezilla
  • HeidiSQL
  • Now
  • Git
  • Composer
  • Docker (Windows 10)
  • 7-Zip
  • K-Lite Codec Pack
  • GitHub
@giovannipds
giovannipds / sublime-packages.md
Last active Dec 12, 2017
Just a collection of Sublime Packages
View sublime-packages.md
  • Package Control
  • EditorConfig
  • Side Bar Enhancements
  • ApacheConf
  • SASS
  • DotEnv
  • Emmet
  • Materialize
  • Laravel Blade
@giovannipds
giovannipds / .editorconfig
Created Dec 12, 2017
My .editorconfig (mainly for Laravel)
View .editorconfig
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.{md,php}]
indent_size = 4
@giovannipds
giovannipds / .gitignore
Last active Dec 12, 2017
My global .gitignore. More .gitignores for general projects: https://github.com/github/gitignore
View .gitignore
node_modules
.vagrant
Homestead.json
Homestead.yaml
npm-debug.log
npm-debug.log.*
Thumbs.db
yarn-error.log
.DS_Store
.env
View 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 / exemplo.php
Last active Aug 29, 2015
Links separados vírgula e "e" em PHP
View exemplo.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 / back-end-job-opening.md
Created May 13, 2014
Vaga para Desenvolvedor Back-end
View back-end-job-opening.md

Pré-requisitos:

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

Desejáveis:

  • Inglês
  • CodeIgniter
You can’t perform that action at this time.