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
mkdir homebrew && curl -L https://github.com/mxcl/homebrew/tarball/master | tar xz --strip 1 -C homebrew |
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
/usr/bin/ruby -e "$(/usr/bin/curl -fksSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)" |
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
tar xzvf node-v0.4.2.tar.gz | |
cd node-v0.4.2 | |
export PATH=/Developer/usr/bin:$PATH | |
ISYSROOT="-isysroot /Developer/SDKs/MacOSX10.5.sdk" | |
export LINKFLAGS=$ISYSROOT CXXFLAGS=$ISYSROOT CFLAGS=$ISYSROOT | |
./configure --prefix=$HOME --without-ssl | |
make |
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 'Qt4' | |
app = QApplication.new([]) do | |
window = QMainWindow.new do | |
button = QPushButton.new("Quit") do | |
connect(self, :clicked) { qApp.quit } | |
end | |
set_central_widget(button) | |
set_window_title("Qt Application - The Ruby Way") | |
resize(300,200) |
NewerOlder