I hereby claim:
- I am daniellockard on github.
- I am danielhlockard (https://keybase.io/danielhlockard) on keybase.
- I have a public key whose fingerprint is 6840 68F4 A074 FE07 B7CD 33BC 913E 07E0 0DBC 331B
To claim this, I am signing this object:
http://git.eduarmor.com/lhicks/antaeus.git | |
http://git.eduarmor.com/JVP/jobless-veterans-program.git | |
http://git.eduarmor.com/lhicks/temp.git | |
http://git.eduarmor.com/lhicks/wordcount.git |
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"fmt" | |
"github.com/vmware/govmomi" | |
"github.com/vmware/govmomi/vim25/mo" | |
"github.com/vmware/govmomi/vim25/types" | |
"net/url" | |
) | |
package "nginx" do | |
action :install | |
end | |
package "php-fpm" do | |
action :install | |
end | |
service "nginx" do | |
action [:start,:enable] |
elif [[ "$COMMAND" = -* ]] ; then | |
# class and package names cannot begin with a - | |
echo "Error: No command named \`$COMMAND' was found. Perhaps you meant \`hadoop ${COMMAND#-}'" | |
exit 1 | |
else |
module Color | |
NC = "\e[0m" | |
WHITE = "\e[1;37m" | |
BLACK = "\e[0;30m" | |
BLUE = "\e[0;34m" | |
LIGHT_BLUE = "\e[1;34m" | |
GREEN = "\e[0;32m" | |
LIGHT_GREEN = "\e[1;32m" | |
CYAN = "\e[0;36m" | |
LIGHT_CYAN = "\e[1;36m" |
require './lib/harddisk' | |
module ReImagEngine | |
class DiskImager | |
attr_reader :harddisks | |
attr_accessor :server_address, | |
:server_shared_type, | |
:server_share_name | |
# config shit here or even extract a config class |
asd | |
fa | |
sdf | |
asdf |
def translate(word) | |
@word = word.to_s | |
result = "" | |
if word.scan(/[aeiou]/).count >= 1 | |
result << @word + "ay" | |
end | |
end |
class Host < Struct.new(:host_name, :use, :address, :max_check_attempts, :check_interval, :retry_interval, :check_period, :contact_groups, :notification_interval, :notification_period, :icon_image, :statusmap_image, :register) | |
def to_s | |
ret = "define host {\n" | |
ret += "\thost_name\t\t#{host_name}\n" | |
ret += "\tuse\t\t\t#{use}\n" | |
ret += "\taddress\t\t\t#{address}\n" | |
ret += "\tmax_check_attempts\t#{max_check_attempts}\n" | |
ret += "\tcheck_interval\t\t#{check_interval}\n" | |
ret += "\tretry_interval\t\t#{retry_interval}\n" | |
ret += "\tcheck_period\t\t#{check_period}\n" |