This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// | |
/// Raises `$number` to the power of `$exponent`. | |
/// --- | |
/// @since 1.5.0 | |
/// --- | |
/// @param {Number} $number | |
/// @param {Number} $exponent | |
/// --- | |
/// @returns {Number} - `$number` raised to the power of `$exponent` | |
/// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.3.10) | |
// Compass (v1.0.0.alpha.20) | |
// ---- | |
@import "compass"; | |
$colors: ( | |
'cyan': #00ffff, | |
'purple': #b848c9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.3.10) | |
// Compass (v1.0.0.alpha.20) | |
// ---- | |
@import "compass"; | |
$colors: ( | |
'cyan': #00ffff, | |
'purple': #b848c9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.3.10) | |
// Compass (v1.0.0.alpha.20) | |
// ---- | |
$cyan: #00ffff; | |
$purple: #b848c9; | |
.purple { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Fetch a deeply nested value in a multi-level map using object dot-notation string OR a list of keys. | |
* | |
* @requires sassy-maps | |
* @requires SassyLists | |
* @requires is-map | |
* @requires is-string | |
* @requires is-list | |
* | |
* @param {map} $map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Formatting options | |
underline=`tput smul` | |
nounderline=`tput rmul` | |
bold=`tput bold` | |
red=`tput setaf 1` | |
green=`tput setaf 2` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function format(str, style) { | |
var styles = { | |
// styles | |
'bold': ['\x1B[1m', '\x1B[22m'], | |
'italic': ['\x1B[3m', '\x1B[23m'], | |
'underline': ['\x1B[4m', '\x1B[24m'], | |
'inverse': ['\x1B[7m', '\x1B[27m'], | |
'strikethrough': ['\x1B[9m', '\x1B[29m'], | |
// text colors | |
// grayscale |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// iOS Media Queries | |
// Goal: capture styles for iPhone, iPhone 3G, iPhone 3GS, iPhone 4, iPhone 4S, iPad, and iPad 2 | |
// | |
// Author: Tony Schneider (@tonywok) | |
// Please tell me where I fail. :) | |
// iPhone v(4,4S) portrait | |
// test: black text (overwritten by v* portrait) with blue background | |
@media all and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) { | |
a { |