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
https://gist.github.com/4a718685987002b68016 |
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
Installing xmlparser (0.6.81) with native extensions /Users/onkara/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:533:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError) | |
"/Users/onkara/.rvm/rubies/ruby-1.9.2-p290/bin/ruby" -rubygems /Users/onkara/RubyProjects/CloudBees/grandcentral/mkrf/ruby/1.9.1/gems/rake-0.9.2/bin/rake RUBYARCHDIR=/Users/onkara/RubyProjects/CloudBees/grandcentral/mkrf/ruby/1.9.1/gems/xmlparser-0.6.81/lib RUBYLIBDIR=/Users/onkara/RubyProjects/CloudBees/grandcentral/mkrf/ruby/1.9.1/gems/xmlparser-0.6.81/lib | |
rm -rf test/coverage | |
/Users/onkara/.rvm/rubies/ruby-1.9.2-p290/bin/ruby mkrf_conf.rb | |
(in /Users/onkara/RubyProjects/CloudBees/grandcentral/mkrf/ruby/1.9.1/gems/xmlparser-0.6.81) | |
rake | |
gcc -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -fno-common -pipe -DHAVE_E |
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 env ARCHFLAGS=’-arch x86_64′ gem install pg — –with-opt-include=/opt/local/include/postgresql84 –with-opt-lib=/opt/local/lib/postgresql84 |
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
def get_operation_result | |
os = OpenStruct.new | |
if @result.is_a?(Hash) | |
os.code = (@result[:resultCode] || "").to_i | |
os.error_message = @result[:errorMessage] | |
os.matched_dn = @result[:matchedDN] | |
elsif @result | |
os.code = @result | |
else | |
os.code = 0 |
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
--- 1, i-c331e3ad, 1, job/openht/com.zoundry$open-ht-test/41/, 2011-05-24 23:09:22 UTC | |
--- 1, i-c331e3ad, 1, job/openht/com.zoundry$open-ht-test/41/, 2011-05-24 23:09:24 UTC | |
--- 1, i-c331e3ad, 1, job/openht/com.zoundry$open-ht-test/41/, 2011-05-24 23:09:25 UTC | |
--- 2, i-c331e3ad, 1, job/openht/com.zoundry$open-ht-test/41/, 2011-05-24 23:09:26 UTC | |
--- 1, i-c331e3ad, 1, job/openht/com.zoundry$open-ht-test/41/, 2011-05-24 23:09:28 UTC | |
--- 1, i-c331e3ad, 1, job/openht/com.zoundry$open-ht-test/41/, 2011-05-24 23:09:29 UTC | |
--- 1, i-c331e3ad, 1, job/openht/com.zoundry$open-ht-test/41/, 2011-05-24 23:09:30 UTC | |
--- 1, i-c331e3ad, 1, job/openht/com.zoundry$open-ht-test/41/, 2011-05-24 23:09:31 UTC | |
--- 1, i-c331e3ad, 1, job/openht/com.zoundry$open-ht-test/41/, 2011-05-24 23:09:33 UTC | |
--- 1, i-c331e3ad, 1, job/openht/com.zoundry$open-ht-test/41/, 2011-05-24 23:09:34 UTC |
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
Installed RVM HEAD version: | |
rvm 1.6.5 by Wayne E. Seguin (wayneeseguin@gmail.com) [https://rvm.beginrescueend.com/] | |
/Users/onkara/.rvm/scripts/get: line 180: unexpected EOF while looking for matching `"' | |
/Users/onkara/.rvm/scripts/get: line 194: syntax error: unexpected end of file |
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
geekjapan | |
yoshihiro503 | |
ggua5470 | |
jefflai | |
alexsmirnov | |
ekathvam12 | |
adarshg | |
rigden | |
crisec | |
rccreativeapps |
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
cron "mongodb-backup" do | |
hour "0" | |
minute "05" | |
user "gc" | |
command "dt=$(date +%m_%d_%Y_at_%H_%M_%S) && mongodump -d grand_central_production -h localhost -o /tmp/mongo_backup_on_$dt && tar -cvzf $_.tar.gz $_ && rm -fr $_ && mv $_.tar.gz /mnt/postgres/mongo_backups/" | |
end |
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
io:format("Learning Erlang in ~p~n", [element(2,file:get_cwd())]). | |
%% Edit to the directory where you store your code | |
c:cd("/Users/dayas/ErlangProjects/learning"). | |
io:format("Now in:~p~n", [element(2,file:get_cwd())]). |
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
1.9.2 ip-192-168-1-126: [master] $ dev1/erts-5.8.1/bin/escript dev1/erts-5.8.1/bin/nodetool -name dev1@127.0.0.1 -setcookie riak ping | |
pong | |
1.9.2 ip-192-168-1-126: [master] $ dev1/bin/riak pingpong | |
1.9.2 ip-192-168-1-126: [master] $ dev2/bin/riak-admin status1-minute stats for 'dev2@127.0.0.1' | |
------------------------------------------- | |
vnode gets : 0 | |
vnode_puts : 0 | |
read_repairs : 0 | |
vnode_gets_total : 0 | |
vnode_puts_total : 0 |