Skip to content

Instantly share code, notes, and snippets.

View alcidesqueiroz's full-sized avatar
💭
Doing some OSS contribution in my spare time

Alcides Queiroz alcidesqueiroz

💭
Doing some OSS contribution in my spare time
View GitHub Profile
@alcidesqueiroz
alcidesqueiroz / gist:8d5e40a0c4c3b91bc1cb
Created December 14, 2014 15:20
Error installing Nokogiri gem on OS X Mavericks
gem install nokogiri -- --with-xml2-include=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/libxml2
@alcidesqueiroz
alcidesqueiroz / gist:86ceed070b1d5e25a28a
Created June 29, 2014 20:01
Git: Remove files in .gitignore from a repository
git ls-files -i --exclude-from=.gitignore | xargs git rm --cached
@alcidesqueiroz
alcidesqueiroz / gist:4f64352e38ffdd8e1d5d
Last active August 29, 2015 14:02
Sass: Function to render a "begins with" selector, which matches elements with some class beginning with a given text
@function class-begins-with($class-name){
@return '[class^="#{$class-name}"], [class*=" #{$class-name}"]';
}
//Usage
#{class-begins-with(main-toolbar-action)}{
color: black;
}
//Output
@alcidesqueiroz
alcidesqueiroz / gist:401ea1059a6a90aa2ac7
Last active August 29, 2015 14:01
Sass/CSS: Prevent flicker when doing transition with transform (webkit only)
@mixin fix-flicker-for-transform-transition{
-webkit-perspective: 1000;
-webkit-backface-visibility: hidden;
}
@alcidesqueiroz
alcidesqueiroz / gist:9475942
Created March 10, 2014 22:36
Fix: Erro "invalid command name 'bind'" no Ubuntu 13.04 ao tentar rodar o Receitanet-x.xx.bin
sudo apt-get install libgtk2.0-0:i386 libidn11:i386 libglu1-mesa:i386