#A BADASS list for faster Web Development!
Recently, I decided to organize my bookmarks. So, like a good fellow, I am sharing with you. I hope you enjoy!
Frameworks | Weapons | Checklist | Docs | Community | Learning | For The Win
#A BADASS list for faster Web Development!
Recently, I decided to organize my bookmarks. So, like a good fellow, I am sharing with you. I hope you enjoy!
Frameworks | Weapons | Checklist | Docs | Community | Learning | For The Win
<?php | |
/* | |
* Loop post type: V1 | |
*/ | |
$posts = array( | |
array( 'post_type' => 'post1', 'post_per_page' => -1 ), | |
array( 'post_type' => 'post2', 'post_per_page' => -1 ), | |
array( 'post_type' => 'post3', 'post_per_page' => -1 ) | |
); |
<?php | |
$postTypeCurrent = get_post_type(); | |
switch ($postTypeCurrent) { | |
case 'noticias': | |
include_once TEMPLATEPATH . '/app/single-noticias.php'; | |
break; | |
case 'agenda': |
/* Smartphones (portrait and landscape) ----------- */ | |
@media only screen | |
and (min-device-width : 320px) | |
and (max-device-width : 480px) { | |
/* STYLES GO HERE */ | |
} | |
/* Smartphones (landscape) ----------- */ | |
@media only screen | |
and (min-width : 321px) { |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Pong - Vitor Rigoni</title> | |
</head> | |
<body> | |
<canvas id="canvas" width="800" height="400"></canvas> | |
<p>Controles:</p> | |
<dl> |
(function($){ | |
// Mascara - tem que usar o plugin jquery-maskedinput.js | |
if($('#telefone').length > 0) { | |
$("#telefone").mask("(99) 9999-9999"); | |
} | |
// controla os inputs | |
$('form input:text, form textarea').each(function(){ | |
var default_value = $(this).attr('title'); |
<?php | |
/* | |
* Template Name: Ajax Contato | |
*/ | |
include_once('phpmailer/class.phpmailer.php'); | |
if(isset($_POST['nome']) && isset($_POST['telefone']) && isset($_POST['email']) && isset($_POST['telefone']) && isset($_POST['mensagem'])){ | |
$str_nome = trim($_POST['nome']); |
- Prefixr ( CRTL + ALT + X ) | |
- Emment | |
- Placeholders | |
- Clipboard History | |
- Bracket Highlighter | |
- Sublimipsum | |
- AdvancedNewFile | |
- SideBarEnhancements | |
- AutoFileName |
/* The Grid ---------------------- */ | |
.lt-ie9 .row { width: 940px; max-width: 100%; min-width: 768px; margin: 0 auto; } | |
.lt-ie9 .row .row { width: auto; max-width: none; min-width: 0; margin: 0 -15px; } | |
.lt-ie9 .row.large-collapse .column, | |
.lt-ie9 .row.large-collapse .columns { padding: 0; } | |
.lt-ie9 .row .row { width: auto; max-width: none; min-width: 0; margin: 0 -15px; } | |
.lt-ie9 .row .row.large-collapse { margin: 0; } | |
.lt-ie9 .column, .lt-ie9 .columns { float: left; min-height: 1px; padding: 0 15px; position: relative; } | |
.lt-ie9 .column.large-centered, .columns.large-centered { float: none; margin: 0 auto; } |
$(window).load(function(){ | |
$('#facebook_like_box') | |
.html('<iframe src="https://www.facebook.com/plugin...></iframe>'); | |
}); |