Skip to content

Instantly share code, notes, and snippets.

View brunomertins's full-sized avatar

Bruno Mertins brunomertins

View GitHub Profile
@brunomertins
brunomertins / Verwendung-von-html-Tags-SEO
Last active December 14, 2015 11:58
Die Verwendung von html-Tags
<h1>Titel 1.</h1>
<!--Die Teilüberschriften auf der nächsten Ebene sollten h2-Überschriften sein und so getagt werden-->
<h2>Teilüberschrift 1.1.</h2>
<!--Teilüberschriften zwischen zwei h2-Überschriften sollten h3-Überschriften sein und so getagt werden:-->
<h3>Teilüberschrift 1.1.1.</h3>
<!--In den meisten Fällen wird die Gliederung bis zu h2-Überschriften ausreichend sein.-->
<table>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Email</th>
<th scope="col">Dept, Title</th>
<th scope="col">Phone</th>
</tr>
</thead>
<tbody>
@brunomertins
brunomertins / EventsMicrodataExample
Created January 31, 2013 13:16
Turansa Events Microdata Example
<div itemscope itemtype="http://schema.org/Event">
<a itemprop="url" href="http://www.turansa.com/blog/2011/09/21/excursion-maravillas-dubai-y-la-india-2012/">
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>
@brunomertins
brunomertins / SEOCheatsheet
Created January 31, 2013 13:09
SEOCheatsheet
<h2>SEO Cheatsheet<h2>
<ul>
<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>
@brunomertins
brunomertins / Bypass
Last active December 12, 2015 00:18
Bypass PHP
<?php
/* set the cookie */
setcookie("bypass", "valor", time() + 3600);
header ("Location: http://www.m.yourwebsite.com/");
?>
@brunomertins
brunomertins / RSSLink
Created January 31, 2013 12:52
RSSLinkCSS
@brunomertins
brunomertins / BrunoMertinsVcard
Created January 31, 2013 12:27
Vcard Bruno Mertins
<h2>Contact</h2>
<ul>
<div id="contact">
<div id="hcard-Bruno-Mertins" class="vcard">
<a class="url fn n" href="http://www.brunomertins.com">
<span class="given-name">Bruno</span>
<span class="family-name">Mertins</span></a><br />
<div class="email">bruno 'at' brunomertins.com</div>
<div>skype: <strong>brunomertins</strong></div>
<div class="adr">
@brunomertins
brunomertins / HTML5SimpleStructure
Last active December 12, 2015 00:18
Simple Page Structure in HTML5
<!DOCTYPE html>
<html>
<head>
<title>Hello World</title>
</head>
<body>
<p>My Content</p>
</body>
</html>