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
# Current implementation (Broken). | |
# Doesn't ensure that the tag value of 'aws:autoscaling:groupName' | |
# is actually the name of the autoscaling group | |
def ec2_instances | |
instances = EC2::InstanceCollection.new(:config => config) | |
instances.tagged('aws:autoscaling:groupName').tagged_values(name) | |
end | |
# Proposed fix. Works but is really slow. | |
def fixed_but_inefficient_ec2_instances |
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
nachos:xdsui pbogunovich$ mdfind -onlyin /usr zmq | |
/usr/local/jzmq/share/java/zmq.jar | |
/usr/local/zeromq/share/man/man7/zmq_tcp.7 | |
/usr/local/zeromq/share/man/man7/zmq_pgm.7 | |
/usr/local/zeromq/share/man/man7/zmq_ipc.7 | |
/usr/local/zeromq/share/man/man7/zmq_inproc.7 | |
/usr/local/zeromq/share/man/man7/zmq_epgm.7 | |
/usr/local/zeromq/share/man/man7/zmq_cpp.7 | |
/usr/local/zeromq/share/man/man7/zmq.7 | |
/usr/local/zeromq/share/man/man3/zmq_version.3 |
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
nachos:xdsui pbogunovich$ radeploy staging deploy:restart | |
/Users/pbogunovich/.rvm/gems/ruby-1.8.7-p334/gems/net-ssh-2.1.4/lib/net/ssh.rb:197:in `start': ubuntu (Net::SSH::AuthenticationFailed) | |
from /Users/pbogunovich/.rvm/gems/ruby-1.8.7-p334/gems/radeploy-0.1.8/lib/radeploy.rb:81:in `hosts_from_chef' | |
from /Users/pbogunovich/.rvm/gems/ruby-1.8.7-p334/gems/radeploy-0.1.8/lib/radeploy.rb:56:in `determine_host_ips' | |
from /Users/pbogunovich/.rvm/gems/ruby-1.8.7-p334/gems/radeploy-0.1.8/lib/radeploy.rb:25:in `run' | |
from /Users/pbogunovich/.rvm/gems/ruby-1.8.7-p334/gems/radeploy-0.1.8/bin/radeploy:5 | |
from /Users/pbogunovich/.rvm/gems/ruby-1.8.7-p334/bin/radeploy:19:in `load' | |
from /Users/pbogunovich/.rvm/gems/ruby-1.8.7-p334/bin/radeploy:19 |
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
message UserRecord { | |
required uint32 version = 1 [default = 1]; | |
required uint64 timestamp = 2; | |
optional string user_id = 3; | |
repeated Interaction interactions = 4; | |
repeated Segment rapleaf_segments = 5 [deprecated=true]; | |
repeated SegmentsPerProvider segments = 6; | |
message Interaction { |
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
Object Histogram: | |
num #instances #bytes Class description | |
-------------------------------------------------------------------------- | |
1: 43266425 692262800 java.lang.Object | |
2: 4816449 577973880 java.net.SocksSocketImpl | |
3: 4801256 537740672 sun.nio.ch.SocketChannelImpl | |
4: 9617610 307763520 java.net.Inet4Address | |
5: 9603297 230479128 java.net.InetSocketAddress | |
6: 4801255 230460240 sun.nio.ch.SocketAdaptor |
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
Object Histogram: | |
num #instances #bytes Class description | |
-------------------------------------------------------------------------- | |
1: 43266425 692262800 java.lang.Object | |
2: 4816449 577973880 java.net.SocksSocketImpl | |
3: 4801256 537740672 sun.nio.ch.SocketChannelImpl | |
4: 9617610 307763520 java.net.Inet4Address | |
5: 9603297 230479128 java.net.InetSocketAddress | |
6: 4801255 230460240 sun.nio.ch.SocketAdaptor |
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
USER-AGENT: (Mozilla/5.0 (Windows NT 6.1; rv:8.0.1) Gecko/20100101 Firefox/8.0.1) | |
[2012-03-09 18:10:06,165] INFO [qtp589734556-23] (BufferedRequestLogger.java:78) : flushing request log for staleness | |
[2012-03-09 18:10:07,948] WARN [qtp589734556-24] (MatchResponseJob.java:52) : | |
USER-AGENT: (Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C; BRI/2; AskTbATU2/5.14.1.20007)) | |
[2012-03-09 18:10:07,959] WARN [qtp589734556-28] (MatchResponseJob.java:52) : | |
USER-AGENT: (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_5_8) AppleWebKit/534.50.2 (KHTML, like Gecko) Version/5.0.6 Safari/533.22.3) | |
[2012-03-09 18:10:07,992] WARN [qtp589734556-27] (MatchResponseJob.java:52) : | |
USER-AGENT: (Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.78 Safari/535.11) | |
[2012-03-09 18:10:08,730] WARN [qtp589734556-89] (MatchResponseJob.java:52) : | |
USER-AGENT: (Mozilla/5.0 (compatible; |
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
USER-AGENT: (Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20100101 Firefox/10.0.2) | |
[2012-03-09 19:06:43,215] WARN [qtp589734556-65] (MatchResponseJob.java:52) : | |
USER-AGENT: (Mozilla/5.0 (Windows; U; Windows NT 6.1; fr; rv:1.9.2.27) Gecko/20120216 Firefox/3.6.27) | |
[2012-03-09 19:06:43,317] WARN [qtp589734556-63] (MatchResponseJob.java:52) : | |
USER-AGENT: (Mozilla/5.0 (Windows NT 6.0) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7) | |
[2012-03-09 19:06:43,340] WARN [qtp589734556-57] (MatchResponseJob.java:52) : | |
USER-AGENT: (Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.78 Safari/535.11) | |
[2012-03-09 19:06:43,387] WARN [qtp589734556-96] (MatchResponseJob.java:52) : | |
USER-AGENT: (Mozilla/5.0 (Windows NT 6.0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.78 Safari/535.11) | |
[2012-03-09 19:06:43,504] WARN [qtp589734556-57] (MatchResponseJob.java:52) : |
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
class SocketThreadLocal extends ThreadLocal<ZMQ.Socket> | |
{ | |
static final Logger log = Logger.getLogger(SocketThreadLocal.class); | |
private ZMQ.Context ctx; | |
private MQConfig config; | |
SocketThreadLocal(ZMQ.Context ctx, MQConfig config) | |
{ | |
this.ctx = ctx; |
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
<a href="http://p.rightaction.com/px?t=2&x=3&i=1234&m=made_up&y=0&a=made_up_auction_id&r=http%3A%2F%2Fwww.google.com" target="_blank"> | |
<img src="http://media.rightaction.com/79a9cae00fbe012f812b123139334f9e" height="250" width="300" border="0"> | |
</a> | |
<script type="text/javascript"> | |
(function(){var x=('https:'==document.location.protocol)?'https':'http';document.write(unescape('%3Cimg src=\"'+x+'://p.rightaction.com/px?t=1&x=3&i=1234&a=made_up_auction_id&z=1023309013&p=A5BBBCC9EA3B8588\" height=\"1\" width=\"1\"%3E'));})(); | |
</script> |
OlderNewer