-
Objetos reais são mais interessantes que botões
-
Qualidade de imagens (Performance?)
-
Escalonar imagens antes de alocá-las na memória
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.o-embed { | |
position: relative; | |
padding-bottom: 56.25%; | |
height: 0; | |
overflow: hidden; | |
max-width: 100%; | |
iframe, | |
object, | |
embed { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gzip -c filename.min.js | wc -c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* global ga */ | |
function throttle(callback, limit) { | |
let wait = false; | |
return function() { | |
if (!wait) { | |
callback.call(); | |
wait = true; | |
setTimeout(function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql -u <username> -p <databasename> < <filename.sql> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.box = "ubuntu/trusty64" | |
config.vm.network "forwarded_port", guest: 80, host: 8080 | |
config.vm.network "private_network", ip: "192.168.33.10" |
A short project description.
List all dependencies for mac / windows with all the quirks associated with each one. These are the ones that are not locally installed through package managers (npm, composer, gems...)
- How should the developer download this project (most probably cloning)?
- Things to consider explaining: setting up and seeding the database, what web server to use, anything that needs to be set up before working on this project...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define('WP_SITEURL', 'http://' . $_SERVER['SERVER_NAME'] . ':8888'); | |
define('WP_HOME', 'http://' . $_SERVER['SERVER_NAME'] . ':8888'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This class is used as wrapper for user-generated content. | |
.c-scope { | |
h2 { | |
} | |
p { | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
const path = location.pathname; | |
function initialize() { | |
switch(path) { | |
case 'path': | |
// load module here | |
break; | |
} |