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/lib/ruby/1.8/chef/provider/package.rb:50:in `action_install': No version specified, and no candidate version available! (Chef::Exceptions::Package) | |
from /usr/lib/ruby/1.8/chef/runner.rb:61:in `send' | |
from /usr/lib/ruby/1.8/chef/runner.rb:61:in `run_action' | |
from /usr/lib/ruby/1.8/chef/runner.rb:111:in `converge' | |
from /usr/lib/ruby/1.8/chef/runner.rb:110:in `each' | |
from /usr/lib/ruby/1.8/chef/runner.rb:110:in `converge' | |
from /usr/lib/ruby/1.8/chef/resource_collection.rb:86:in `execute_each_resource' | |
from /usr/lib/ruby/1.8/chef/mixin/from_file.rb:30:in `each_with_index' | |
from /usr/lib/ruby/1.8/chef/resource_collection.rb:84:in `each' | |
from /usr/lib/ruby/1.8/chef/resource_collection.rb:84:in `each_with_index' |
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
set_unless[:authorization][:sudo][:groups] = Array.new | |
authorization[:sudo][:groups] << 'sudoers' | |
users = Mash.new(attribute?("users") ? users : {}) | |
# users[:kurtiss] = { | |
# :comment => 'Kurtiss Hare', | |
# :password => '$1$alkshjdk$tWUb3d70vLZfSsijnyf/C0', # "openssl -1 -salt <random>" to generate | |
# :ssh_keys => [ 'ssh-rsa ..data' ], # ssh-keygen | |
# } |
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
+(void)initialize { | |
Class selfClass = [MYWebView class]; | |
if (self == selfClass) { | |
Class appClass = [UIWindow class]; | |
SEL appMethodName = @selector(sendEvent:); | |
SEL selfMethodName = @selector(wv_sendEvent:); | |
Method appMethod = class_getInstanceMethod(appClass, appMethodName); | |
Method selfMethod = class_getInstanceMethod(selfClass, selfMethodName); |
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
#define WEBVIEW_TOUCH @"WEBVIEW_TOUCH" | |
@interface UIWindow (SwizzleDizzel) | |
-(void)wv_sendEvent:(UIEvent *)event; | |
@end | |
@interface MYWebView () |
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
{ | |
"cursor" : "BasicCursor", | |
"indexBounds" : [ ], | |
"nscanned" : 5162030, | |
"nscannedObjects" : 5162030, | |
"n" : 0, | |
"millis" : 81817, | |
"allPlans" : [ | |
{ | |
"cursor" : "BasicCursor", |
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
841500/1906031 44% | |
359000/1908326 18% | |
1400200/1921512 72% | |
1436200/1921512 74% | |
1476700/1921512 76% | |
1517200/1921512 78% | |
1557700/1921512 81% | |
1598200/1921512 83% | |
1638700/1921512 85% | |
1679000/1921512 87% |
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
> db.$cmd.sys.inprog.find() | |
{ "inprog" : [ | |
{ | |
"opid" : 72574407, | |
"active" : true, | |
"lockType" : "write", | |
"waitingForLock" : false, | |
"secs_running" : 1751, | |
"op" : "query", | |
"ns" : "database.$cmd", |
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
$ mongo db.mgm | |
MongoDB shell version: 1.3.3 | |
url: db.mgm | |
connecting to: db.mgm/test | |
Wed May 5 22:18:58 JS Error: Error: couldn't connect: couldn't connect to server db.mgm 10.215.202.112:27017 (anon):950 | |
Wed May 5 22:18:58 User Exception 12513:connect failed | |
exception: connect failed |
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
{ | |
"uptime" : 101, | |
"localTime" : "Wed May 05 2010 22:36:32 GMT+0000 (UTC)", | |
"globalLock" : { | |
"totalTime" : 100965573, | |
"lockTime" : 25334037, | |
"ratio" : 0.250917577618264 | |
}, | |
"mem" : { | |
"resident" : 132, |
OlderNewer