This file contains hidden or 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
var boringArray = [1,2,3,4]; | |
const rReduce = (arr, func, acc) => { | |
acc ? acc : arr[0]; | |
if(arr.length === 0) { | |
return acc; | |
} | |
return rReduce(arr.slice(1), func, func(acc, arr[0])) |
This file contains hidden or 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
var boringArray = [1,2,3,4]; | |
var datesArray = [1878, 1980, 1535, 1879]; | |
var reducer = (a, b) => a + b; | |
var earliestReducer = (a, b) => { | |
if(a < b) { | |
return a; | |
} | |
return b; |
This file contains hidden or 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
{ | |
"exclude": [ | |
".git/**", | |
"node_modules/**", | |
"bower_components/**" | |
], | |
"verbose": true, | |
"always-semicolon": true, | |
"block-indent": " ", | |
"colon-space": ["", " "], |
This file contains hidden or 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
ּ_בּ | |
בּ_בּ | |
טּ_טּ | |
כּ‗כּ | |
לּ_לּ | |
מּ_מּ | |
סּ_סּ | |
תּ_תּ | |
٩(×̯×)۶ | |
٩(̾●̮̮̃̾•̃̾)۶ |
This file contains hidden or 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
// retina background mixin with compass | |
@mixin pretty-image($image, $retina-image) { | |
background-image: url($image); | |
@media (-webkit-min-device-pixel-ratio: 1.5), | |
(min-resolution: 1.5dppx) { | |
background-image: url($retina-image); | |
background-size: image-width($image) image-height($image); | |
} | |
} |
This file contains hidden or 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
.slide-switch { | |
position: relative; | |
width: 5.5em; | |
display: inline-block; | |
vertical-align: middle; | |
-webkit-user-select:none; | |
-moz-user-select:none; | |
-ms-user-select: none; | |
margin-left: 10px; | |
} |
This file contains hidden or 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
/* slider switch */ | |
.switch { | |
display: block !important; | |
background: -moz-linear-gradient(left, #e0f0fa 0%, #e0f0fa 50%, #d3d7d7 50%, #d3d7d7 100%); | |
background: -webkit-linear-gradient(left, #e0f0fa 0%,#e0f0fa 50%,#d3d7d7 50%,#d3d7d7 100%); | |
background: -ms-linear-gradient(left, #e0f0fa 0%,#e0f0fa 50%,#d3d7d7 50%,#d3d7d7 100%); | |
background: linear-gradient(to right, #e0f0fa 0%,#e0f0fa 50%,#d3d7d7 50%,#d3d7d7 100%); | |
box-shadow: inset 0 1px @light-input-shadow; | |
cursor: pointer; | |
height: 3em; |
This file contains hidden or 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
/* Dual Label */ | |
.dual-label { | |
width: 70px; | |
display: inline-block; | |
} | |
.checkbox-image { | |
display: inline-block; | |
width: 35px; | |
height: 31px; |