Skip to content

Instantly share code, notes, and snippets.

View iTonyYo's full-sized avatar
🎯
Focusing

Whoami iTonyYo

🎯
Focusing
  • California
View GitHub Profile
umd(function(require, exports, module) {
//...
},'my-module');function umd(fn,n){
if(typeof define=='function')return define(fn); // AMD
if(typeof module=='object')return fn(require,exports,module); // CommonJS
var m={exports:{}};window[n]=fn(function(n){return window[n];},m.exports,m)||m.exports; // window
}

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta name="keywords" content="your, tags"/>
<meta name="description" content="150 words"/>
<meta name="subject" content="your website's subject">
<meta name="copyright"content="company name">
<meta name="language" content="ES">
@iTonyYo
iTonyYo / apple.meta.jade
Last active August 29, 2015 13:57
Apple meta tags with jade template engine. Jade ' include ' allows you to insert the contents into another jade file simply.
//
Build Passing.
Doctype: HTML5
Jade: 1.3.0+
#TODO[x]: Basic Apple-Specific Meta Tag
@iTonyYo
iTonyYo / pre.resolve.dns.jade
Last active August 29, 2015 13:57
Pre-Resolve DNS tags with jade template engine. Jade ' include ' allows you to insert the contents into another jade file simply.
//
Build Passing.
Doctype: HTML5
Jade: 1.3.0+
#TODO[x]: Pre-Resolve DNS
@iTonyYo
iTonyYo / public.script.jade
Last active August 29, 2015 13:57
Scripts have to be inserted into ' <head/> '. Tags with jade template engine. Jade ' include ' allows you to insert the contents into another jade file simply.
//
Build Passing.
Doctype: HTML5
Jade: 1.3.0+
#TODO[x]: Public Script ( Miscellaneous Function ), Define
@iTonyYo
iTonyYo / google.analytics.jade
Last active October 25, 2015 14:59
Google analytics code snippet with jade template engine. Jade ' include ' allows you to insert the contents into another jade file simply.
//
Build Passing.
Doctype: HTML5
Jade: 1.3.0+
#TODO[x]: Google analytics References
@iTonyYo
iTonyYo / site.icon.meta.jade
Last active August 29, 2015 13:58
Site icon link tags with jade template engine. Jade ' include ' allows you to insert the contents into another jade file simply.
//
Build Passing.
Doctype: HTML5
Jade: 1.3.0+
#TODO[x]: Site Icon
/* ---------------------------------------------------------- */
/* */
/* A media query that captures: */
/* */
/* - Retina iOS devices */
/* - Retina Macs running Safari */
/* - High DPI Windows PCs running IE 8 and above */
/* - Low DPI Windows PCs running IE, zoomed in */
/* - Low DPI Windows PCs and Macs running Firefox, zoomed in */
/* - Android hdpi devices and above */
@iTonyYo
iTonyYo / mixture.layout.jade
Last active August 29, 2015 13:58
Layout(fixed and responsive) template with jade template engine. Jade ' extends ' allows you to use the contents with another jade file simply.
mixin ie (sCondition, eCondition)
|<!--[!{sCondition}>
block
|<!!{eCondition}]-->
doctype html