Skip to content

Instantly share code, notes, and snippets.

@mkuzmin
mkuzmin / current.json
Created August 17, 2016 19:57
Exported Grafana Dashboards
{
"id": 42,
"title": "test",
"tags": [],
"style": "dark",
"timezone": "browser",
"editable": true,
"hideControls": false,
"sharedCrosshair": false,
"rows": [
package main
import (
"github.com/vmware/govmomi"
"github.com/vmware/govmomi/find"
"net/url"
"golang.org/x/net/context"
"os"
"fmt"
)
@mkuzmin
mkuzmin / vmx-9.go
Created October 30, 2018 10:42
Create minimal VM
package main
import (
"context"
"fmt"
"github.com/vmware/govmomi"
"github.com/vmware/govmomi/find"
"github.com/vmware/govmomi/vim25/types"
"net/url"
)
package teamcity
import (
"context"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/types"
)
var (
@file:DependsOn("aws.sdk.kotlin:ssm-jvm:0.28.2-beta")
@file:DependsOn("aws.sdk.kotlin:ecs-jvm:0.28.2-beta")
import aws.sdk.kotlin.services.ecs.*
import aws.sdk.kotlin.services.ecs.model.*
import aws.sdk.kotlin.services.ssm.*
import kotlinx.coroutines.*
import kotlin.system.exitProcess
import kotlin.time.Duration
import kotlin.time.Duration.Companion.minutes