Skip to content

Instantly share code, notes, and snippets.

View kikitux's full-sized avatar

Alvaro Miranda Aguilera kikitux

View GitHub Profile
@robn
robn / consulcheck.pl
Created October 30, 2014 06:17
Consul two-stage check prototype
#!/usr/bin/env perl
use 5.014;
use warnings;
use strict;
use Consul;
use Sys::Hostname;
use Try::Tiny;
@jedi4ever
jedi4ever / dns tuning ssh login speedup vagrant
Created May 27, 2013 13:37
speeding up DNS/SSH connections in vagrant
- Tune /etc/ssh/sshd_config
UseDNS no # Disable DNS lookups
GSSAPIAuthentication no # Disable negotation of slow GSSAPI
don't forget to restart it, use a script provider to set it , or create it with veewee or snapshot it
- Tune Vagrantfile
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]