Skip to content

Instantly share code, notes, and snippets.


Bruno Mertins brunomertins

View GitHub Profile
brunomertins / GA Comments Event Tracking
Last active Aug 29, 2015
Google Analytics Comments Event Tracking
View GA Comments Event Tracking
<input name="submit" type="submit" onClick="_gaq.push(['_trackEvent', 'Forms', 'Submit', 'BlogComments']);" id="<?php echo esc_attr( $args['id_submit'] ); ?>" value="<?php echo esc_attr( $args['label_submit'] ); ?>" />
View Javascript loading effect
<script src=""></script>
google.load("jquery", "1");
google.load("jqueryui", "1");
View Colums Example
<div class="one-half first"><strong>Gmail for business</strong>
Custom made email addresses: (</div>
<div class="one-half"><strong>Google Docs</strong>
Share online documents, spreadsheets and presentations.</div>
<div class="one-half first"><strong>Google Calendar</strong>
Your meetings and company events in one place.</div>
<div class="one-half"><strong>Google Sites</strong>
Create your own intranet and wikis without programing.</div>
View Resultados de Busqueda
//* Customize search text
add_filter( 'genesis_search_title_text', 'search_title_text' );
function search_title_text() {
return 'Resultados de b&uacute;squeda: ';
brunomertins / HTML5SimpleStructure
Last active Dec 12, 2015
Simple Page Structure in HTML5
View HTML5SimpleStructure
<!DOCTYPE html>
<title>Hello World</title>
<p>My Content</p>
View BrunoMertinsVcard
<div id="contact">
<div id="hcard-Bruno-Mertins" class="vcard">
<a class="url fn n" href="">
<span class="given-name">Bruno</span>
<span class="family-name">Mertins</span></a><br />
<div class="email">bruno 'at'</div>
<div>skype: <strong>brunomertins</strong></div>
<div class="adr">
View RSSLink
View Bypass
/* set the cookie */
setcookie("bypass", "valor", time() + 3600);
header ("Location:");
brunomertins / EventsMicrodataExample
Created Jan 31, 2013
Turansa Events Microdata Example
View EventsMicrodataExample
<div itemscope itemtype="">
<a itemprop="url" href="">
Excursión: <span itemprop="name">Dubai y la India 2012</span></a>
<meta itemprop="startDate" content="2012-03-27T17:30">Thu, 03/27/12 5:30 p.m.</div>
View SEOCheatsheet
<h2>SEO Cheatsheet<h2>
<li>Optimized, Relevant Content</li>
<li>Good Semantic Page Markup (H1, H2, etc.)</li>
<li>Good Linking Structure</li>
<li>Keyword-Rich URL Structure</li>
<li>Optimized Assets (File Names)</li>
<li>Optimized Content (Title, Meta, Alt, etc.)</li>
<li>Fast Loading XML/HTML - based pages</li>
<li>Sitemap Files and Robot.txt files</li>