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
if (!window.location.origin) { | |
const { protocol, hostname, port } = window.location; | |
window.location.origin = `${protocol}//${hostname}${port ? `:${port}` : ''}`; | |
} |
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
$('a').addClass('strikethrough').hover( | |
(e) => $(e.target).stop().addClass('mouseenter'), | |
(e) => { | |
$(e.target).stop().removeClass('mouseenter').addClass('mouseleave'); | |
setTimeout(() => { | |
$(e.target).stop().removeClass('mouseleave').addClass('no-transition'); | |
}, STIKETHROUGH_DURATION - STIKETHROUGH_OFFSET); | |
setTimeout(() => { | |
$(e.target).stop().removeClass('no-transition'); | |
}, STIKETHROUGH_DURATION + STIKETHROUGH_OFFSET); |
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
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 |
NewerOlder