Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Steve Griffith prof3ssorSt3v3

🎯
Focusing
Block or report user

Report or block prof3ssorSt3v3

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View meta-tags.md

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 Nov 10, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// ----
$font-title: Georgia, serif;
$red-color: #dd1212;
h1{
@prof3ssorSt3v3
prof3ssorSt3v3 / SassMeister-input.scss
Created Nov 11, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// 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 Aug 29, 2015
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// 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 Nov 11, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// 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 Nov 11, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// ----
.math-container{
// Add
width: 50 + 50px;
// Subtract
View normalize.scss
// =============================================================================
// Normalize.scss based on Nicolas Gallagher and Jonathan Neal's
// normalize.css v2.1.3 | MIT License | git.io/normalize
// =============================================================================
// =============================================================================
// Normalize.scss settings
// =============================================================================
View sample.xml
<?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>
@prof3ssorSt3v3
prof3ssorSt3v3 / array-filter.js
Created Jul 6, 2017
Sample of the Array filter( ) method.
View array-filter.js
//Array filter() method
let numbers = [23, 45, 14, 66, 94, 33, 4, 9];
let breakPoint = 30;
let smallNumbers = numbers.filter(function(num){
return num < breakPoint;
});
let bigNumbers = numbers.filter(checkBig);
View array-includes.js
//Array includes() method
//check to see if something is inside an array
//method returns a Boolean answer
let dwarves = ['Grumpy', 'Sneezy', 'Happy', 'Bashful', 'Doc', 'Dopey', 'Sleepy'];
let name1 = 'Peter Dinklage';
let name2 = 'Kenny Baker';
let name3 = 'Happy';
You can’t perform that action at this time.