Skip to content

Instantly share code, notes, and snippets.

View mattdrose's full-sized avatar

Matt Rose mattdrose

View GitHub Profile
@mattdrose
mattdrose / HTML boolean attributes list
Created January 9, 2018 22:24 — forked from ArjanSchouten/HTML boolean attributes list
Below is a list of html boolean attributes. All these attributes must be leaved empty, filed with 0|1, filled with on|off, filled with true|false or used as a flag.
async
autocomplete
autofocus
autoplay
border
challenge
checked
compact
contenteditable
controls
@mattdrose
mattdrose / gist:2dd3f0487d494672d82f
Last active September 26, 2016 16:50 — forked from djs070/gist:4570480
Install NVM & Node 4.4.0 on Fedora/CentOS
# get nvm
git clone git://github.com/creationix/nvm.git ~/nvm
# activate nvm
echo "source ~/nvm/nvm.sh" >> ~/.bashrc
source ~/.bashrc
@charset "UTF-8";a,ins,u{text-decoration:none}pre,textarea{overflow:auto}pre,pre code{white-space:pre}a,pre code{background-color:transparent}[colspan="1"],td,th{text-align:left}.img,[rowspan],img,select{vertical-align:middle}.bullet-list>li,body,sub,sup{position:relative}.button:active,.button:focus,a:active,a:hover,select :focus{outline:0}/*! normalize.css v3.0.2 | MIT License | git.io/normalize */body{margin:0;background:#FFF;color:#333;overflow-x:hidden}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{color:#4374AE}abbr[title]{border-bottom:1px dotted}b,optgroup,strong{font-weight:700}dfn{font-style:italic}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img,legend{border:0}svg:not(:root){overflow:hidden}figur
@charset "UTF-8";
/**
* Base Settings
*/
/**
* Modules
*/
/**
* Screens
*/
@mattdrose
mattdrose / SassMeister-input.scss
Created June 19, 2015 17:37
Generated by SassMeister.com.
// ----
// Sass (v3.4.14)
// Compass (v1.0.3)
// ----
/*
type-of(100px) => #{type-of(100px)}
type-of(asdf) => #{type-of(asdf)}
type-of(true) => #{type-of(true)}
type-of(#fff) => #{type-of(#fff)}
@mattdrose
mattdrose / SassMeister-input.scss
Created June 18, 2015 20:59
Generated by SassMeister.com.
// ----
// Sass (v3.4.14)
// Compass (v1.0.3)
// ----
$test: (red: #F00, other: #FFF);
.color {
content: #{map-get($test, red)};
content: #{map-get($test, other)};
@mattdrose
mattdrose / SassMeister-input.scss
Created February 9, 2015 17:34
Generated by SassMeister.com.
// ----
// Sass (v3.4.11)
// Compass (v1.0.3)
// ----
@import "compass/css3";
@function remove($list, $value, $recursive: false) {
$result: ();
@mattdrose
mattdrose / SassMeister-input.scss
Last active August 29, 2015 14:07
Generated by SassMeister.com.
// ----
// Sass (v3.4.5)
// Compass (v1.0.1)
// ----
@function get($key, $map: null) {
@if $map == null {
$map: $default-settings;
}
@mattdrose
mattdrose / SassMeister-input.scss
Created October 15, 2014 21:08
Generated by SassMeister.com.
// ----
// Sass (v3.4.5)
// Compass (v1.0.1)
// ----
@function map-deep-merge($map1, $map2) {
$return: $map1;
@each $key, $value in $map2 {
@mattdrose
mattdrose / SassMeister-input.scss
Last active August 29, 2015 14:07
Generated by SassMeister.com.
// ----
// Sass (v3.4.5)
// Compass (v1.0.1)
// ----
$gemini-spacing: (
type: (
"push": "margin",
"pad": "padding"
),