I hereby claim:
- I am vladistan on github.
- I am vladistan (https://keybase.io/vladistan) on keybase.
- I have a public key ASAjfcqP_NaDlmDZlyGAPl4C5I1tdqwpvpxrSEHIG_KURgo
To claim this, I am signing this object:
PATTERN="k8s" | |
VM_INFO=$(pvesh get /cluster/resources --type vm | grep $PATTERN | awk -F'│' '{for (i = 1; i <= NF; i++) {if ($i ~ /qemu\//) {gsub(/[^0-9]/, "", $i); vmid = $i;} if ($i ~ /pve[0-9]+/) {node = $i; gsub(/ /, "", node); print vmid, node; break;}}}') | |
# Convert VM_INFO into an array | |
VM_ARRAY=($VM_INFO) | |
# Process each VM ID and host pair | |
for (( i=0; i<${#VM_ARRAY[@]}; i+=2 )); do | |
VM_ID=${VM_ARRAY[i]} |
# Invoke using following syntax into IE: | |
# http://boxstarter.org/package/url?[raw link to this gist] | |
try { | |
# Boxstarter options | |
$Boxstarter.RebootOk=$true | |
$Boxstarter.NoPassword=$false # Is this a machine with no logon password? | |
$Boxstarter.AutoLogin=$true | |
# Set Windows variables | |
Enable-RemoteDesktop |
I hereby claim:
To claim this, I am signing this object:
{ | |
"Timestamp": "2016-10-09T16:57:40-04:00", | |
"Config Statistics": { | |
"Valid Config": { | |
"Number of pipelines": 23, | |
"Number of agents": 10, | |
"Number of environments": 0, | |
"Number of unique materials": 32, | |
"Number of schedulable materials": 27 | |
}, |
Timestamp: | |
========== | |
Tue Aug 23 00:33:24 EDT 2016 | |
================= | |
Config Statistics | |
================= |
# coding=utf-8 | |
#The MIT License (MIT) | |
# | |
#Copyright (c) <year> <copyright holders> | |
# | |
#Permission is hereby granted, free of charge, to any person obtaining a copy | |
#of this software and associated documentation files (the "Software"), to deal | |
#in the Software without restriction, including without limitation the rights |
xquery version "3.0"; | |
declare namespace nm = "http://dblfuzzr.com/opml2md/"; | |
declare option saxon:output 'omit-xml-declaration=yes'; | |
declare function nm:lvlText($x) | |
{ | |
xs:string($x/@text) | |
}; |
# coding=utf-8 | |
import os | |
def get_aws_key(key_id): | |
""" | |
Retrieve the aws key and secret from .awsAuth file. | |
Your awsAuth file should contain the following lines for the tests to work. |