Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

- name: Create Internal Haproxy ELB
ec2_elb_lb:
name: "{{ prefix }}-haproxy-lb"
state: present
region: "{{ region }}"
subnets: "{{ haproxy_subnet_ids }}"
scheme: internal
cross_az_load_balancing: yes
purge_subnets: yes
purge_zones: yes

Keybase proof

I hereby claim:

  • I am damomurf on github.
  • I am damomurf (https://keybase.io/damomurf) on keybase.
  • I have a public key whose fingerprint is 1180 EEEA 154C C585 6820 D07E 3D45 FF12 6FF4 4115

To claim this, I am signing this object:

=============================================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================================
Installing:
lib-mesos x86_64 0.25.0-1 /lib-mesos-0.25.0-1.x86_64 349 M
Installing for dependencies:
apr x86_64 1.3.9-5.el6_2 base 123 k
apr-devel

Keybase proof

I hereby claim:

  • I am damomurf on github.
  • I am damomurf (https://keybase.io/damomurf) on keybase.
  • I have a public key whose fingerprint is 6261 924E AC6E DAB2 BC6B 90BC CB07 81D6 37B1 2228

To claim this, I am signing this object:

$ ls -al /tmp/jetty-0.0.0.0-8080-jenkins.war--any-/webapp/WEB-INF/lib/
total 15948
drwxr-xr-x. 2 jenkins jenkins 4096 Feb 21 16:17 .
drwxr-xr-x. 4 jenkins jenkins 4096 Feb 21 16:17 ..
-rw-r--r--. 1 jenkins jenkins 6222383 Aug 19 2013 groovy-all-1.8.9.jar
-rw-r--r--. 1 jenkins jenkins 6683 Nov 12 2012 instance-identity-1.3.jar
-rw-r--r--. 1 jenkins jenkins 9630353 Feb 9 07:57 jenkins-core-1.550.jar
-rw-r--r--. 1 jenkins jenkins 23410 Oct 20 22:32 sshd-1.6.jar
-rw-r--r--. 1 jenkins jenkins 335088 Nov 18 21:36 stapler-1.223.jar
-rw-r--r--. 1 jenkins jenkins 60862 Mar 3 2013 stapler-adjunct-codemirror-1.2.jar
@damomurf
damomurf / http_test.js
Created January 21, 2014 07:08
node.js test code demonstrating an http.Agent configured with maxSockets = 5 appearing to "block" after the 5th http request has been sent. If sockets were being reused in the agent, I would expect all 10 requests to complete.
var http = require('http');
var url = require('url');
var agent = new http.Agent({
maxSockets: 5
});
var path = 'http://www.google.com'
var options = url.parse(path);
@damomurf
damomurf / gist:8430825
Created January 15, 2014 04:36
Attempt at $key range query and then exact $key value query. Riak 1.4.2.
curl -v http://<host>:8098/buckets/<bucket>/index/$key/aaaa0/aaaaZ
curl -v http://<host>:8098/buckets/<bucket>/index/$key/aaaa0/aaaaZ/
Return Invalid query: [{unknown_field_type,<<"aaaa0">>}]
curl -v http://<host>:8098/buckets/<bucket>/index/$key/88c92f8fbd707172251bd34244c559d0b4bce3e4
curl -v http://<host>:8098/buckets/<bucket>/index/$key/88c92f8fbd707172251bd34244c559d0b4bce3e4/
Return Invalid query: {too_few_arguments,[]}