For more information about this project, follow this link.
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(){ | |
var i = 0; | |
var count = $('.Album.unavailable,.Album.preview').length; | |
console.log('Found ' + count + ' albums to remove'); | |
var timeout = 0; | |
$('.Album.unavailable,.Album.preview').each(function(){ | |
var instance_i = i++; | |
var album = $(this); | |
album.trigger('mouseover').mouseenter(); | |
album.find('a,div,span,image').trigger('mouseover').mouseenter(); |
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
<h1 class="center-x">X</h1> | |
<h1 class="center-y">Y</h1> | |
<h1 class="center-xy">XY</h1> |
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
$(document).bind('keydown', 'h', function() { | |
$hex.toggle(function() { | |
$(this).hide(); | |
}, function() { | |
$(this).show(); | |
}); | |
}); |
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
$.fn.popup_handler = function(selector_to_show) { | |
var self = this; | |
var target = $(selector_to_show); | |
target.hide(); | |
var target_shown = false; | |
var self_class = 'target-shown'; | |
var target_show = function() { | |
target.show(); | |
target_shown = true; | |
$(self).addClass(self_class); |
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 IE] | |
:javascript | |
document.body.className += ' ie'; | |
/[if IE 6] | |
:javascript | |
document.body.className += ' ie6'; | |
/[if IE 7] | |
:javascript | |
document.body.className += ' ie7'; | |
/[if IE 8] |
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 ip { | |
port=$1 | |
if [[ port -eq '' ]]; then | |
echo \"http://$IP/\" copied to clipboard. | |
echo http://$IP/ | pbcopy | |
else | |
echo \"http://$IP:$port/\" copied to clipboard. | |
echo http://$IP:$port/ | pbcopy | |
fi | |
} |
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
{ | |
"cmd": ["sass", "$file_name", "$file_base_name.css"], | |
"working_dir": "$file_path", | |
"selector": "source.sass" | |
} |
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
@for $n from 1 through 7 | |
#plantilla-#{$n} | |
:left 7em*$n | |
:-webkit-transform rotate(10deg*$n/(1.61803399*$n*$n)) |