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
def update_agi(delay=4): | |
prep_hosts() | |
print 'waiting', delay, 'seconds for agis to cycle down' | |
run('sleep ' + str(delay)) | |
kill_rails_command = fab_lib.kill_rails() | |
print 'destroy all rails' | |
try: | |
run(kill_rails_command, False, True) | |
except: # this will generally throw an error if there aren't any processes. | |
e = sys.exc_info()[1] |
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
describe('basic', function () { | |
var app; | |
var content = 'hello world'; | |
before(function (done) { | |
console.log('requiring server'); | |
//app = require('./strata_server/app'); | |
// console.log('server: ', util.inspect(app)); | |
done(); | |
}); |
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
describe('basic', function () { | |
var app; | |
var content = 'hello world'; | |
before(function (done) { | |
console.log('requiring server'); | |
//app = require('./strata_server/app'); | |
// console.log('server: ', util.inspect(app)); | |
done(); | |
}); |
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
describe('basic', function () { | |
var app; | |
var content = 'hello world'; | |
before(function (done) { | |
console.log('requiring server'); | |
//app = require('./strata_server/app'); | |
// console.log('server: ', util.inspect(app)); | |
done(); | |
}); |
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
silly gunzTarPerm modes [ '755', '644' ] | |
silly afterUntar undefined | |
silly asyncMap in gTP /home/bingomanatee/ac/arena-colles/node_modules/___canvas.npm/package | |
silly asyncMap in gTP /home/bingomanatee/ac/arena-colles/node_modules/___canvas.npm/package/test.png | |
silly asyncMap in gTP /home/bingomanatee/ac/arena-colles/node_modules/___canvas.npm/package/Makefile | |
silly asyncMap in gTP /home/bingomanatee/ac/arena-colles/node_modules/___canvas.npm/package/Readme.md | |
silly asyncMap in gTP /home/bingomanatee/ac/arena-colles/node_modules/___canvas.npm/package/install | |
silly asyncMap in gTP /home/bingomanatee/ac/arena-colles/node_modules/___canvas.npm/package/.npmignore | |
silly asyncMap in gTP /home/bingomanatee/ac/arena-colles/node_modules/___canvas.npm/package/wscript | |
silly asyncMap in gTP /home/bingomanatee/ac/arena-colles/node_modules/___canvas.npm/package/History.md |
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
=begin | |
HERE IS MY RUBY MAP/REDUCE. | |
I have erased the destination collection "summary" | |
Note that the "ct" values from my MAP function are ending up in my output -- | |
EVEN THOUGH THEY ARE NOT COMING FROM REDUCE!!!! WTF???? | |
=end | |
map = <<-eos | |
function() { | |
if (this.hasOwnProperty('uri') && this.uri.hasOwnProperty('path') && this.uri.path){ |
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
$(function () { | |
var pages = []; | |
var PageModel = Backbone.Model.extend({ | |
defaults:{ | |
title:"Untitled", | |
body:'New Article', | |
created:new Date(), // not precisely accurate but better than nothing |
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
/** | |
* Module dependencies. | |
*/ | |
var express = require('express'); | |
var app = express.createServer( | |
express.logger() |
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
Capybara.register_driver :selenium_firefox_gb do |app| #selenium_firefox_gb | |
prof = Selenium::WebDriver::Firefox::Profile.from_name 'default' | |
prof.accept_untrusted_certs = true | |
prof.ignore_ssl_errors = true | |
prof.assume_untrusted_certificate_issuer = false | |
pp "PROFILE: " + prof.inspect | |
Capybara::Selenium::Driver.new(app, :browser => :firefox, | |
:profile => prof) | |
end |
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
var NE = require('./../lib'); | |
var path = require('path'); | |
var _ = require('underscore'); | |
var util = require('util'); | |
var request = require('request'); | |
var fs = require('fs'); | |
var path = require('path'); | |
var framework; |