Disable window drop shadow
defaults write com.apple.screencapture disable-shadow -bool true
defaults write com.apple.screencapture disable-shadow -bool false
Verifying my Blockstack ID is secured with the address 1GDA7SdRsi7ijNBHNRpm6BjzZb9d3BNzhY https://explorer.blockstack.org/address/1GDA7SdRsi7ijNBHNRpm6BjzZb9d3BNzhY |
@mixin vertical-align { | |
&:before { | |
content: ''; | |
display: inline-block; | |
height: 100%; | |
width: .1px; | |
vertical-align: middle; | |
} | |
} |
Disable window drop shadow
defaults write com.apple.screencapture disable-shadow -bool true
defaults write com.apple.screencapture disable-shadow -bool false
@mixin background-image-retina($file, $type) { | |
$image-normal: $file + '.' + $type; | |
$image-retina: $file + '@2x.' + $type; | |
$height: image-height($image-normal); | |
$width: image-width($image-normal); | |
background: image-url($image-normal) no-repeat 0 0; | |
height: $height; |
sudo gem update gem list | cut -d ' ' -f 1
To compress a directory use the following syntax: | |
sudo tar -zcvf archive_name.tar.gz directory_to_compress | |
To decompress an archive use the following syntax: | |
sudo tar -zxvf archive_name.tar.gz |
/* @for - could really badass on lists if you needed them each to have unique styles (@while works similar) */ | |
@for $i from 1 through 3 { | |
.my-class-#{$i} { width: 2px * $i; } | |
} | |
/* compiles to */ | |
.my-class-1 { | |
width: 2px; | |
} | |
.my-class-2 { |
/* @group =bullet-list */ | |
%bullet-list { | |
.generatedcontent & { | |
list-style: none; | |
margin-left: 0; | |
li { | |
padding-left: 15px; | |
position: relative; | |
&:before { | |
color: $gold; |