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
HOMEBREW_VERSION: 0.9 | |
HEAD: b0cc25007a9eb3e8b5409e3bbd6932611e3c9f94 | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar | |
CPU: quad-core 64-bit sandybridge | |
OS X: 10.8-x86_64 | |
Xcode: 4.5 => /Applications/Xcode45-DP1.app/Contents/Developer | |
CLT: 4.4.0.0.1.1249367152 | |
GCC-4.0: N/A | |
GCC-4.2: N/A |
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/env bash | |
sudo apt-get -y update | |
sudo apt-get -y install make gcc build-essential zlib1g-dev libssl-dev libreadline-gplv2-dev libyaml-dev | |
cd /tmp | |
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz | |
tar -xvzf ruby-1.9.3-p194.tar.gz | |
cd ruby-1.9.3-p194/ | |
./configure --prefix=/usr/local | |
make | |
sudo make install |
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
localStrategy: (options) -> | |
app = Tower.Application.instance() | |
app.get "/logout", (request, response) -> | |
request.logout() | |
response.redirect "/" | |
app.post "/login", (request, response, next) -> | |
console.log 'authenticating....' | |
passport.authenticate("local", (err, user, info) -> |
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
info - socket.io started | |
[Tue, 14 Aug 2012 08:28:51 GMT] INFO Tower development server listening on port 3000 | |
/usr/local/lib/node_modules/mongodb/lib/mongodb/connection/server.js:423 | |
throw err; | |
^ | |
TypeError: Cannot read property 'handle' of undefined | |
at HTTPServer.app.use (/usr/local/lib/node_modules/tower/node_modules/express/lib/http.js:216:17) | |
at Tower.Application._this [as use] (/usr/local/lib/node_modules/tower/packages/tower-application/server/application.coffee:203:41) | |
at null.<anonymous> (/Users/avaranovich/projects/App/config/bootstrap.coffee:39:10) |
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/env gem build | |
# encoding: utf-8 | |
lib = File.expand_path('../lib/', __FILE__) | |
$:.unshift lib unless $:.include?(lib) | |
require 'custom_fields/version' | |
Gem::Specification.new do |s| | |
s.name = 'custom_fields' |
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 -y update | |
sudo apt-get -y upgrade | |
sudo mkdir -p /media/cdrom | |
sudo mount /dev/cdrom /media/cdrom | |
cd /media/cdrom | |
sudo cp VM*.tar.gz /tmp | |
sudo apt-get -y install linux-headers-server build-essential | |
cd /tmp | |
tar -xzvf VM*.tar.gz |
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
wget http://archive.cloudera.com/cdh/3/hadoop-0.20.2-cdh3u6.tar.gz | |
tar -xzvf hadoop-0.20.2-cdh3u6.tar.gz | |
mv hadoop-0.20.2-cdh3u6 hadoop | |
cd hadoop; ant compile -Dcompile.c++=true -Dlibhdfs=true |
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
compile-c++-libhdfs: | |
[exec] /bin/sh ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libhdfs\" -DPACKAGE_TARNAME=\"libhdfs\" -DPACKAGE_VERSION=\"0.1.0\" -DPACKAGE_STRING=\"libhdfs\ 0.1.0\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libhdfs\" -DVERSION=\"0.1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRTOUL=1 -DHAVE_FCNTL_H=1 -DHAVE__BOOL=1 -I. -I/Users/avaranovich/projects/hadoop/src/c++/libhdfs -g -O2 -DOS_DARWIN -DDSO_DYLD -DCPU=\"i386\" -m64 -I/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers -Wall -Wstrict-prototypes -MT hdfsJniHelper.lo -MD -MP -MF .deps/hdfsJniHelper.Tpo -c -o hdfsJniHelper.lo /Users/avaranovich/projects/hadoop/src/c++/libhdfs/hdfsJniHelper.c | |
[exec] libtool: compile: gcc -DPACKAGE_NAME=\"libhdfs |
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
source 'https://rubygems.org' | |
gem "rails", "~> 4.0.0" | |
gem 'rake', '~> 10.1.0' | |
# Bundle edge Rails instead: | |
# gem 'rails', :git => 'git://github.com/rails/rails.git' | |
gem 'json' |
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 echo 'AKKA_HOME=/usr/local/akka/akka-2.3.2' > /etc/profile.d/akka.sh | |
sudo echo 'export AKKA_HOME' >> /etc/profile.d/akka.sh | |
sudo mkdir -p /usr/local/akka | |
sudo unzip akka-2.3.2 -d /usr/local/akka/ | |
sudo rm -f akka-2.3.2.zip | |
sudo chown -R root:root /usr/local/akka | |
sudo update-alternatives --install "/usr/bin/akka" "akka" "/usr/local/akka/akka-2.3.2/bin/akka" 1 |
OlderNewer