This file contains hidden or 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 "context" | |
import "bufio" | |
import "fmt" | |
import "log" | |
import "os" | |
import "github.com/aws/aws-sdk-go-v2/config" | |
import "github.com/aws/aws-sdk-go-v2/service/glacier" |
This file contains hidden or 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 python | |
from random import choice | |
# | |
# Originally written in Ruby as a math learning tool for my 6 year old son. It | |
# is called 'DiceMath' because I wanted to add the visual for dice to help him | |
# count. I never got that far with adding images but I kept the name since I | |
# still think of it as rolling dice to select 2 random numbers. | |
# |
This file contains hidden or 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 | |
# | |
# My 6 year old has a home work assignment where he has to roll 2 dice and perform addition. | |
# I doubt we can find any dice in this house (thanks to him), so I wrote a quick script and | |
# probably took it too far. So based on the concept of "rolling 2 dice", but you can add, | |
# subtract, multiple and divide if you wish and pick the number of "sides" (default is 6). | |
# The division isn't as fun and my Ruby is super rusty so it's good practice. | |
# | |
class DiceMath |
This file contains hidden or 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
"msg": "There was an issue creating /usr/local/bin/etcd-scripts as requested: [Errno 30] Read-only file system: '/usr/local/bin/etcd-scripts'", | |
"path": "/usr/local/bin/etcd-scripts", |
This file contains hidden or 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
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/commands/command.py | |
<10.250.199.12> ESTABLISH SSH CONNECTION FOR USER: core | |
<10.250.199.12> SSH: EXEC ssh -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=core -o ConnectTimeout=10 -o 'ProxyCommand=ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -W %h:%p [email protected]' -o ControlPath=/Users/jbedard/.ansible/cp/520dfddec1 10.250.199.12 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-dpqyloobrgvjrzuwqspcstcyxqhozeme; no_proxy='"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"''"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"' https_proxy='"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"''"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"' http_pr |
This file contains hidden or 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
all: *.proto | |
protoc --proto_path=${GOPATH}/src:${GOPATH}/src/github.com/gogo/protobuf/protobuf:. --gogo_out=. *.proto |