Skip to content

Instantly share code, notes, and snippets.

View avishnyakov's full-sized avatar

Anton Vishnyakov avishnyakov

View GitHub Profile
@avishnyakov
avishnyakov / Elastic-Kibana 7.4.0 support.log
Created October 27, 2019 04:35
Elastic/Kibana 7.4.0 support
2019/10/26 22:45:36 [INFO] Terraform version: 0.10.8 44110772d9ffd0ec3589943c6d4c93c24a5fff06
2019/10/26 22:45:36 [INFO] Go runtime version: go1.9
2019/10/26 22:45:36 [INFO] CLI args: []string{"/bin/terraform", "plan"}
2019/10/26 22:45:36 [DEBUG] Attempting to open CLI config file: /root/.terraformrc
2019/10/26 22:45:36 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/10/26 22:45:36 [DEBUG] CLI config is &main.Config{Providers:map[string]string{}, Provisioners:map[string]string{}, DisableCheckpoint:false, DisableCheckpointSignature:false, PluginCacheDir:"", Credentials:map[string]map[string]interface {}(nil), CredentialsHelpers:map[string]*main.ConfigCredentialsHelper(nil)}
2019/10/26 22:45:36 [INFO] CLI command args: []string{"plan"}
2019/10/26 22:45:36 [INFO] command: empty terraform config, returning nil
2019/10/26 22:45:36 [DEBUG] command: no data state file found for backend config
2019/10/26 22:45:36 [DEBUG] New state was assigned lineage "6a37a819-f52e-4729-b8fb-db9004ac96c8"
@avishnyakov
avishnyakov / output.log
Created October 27, 2019 04:12
terraform-provider-kibana-0.12.10
2019/10/26 22:25:16 [INFO] Terraform version: 0.12.10
2019/10/26 22:25:16 [INFO] Go runtime version: go1.12.9
2019/10/26 22:25:16 [INFO] CLI args: []string{"/bin/terraform", "plan"}
2019/10/26 22:25:16 [DEBUG] Attempting to open CLI config file: /root/.terraformrc
2019/10/26 22:25:16 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/10/26 22:25:16 [DEBUG] checking for credentials in "/root/.terraform.d/plugins"
2019/10/26 22:25:16 [INFO] CLI command args: []string{"plan"}
2019/10/26 22:25:16 [DEBUG] checking for provider in "."
2019/10/26 22:25:16 [DEBUG] checking for provider in "/bin"
2019/10/26 22:25:16 [DEBUG] checking for provider in ".terraform/plugins/linux_amd64"
@avishnyakov
avishnyakov / gist:c58061e52ee9015eacc4284b85f27f8c
Last active September 2, 2022 14:27
packer winrm template
{
"variables": {
"client_id": "**",
"client_secret": "*************************",
"resource_group": "***",
"storage_account": "****",
"subscription_id": "**********************",
"object_id": "**************"
},
"builders": [{
+ packer build zero-box-rm.json
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (2016/11/24 14:2...version: 0.11.0:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
2016/11/24 14:23:38 Packer Target OS/Arch: windows amd64
2016/11/24 14:23:38 Built with Go Version: go1.7.3
2016/11/24 14:23:38 [DEBUG] Discovered plugin: amazon-windows-ebs =
C:\Users\AntonVishnyakov\AppData\Roaming\packer.d\plugins\packer-builder-amazon-windows-ebs.exe
2016/11/24 14:23:38 [DEBUG] Discovered plugin: parallels-windows-iso =
@avishnyakov
avishnyakov / _bootstrap_PSISE.ps1
Created March 10, 2016 01:02
Bootstrap PowerShell ISE environment with files from the current folder
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
cd "$here"
cls
if($psISE -ne $null)
{
Write-Host "Bootstrapping ISE environment..." -fore Green
$files = [System.IO.Directory]::GetFiles($here)
@avishnyakov
avishnyakov / gist:938735fe35d58de049b7
Last active October 10, 2015 08:32
Simple icons grid viewer for DevExpress Icons
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.Data;
public static class FieldModels
{
#region properties
public static FieldDefinition Contact = new FieldDefinition
{
Id = new Guid("{85C67EEA-5E3D-4DF3-AE8C-DC4D0A1D8BAC}"),
Title = "Contact",
InternalName = "spmetaCRM_Contact",
FieldType = "Text",
@avishnyakov
avishnyakov / gist:e48a373151923386ca0f
Last active August 29, 2015 14:02
Test test test
public enum SPBasePermissions : ulong
{
EmptyMask = 0UL,
ViewListItems = 1UL,
AddListItems = 2UL,
EditListItems = 4UL,
DeleteListItems = 8UL,
ApproveItems = 16UL,
OpenItems = 32UL,
ViewVersions = 64UL,