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
#github | |
.row.clearfix | |
#canvas-container.hidden-xs | |
canvas#repositories | |
noscript Sorry, you need Javascript enabled to view this chart. |
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
#dribbble | |
.row.clearfix.hidden-xs | |
noscript Sorry, you need Javascript enabled to view these Dribbble shots. | |
.column-3 | |
p Simplicity, functionality and accessibility will always remain at the core of my philosphy. I like to combine aspects of print and graphic such as dynamic layouts and typographic flourishes with the principles of modern, minimalism. |
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
const gulp = require('gulp'), | |
sync = require('browser-sync').create(), | |
del = require('del'), | |
minimist = require('minimist')(process.argv.slice(2)), | |
$ = require('gulp-load-plugins')(), | |
info = require('./package.json'), | |
header = '/*! Built with Catalyst. */', | |
staticFiles = gulp.src([ | |
'test/source/**/*', | |
'!test/source/**/*.html', |
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
root = true | |
[*] | |
indent_style = space | |
indent_size = 4 | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true |
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
$ -> | |
# Create abc,def string | |
Number::numberWithCommas = | |
String::numberWithCommas = -> | |
@toString().replace /\B(?=(\d{3})+(?!\d))/g, ',' | |
# Initial sound is empty | |
sound = undefined |
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
.gist { | |
.gist-file { | |
border: none !important; | |
margin-bottom: 0 !important; | |
.gist-data { | |
border-bottom: 2px solid #7f8c8d !important; | |
.line-numbers { | |
border-right: 2px solid #7f8c8d !important; | |
padding: 1em !important; | |
} |
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
// Sanitize a filename. Try 'df.34.%)sdfE$t5.HF.mp4' | |
var extension = fileName.split('.').slice(0).pop(), | |
sanitized = filename.replace(extension, '').replace(/\W+/g, '') + "." + extension; |
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
// Custom transform and opacity modifier for Stellar.js | |
$.stellar.positionProperty.transfade = { | |
setPosition: function(element, newLeft, originalLeft, newTop, originalTop) { | |
var distance = newTop - originalTop; | |
var rate = $(window).height() / 5; | |
element.css('transform', 'translate3d(0, ' + distance + 'px, 0').css('opacity', 1 - (distance / rate)); | |
} | |
}; |
NewerOlder