Skip to content

Instantly share code, notes, and snippets.

View prof3ssorSt3v3's full-sized avatar
🎯
Focusing

Steve Griffith prof3ssorSt3v3

🎯
Focusing
View GitHub Profile

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

Basic HTML Meta Tags

<meta charset='UTF-8'>
<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'>
@prof3ssorSt3v3
prof3ssorSt3v3 / SassMeister-input.scss
Created November 10, 2014 20:12
Generated by SassMeister.com.
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// ----
$font-title: Georgia, serif;
$red-color: #dd1212;
h1{
@prof3ssorSt3v3
prof3ssorSt3v3 / SassMeister-input.scss
Created November 11, 2014 18:45
Generated by SassMeister.com.
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// ----
/***********
Multi-line comments are saved in css
***********/
//single-line comments do NOT get moved
@prof3ssorSt3v3
prof3ssorSt3v3 / SassMeister-input.scss
Created November 11, 2014 19:26
Generated by SassMeister.com.
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// ----
@mixin test($fs, $box...){
font-size:$fs;
box-shadow:$box;
}
@prof3ssorSt3v3
prof3ssorSt3v3 / SassMeister-input.scss
Last active August 29, 2015 14:09
Generated by SassMeister.com.
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// ----
@mixin linear-gradient($from, $to){
background-color:$to;/* Fallback colour */
background-image: -webkit-gradient(linear, left top, left bottom, from($from),to($to));
//safari / webkit old version
background-image: -webkit-linear-gradient(top $from, $to);
@prof3ssorSt3v3
prof3ssorSt3v3 / SassMeister-input.scss
Created November 11, 2014 19:31
Generated by SassMeister.com.
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// ----
.math-container{
// Add
width: 50 + 50px;
// Subtract
// =============================================================================
// Normalize.scss based on Nicolas Gallagher and Jonathan Neal's
// normalize.css v2.1.3 | MIT License | git.io/normalize
// =============================================================================
// =============================================================================
// Normalize.scss settings
// =============================================================================
<?xml version="1.0" encoding="UTF-8"?>
<data>
<movie id="tt0118715" title="The Big Lebowski" imdb-url="http://www.imdb.com/title/tt0118715/?ref_=ttfc_fc_tt">
<characters>
<character>
<name>The Dude</name>
<actor>Jeff Bridges</actor>
</character>
<character>
<name>Walter Sobchak</name>
//SPREAD and REST operators
//Added with ES6
// ...
// two sides of the same operation
let beers = ['Corona', 'Heineken'];
let stuff = [22, 'Bob', true, beers];
//SPREAD - expands an array into its elements
myFunc( ...stuff );
// setTimeout
// How to use setTimeout, clearTimeout, setInterval
// and clearInterval
//
function log(msg){
console.log('MESSAGE', msg);
clearInterval(tommy);
}