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
defaults write com.apple.finder AppleShowAllFiles -boolean true && killall Finder |
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
gem install nokogiri -- --with-xml2-include=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/libxml2 |
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
git ls-files -i --exclude-from=.gitignore | xargs git rm --cached |
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 class-begins-with($class-name){ | |
@return '[class^="#{$class-name}"], [class*=" #{$class-name}"]'; | |
} | |
//Usage | |
#{class-begins-with(main-toolbar-action)}{ | |
color: black; | |
} | |
//Output |
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
@mixin same($values...) { | |
$length: length($values); | |
$value: nth($values, $length); | |
@for $i from 1 to $length { | |
#{nth($values, $i)}: $value; | |
} | |
} | |
// Usage: |
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
@mixin fix-flicker-for-transform-transition{ | |
-webkit-perspective: 1000; | |
-webkit-backface-visibility: hidden; | |
} |
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
sudo apt-get install libgtk2.0-0:i386 libidn11:i386 libglu1-mesa:i386 |
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
current_path = File.dirname(__FILE__) | |
sass_path = File.join(current_path, 'scss') | |
css_path = File.join(current_path, 'css') | |
#:expanded, :nested, :compact, :compressed | |
output_style = :expanded |
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
#!/usr/bin/perl | |
if ($#ARGV != 1) { | |
print "usage: colordiff color_a color_b\n"; | |
exit; | |
} | |
$color_a = $ARGV[0]; | |
$color_b = $ARGV[1]; |
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
sudo apt-get install imagemagick librmagick-ruby |
NewerOlder