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
package main | |
import ( | |
"fmt" | |
) | |
// "Write a program that prints the numbers from 1 to 100. | |
// But for multiples of three print “Fizz” instead of the number | |
// and for the multiples of five print “Buzz”. | |
// For numbers which are multiples of both three and five print “FizzBuzz”." |
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
[ | |
{ | |
"_id": "564b68340ef2751c02e2c57c", | |
"index": 0, | |
"guid": "ccc41d29-87c7-4c7c-ac9f-777e8ad39f5c", | |
"isActive": false, | |
"balance": "$3,734.70", | |
"picture": "http://placehold.it/32x32", | |
"age": 22, | |
"eyeColor": "brown", |
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
#!/bin/bash | |
export PATH="/opt/chef/embedded/bin:$PATH" | |
gem install diffy --no-ri --no-rdoc | |
gem install diplomat --no-ri --no-rdoc |
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
1 animal is fine in a house. | |
17 animals would be my personal hell. | |
2 cats would be a nightmare. | |
3 animals are too many. | |
And this is another line. | |
Cause I like to test sorting. | |
Darron is a Site Reliability Engineer for Datadog. | |
OS X is pretty handy - happy I stuck with it years ago. | |
Professional engineers are smart and have taken lots of schooling. | |
This is a test of the Joshua file. |
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
Zebras are a fine animal. | |
And this is another line. | |
1 animal is fine in a house. | |
Professional engineers are smart and have taken lots of schooling. |
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/bin/env ruby | |
urls = %W(/homepage /page/subpage /page/about_us /section/two /dude /dudette) | |
ips = %W(127.0.0.1 192.168.0.1 192.168.1.4 192.168.2.3 192.168.5.5 192.168.7.1) | |
verbs = %W(GET POST PUT DELETE) | |
results = %W(200 404 403 301 302 500 200 200 200 200 200 200 200) | |
identities = %W(darron - - - - - - - - - -) | |
# 127.0.0.1 - frank [10/Oct/2000:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326 |
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/bin/env ruby | |
require 'digest' | |
require 'redis' | |
redis = Redis.new | |
class Time | |
def to_ms | |
(self.to_f * 1000.0).to_i |
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
log_level = "DEBUG" | |
bind_addr = "10.232.28.223" | |
advertise { | |
rpc = "10.232.28.223:4647" | |
serf = "10.232.28.223:4648" | |
} | |
data_dir = "/var/lib/nomad" | |
server { | |
enabled = true | |
bootstrap_expect = 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
# Docker Upstart and SysVinit configuration file | |
# Customize location of Docker binary (especially for development testing). | |
#DOCKER="/usr/local/bin/docker" | |
# Use DOCKER_OPTS to modify the daemon startup options. | |
#DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4" | |
# If you need Docker to use an HTTP proxy, it can also be specified here. | |
#export http_proxy="http://127.0.0.1:3128/" |
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
description "Docker daemon" | |
start on (local-filesystems and net-device-up IFACE!=lo) | |
stop on runlevel [!2345] | |
limit nofile 524288 1048576 | |
limit nproc 524288 1048576 | |
respawn | |
kill timeout 20 |