I hereby claim:
* I am matheusagcosta on github.
* I am matheusagcosta (https://keybase.io/matheusagcosta) on keybase.
* I have a public key ASDa6hF-csiUyWBiiJilmEvGNuXXPQPneFO8qS4zSS1EBwo
To claim this, I am signing this object:
/** | |
* centering with absolute position | |
*/ | |
div { | |
width: 100px; | |
height: 100px; | |
background-color: red; | |
position: absolute; |
defaults write com.apple.finder AppleShowAllFiles YES | |
defaults write com.apple.finder AppleShowAllFiles NO |
$ rails generate refills:list | |
$ rails generate refills:import SNIPPET |
type git | |
The answer will be like this: | |
git is hashed (/usr/bin/git) | |
hash -d git |
<style> | |
.container { | |
display: table; | |
position: relative; | |
width: 100%; | |
} | |
button, | |
.input { | |
display: table-cell; |
$(function() { | |
var flashCallback; | |
flashCallback = function() { | |
return $("#flash-messages").fadeOut(); | |
}; | |
$("#flash-messages-close").bind('click', (function(_this) { | |
return function(ev) { | |
return $("#flash-messages").fadeOut(); | |
}; | |
})(this)); |
@mixin truncate($width) { | |
overflow: hidden; | |
text-overflow: ellipsis; | |
white-space: nowrap; | |
width: $width; | |
} |
$(".search-field input").keyup(function(){ | |
_this = this; | |
// Show or hide items | |
$.each($(".contacts-list ul").find("li"), function() { | |
console.log($(this).text()); | |
if($(this).text().toLowerCase().indexOf($(_this).val().toLowerCase()) == -1) | |
$(this).hide(); | |
else | |
$(this).show(); |
$map: ( | |
small: (38px, 2.5px), | |
medium: (56px, 5px), | |
big: (96px, 15px) | |
); | |
.class { | |
@each $size, $value in $map { | |
&--#{$size} { | |
height: #{nth($value, 1)}; |