This file contains 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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title></title> | |
</head> | |
<body> | |
</body> |
This file contains 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
$ brew install git |
This file contains 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
$ apt-get install git |
This file contains 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
<!DOCTYPE html> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title></title> | |
<meta name="description" content=""> |
This file contains 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
// Boas Práticas | |
// 1. Orientação a objetos. | |
// Porque Orientar Javascript À Objetos é uma boa prática. | |
// Javascript não possui classes. E utiliza exclusivamente o conceito de objetos. | |
// Sua herança segue o padrão prototipado. Ou seja, nenhum objeto é criado do nada. | |
// Tudo deriva de alguma coisa. |
This file contains 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
// Boas Práticas | |
// 1. Orientação a objetos. | |
// Porque Orientar Javascript À Objetos é uma boa prática. | |
// Javascript não possui classes. E utiliza exclusivamente o conceito de objetos. | |
// Sua herança segue o padrão prototipado. Ou seja, nenhum objeto é criado do nada. | |
// Tudo deriva de alguma coisa. |
This file contains 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
<IfModule mod_expires.c> | |
ExpiresActive on | |
# Perhaps better to whitelist expires rules? Perhaps. | |
ExpiresDefault "access plus 1 month" | |
# Data | |
ExpiresByType text/xml "access plus 0 seconds" | |
ExpiresByType application/xml "access plus 0 seconds" | |
ExpiresByType application/json "access plus 0 seconds" |
This file contains 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
// jQuery Avançado | |
// 1. Preparando o uso da biblioteca. | |
// Para garantir um bloco de código jQuery seja executado, é recomendado envolvê-lo | |
// em um dos blocos iniciadores abaixo. | |
// Isso garante que além da biblioteca, todo o DOM* esteja carregado antes de sua manipulação. | |
// NOTA #1: |
This file contains 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
// jQuery Avançado | |
// Principais design patterns utilizados: | |
// * Facade Pattern (principalmente para contornar diferença de browsers). | |
// * Factory Pattern (para gerar objetos baseados em um "template" do construtor principal). | |
// 1. Preparando o uso da biblioteca. | |
// Para garantir um bloco de código jQuery seja executado, é recomendado envolvê-lo |
This file contains 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
module.exports = function( grunt ) { | |
grunt.initConfig({ | |
// Ler o arquivo package.json, para pegar informações do projeto | |
pkg : grunt.file.readJSON( 'package.json' ), | |
// Nome do diretório do tema do WP | |
theme_name : 'meu-tema', |
OlderNewer