SSH Into Cloud Key, or Machine with Cloud controller's Mongo Shell:
ssh admin@<cloudkey-ip> -t mongo localhost:27117
Then you can use the following snippet tailoring it to your needs:
SSH Into Cloud Key, or Machine with Cloud controller's Mongo Shell:
ssh admin@<cloudkey-ip> -t mongo localhost:27117
Then you can use the following snippet tailoring it to your needs:
| const m = Machine({ | |
| key: 'agent-probe', | |
| initial: 'connecting', | |
| states: { | |
| connecting: { | |
| on: { | |
| "GRPC_CONNECTED": 'connected', | |
| "GRPC_DISCONNECTED": 'connecting', | |
| "CTX_DONE": 'shutdown', | |
| } |
Linux driver Information on Ethernet Adapters I have come across
| const m = Machine({ | |
| key: 'agent-probe', | |
| initial: 'connecting', | |
| states: { | |
| connecting: { | |
| on: { | |
| "GRPC_CONNECTED": 'connected', | |
| "GRPC_DISCONNECTED": 'connecting', | |
| "CTX_DONE": 'shutdown', | |
| } |
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| "sort" | |
| "strings" | |
| "sync" | |
| "time" |
| #!/bin/sh | |
| vault list -format json /auth/token/accessors \ | |
| | jq -r '.[]' | xargs -I % vault token lookup -format=json -accessor % \ | |
| | jq -cr '.data|[(.creation_time | todate),.accessor,.display_name,(.meta|tojson)]|join("%%")' \ | |
| | column -t -xs %% | sort -h |
| package main | |
| import ( | |
| "context" | |
| "fmt" | |
| "strings" | |
| "github.com/spf13/cobra" | |
| "github.com/spf13/pflag" | |
| "github.com/spf13/viper" |
test
| #!/usr/bin/env python3 | |
| from io import TextIOWrapper | |
| from typing import List | |
| import os | |
| import sys | |
| import math | |
| import json | |
| import datetime |
| # A collection of improvised utilites to fixup stacked git metadata |