I hereby claim:
- I am miketheman on github.
- I am miketheman (https://keybase.io/miketheman) on keybase.
- I have a public key ASAvv9Z5J9DxlPsLOBx0QCKOAY42qSJvMNxWzR6t2tRLLQo
To claim this, I am signing this object:
| from github import Github | |
| gh = Github('SET_GITHUB_ACCESS_TOKE_HERE') | |
| org = gh.get_organization('SET_ORG_NAME_HERE') | |
| repos = org.get_repos() | |
| for repo in repos: | |
| if repo.archived: |
| void main() { | |
| Duration duration = new Duration(minutes: 1, seconds: 59, milliseconds: 99); | |
| print(secondRounder(duration)); | |
| } | |
| // Rounds Duration to seconds based on milliseconds | |
| // This is semi-equivalent to a non-existing `Duration.ceil(milliseconds)` | |
| Duration secondRounder(Duration duration) { | |
| int roundedDuration; |
| DD_API_KEY=<REPLACE> sh -c "$(curl -L https://raw.githubusercontent.com/DataDog/dd-agent/master/packaging/datadog-agent/source/setup_agent.sh)" | |
| sudo mkdir /opt/datadog-agent | |
| sudo cp -r ~/.datadog-agent/* /opt/datadog-agent | |
| path=$HOME | |
| path=${path//\//\\\/} | |
| sedcmd="s/$path\/.datadog-agent/\/opt\/datadog-agent/g" | |
| for i in /opt/datadog-agent/venv/bin/*; do echo $i; sudo sed -i $sedcmd $i; done |
| ★ Install of core/readline/6.3.8/20170513213506 complete with 0 new packages installed. | |
| guile: Resolved dependency 'core/readline' to /hab/pkgs/core/readline/6.3.8/20170513213506 | |
| guile: WARN | |
| guile: WARN The following runtime dependencies have more than one version | |
| guile: WARN release in the full dependency chain: | |
| guile: WARN | |
| guile: WARN * core/gmp ( core/gmp/6.1.2/20170526062114 core/gmp/6.1.0/20170513202112 ) | |
| guile: WARN | |
| guile: WARN The current situation usually arises when a Plan has a direct | |
| guile: WARN dependency on one version of a package (`acme/A/7.0/20160101200001`) |
| $ crystal --version | |
| Crystal 0.20.1 (2016-12-05) | |
| $ crystal run test.cr | |
| 1482659875.246: 127.0.0.1:55157 "This is only a test." | |
| $ crystal --version | |
| Crystal 0.20.3 (2016-12-23) | |
| $ crystal run test.cr | |
| Error in test.cr:10: wrong number of arguments for 'Socket::IPAddress.new' (given 3, expected 2) | |
| Overloads are: |
| CURRENT_DIRECTORY := $(shell pwd) | |
| TESTSCOPE = apps | |
| TESTFLAGS = --with-timer --timer-top-n 10 --keepdb | |
| help: | |
| @echo "Docker Compose Help" | |
| @echo "-----------------------" | |
| @echo "" | |
| @echo "Run tests to ensure current state is good:" |
| # Usage: `chefdiff <filename>` | |
| chefdiff() { | |
| p=`readlink -f $1` | |
| f=`ls /var/chef/backup$p* | sort | tail -n 1` | |
| diff -u $f $1 | |
| } |
| { | |
| "AWSTemplateFormatVersion": "2010-09-09", | |
| "Parameters": { | |
| "SharedSecret": { | |
| "Default": "SOOPASEKRET", | |
| "Description": "Shared Secret, aka External ID", | |
| "Type": "String", | |
| "NoEcho": "true" | |
| } | |
| }, |
| # Read more about variables and how to override them here: | |
| # https://www.terraform.io/docs/configuration/variables.html | |
| variable "aws_region" { | |
| type = "string" | |
| default = "us-east-1" | |
| } | |
| variable "shared_secret" { | |
| type = "string" | |
| default = "SOOPERSEKRET" |
I hereby claim:
To claim this, I am signing this object: