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 find_container(container_name, obj = nil) | |
container_info = requested_container_info(container_name) | |
container_name = clean_container_name(container_name) | |
parts = [prefix] | |
parts << container_name unless container_name == 'default' | |
name = parts.compact.join('-') |
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
g_dirs = g_connection.directories.all.map(&:key) | |
puts g_dirs | |
# create all the buckets that we need on google. | |
rs_connection.directories.each do |dir| | |
#refresh the list of google dirs | |
g_dirs = g_connection.directories.all.map(&:key) | |
dir_name_arr = dir.key.split("-") |
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
app-1:~$ rvm install ruby-1.9.3-p194 | |
Searching for binary rubies, this might take some time. | |
Checking requirements for debian. | |
Installing requirements for debian. | |
Hit http://gce_debian_mirror.storage.googleapis.com wheezy Release.gpg | |
Hit http://gce_debian_mirror.storage.googleapis.com wheezy Release | |
Hit http://gce_debian_mirror.storage.googleapis.com wheezy/main Sources | |
Hit http://packages.cloudpassage.com debian Release.gpg | |
Hit http://security.debian.org wheezy/updates Release.gpg | |
Hit http://gce_debian_mirror.storage.googleapis.com wheezy/main amd64 Packages |
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 self.subscribe_user_batch(users) | |
batch = users.map { |user| {EMAIL: user.email, FNAME: user.first_name, LNAME: user.last_name} } | |
Gibbon.batch_subscribe(:id => current_marketing_list['id'], :batch => batch) | |
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
➜ getsocialbooks.com git:(dev) ✗>rake assets:precompile | |
/Users/benjohnson/.rvm/gems/ruby-1.9.3-p392@bookshout/gems/zipruby-0.3.6/lib/zipruby.bundle: warning: already initialized constant VERSION | |
DEPRECATION WARNING: config.generators in Rails::Railtie is deprecated. Please use config.app_generators instead. (called from require at /Users/benjohnson/.rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:72) | |
/Users/benjohnson/.rvm/gems/ruby-1.9.3-p392@bookshout/gems/activesupport-3.1.12/lib/active_support/dependencies.rb:240:in `block in require': iconv will be deprecated in the future, use String#encode instead. | |
/Users/benjohnson/.rvm/rubies/ruby-1.9.3-p392/bin/ruby /Users/benjohnson/.rvm/gems/ruby-1.9.3-p392@bookshout/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets | |
/Users/benjohnson/.rvm/gems/ruby-1.9.3-p392@bookshout/gems/zipruby-0.3.6/lib/zipruby.bundle: warning: already initialized constant VERSION | |
DEPRECATION WARNING: config.generators in Rails::Railtie is depre |
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
** [out :: 166.78.167.32] 2281 /web/dev.bookshout/shared/bundle/ruby/1.9.1/gems/net-ssh-2.6.1/lib/net/ssh/buffered_io.rb | |
** [out :: 166.78.167.32] 2282 /web/dev.bookshout/shared/bundle/ruby/1.9.1/gems/net-ssh-2.6.1/lib/net/ssh/authentication/constants.rb | |
** [out :: 166.78.167.32] 2283 /web/dev.bookshout/shared/bundle/ruby/1.9.1/gems/net-ssh-2.6.1/lib/net/ssh/connection/constants.rb | |
** [out :: 166.78.167.32] 2284 /web/dev.bookshout/shared/bundle/ruby/1.9.1/gems/net-ssh-2.6.1/lib/net/ssh/packet.rb | |
** [out :: 166.78.167.32] 2285 /web/dev.bookshout/shared/bundle/ruby/1.9.1/gems/net-ssh-2.6.1/lib/net/ssh/transport/state.rb | |
** [out :: 166.78.167.32] 2286 /web/dev.bookshout/shared/bundle/ruby/1.9.1/gems/net-ssh-2.6.1/lib/net/ssh/transport/packet_stream.rb | |
** [out :: 166.78.167.32] 2287 /web/dev.bookshout/shared/bundle/ruby/1.9.1/gems/net-ssh-2.6.1/lib/net/ssh/verifiers/null.rb | |
** [out :: 166.78.167.32] 2288 /web/dev.bookshout/shared/bundle/ruby/1.9.1/gems/net-ssh-2.6.1/lib/net/ssh/verifiers/secure.rb | |
** [ou |
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
➜ crockpot git:(master) ✗ knife bootstrap localhost --ssh-user vagrant --ssh-password vagrant --ssh-port 2222 --run-list "recipe[users::sysadmins]" --sudo | |
Bootstrapping Chef on localhost | |
localhost Starting Chef Client, version 11.4.4 | |
localhost | |
localhost resolving cookbooks for run list: ["users::sysadmins"] | |
localhost | |
localhost Synchronizing Cookbooks: | |
localhost | |
localhost - users | |
localhost |
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
d207ae769f84463a5d250508bf8156cfbd6752a9 --- good | |
a866352a56260e911f92148b4c650dcfdadea782 - poop revert | |
2f7de4787ef5b5f258a30067635a7baf36eea9c1 - poop revert | |
07d24daed3e07fe02bb8a81ef63179cd00528624 - poop revert | |
d56cf5d98f5dcc6aaf3319041942714ac172028b - poop | |
f4953f1051519e541fcbae7ebcb1bc3d9b2dd6a8 - poop | |
c1bb68525b5e8d9c76fc896f2f10814457850973 - poop | |
2a82d1170208d7450dfd07655673d03f4e65c5e4 --- good | |
ada68714a442a286521e559d51dd4377ef880434 --- good | |
72b929cb0072d5117f3282b5dcca825b150d04a9 --- good |
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
deploy@ip-10-141-132-122 /data/synapi/current $ RAILS_ENV=production rake sunspot:reindex | |
Error - RSolr::Error::Http - 500 Internal Server Error - retrying... | |
Error - RSolr::Error::Http - 500 Internal Server Error - ignoring... | |
Error - RSolr::Error::Http - 500 Internal Server Error - retrying... | |
Error - RSolr::Error::Http - 500 Internal Server Error - ignoring... | |
[# ] [ 50/122310] [ 0.04%] [00:04] [03:00:00] [ 11.32/s]Error - RSolr::Error::Http - 500 Internal Server Error - retrying... | |
Error - RSolr::Error::Http - 500 Internal Server Error - ignoring... | |
[# ] [ 100/122310] [ 0.08%] [00:06] [02:15:56] [ 14.98/s]Error - RSolr::Error::Http - 500 Internal Server Error - retrying... | |
Error - RSolr::Error::Http - 500 Internal Server Error - ignoring... | |
[# ] [ 150/122310] [ 0.12%] [00:08] [02:00:32] [ 16.89/s]Error - RSolr::Error::Http - 500 Internal Server Error - retrying... |
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
<div class="OUTBRAIN" data-src="http://evilspeculator.com/?p=31069" data-widget-id="AR_2" data-ob-template="investing" ></div> | |
<script type="text/javascript" async="async" src="http://widgets.outbrain.com/outbrain.js"></script> | |
<div class="OUTBRAIN" data-src="http://evilspeculator.com/?p=31069" data-widget-id="AR_3" data-ob-template="investing" ></div> | |
<script type="text/javascript" async="async" src="http://widgets.outbrain.com/outbrain.js"></script> |