This file contains hidden or 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
require 'formula' | |
class Protobuf < Formula | |
url 'http://protobuf.googlecode.com/files/protobuf-2.4.0a.tar.bz2' | |
homepage 'http://code.google.com/p/protobuf/' | |
sha1 '5816b0dd686115c3d90c3beccf17fd89432d3f07' | |
fails_with_llvm | |
def options |
This file contains hidden or 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
# you should checkout to the history version of scala.rb | |
cd /path/to/homebrew (default is /usr/local) | |
git checkout d64edec425df44918c58b6b021ffef2628242248 Library/Formula/scala.rb | |
brew info scala # you will see the 2.10 version | |
brew install scala | |
# after install, turn back to the master version | |
brew checkout master Library/Formula/scala.rb | |
# you can install both 2.10 & 2.11, brew switch can easily switch to any specific version | |
brew switch scala 2.10 | |
brew switch scala 2.11 |
This file contains hidden or 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
<style> | |
span { display: inline-block; } | |
#left { text-align: left; } | |
#right { text-align: right; } | |
</style> | |
<div style="width: 100px; height: 30px; overflow:hidden; "> | |
<span id="left"></span> | |
<span id="right"></span> | |
</div> |
NewerOlder