Skip to content

Instantly share code, notes, and snippets.

View belonesox's full-sized avatar

Stas Fomin belonesox

View GitHub Profile
2016/03/24 18:23:17 [INFO] Packer version: 0.9.0 a643faae672ec8b8424352476d2b91b7a7f7b06e
2016/03/24 18:23:17 Packer Target OS/Arch: linux amd64
2016/03/24 18:23:17 Built with Go Version: go1.6
2016/03/24 18:23:17 Detected home directory from env var: /home/stas
2016/03/24 18:23:17 Using internal plugin for digitalocean
2016/03/24 18:23:17 Using internal plugin for file
2016/03/24 18:23:17 Using internal plugin for googlecompute
2016/03/24 18:23:17 Using internal plugin for amazon-chroot
2016/03/24 18:23:17 Using internal plugin for amazon-ebs
2016/03/24 18:23:17 Using internal plugin for null
0fb3f1fc9bfd1a423518da6305a79f73 ROSA.FRESH.GNOME.R7.x86_64.iso
{
"builders": [
{
"type": "virtualbox-iso",
"iso_checksum_type": "md5",
"iso_url": "http://mirror.rosalab.ru/rosa/rosa2014.1/iso/ROSA.Fresh.R7/ROSA.FRESH.GNOME.R7.i586.iso",
"iso_checksum_url": "https://gist.githubusercontent.com/belonesox/d12fd9db3d25c91abd37/raw/94bcd0e378289fa0797e3c2948a6a42f4efb2f81/demo-packer-bug.md5"
}
]
}
#!/usr/bin/env bash
echo "111111";
echo "2222222";
###################################################################################################
###################################################################################################
###################################################################################################
###################################################################################################
###################################################################################################
###################################################################################################
###################################################################################################
@belonesox
belonesox / gist:aefe723ca5db36e5d819a53997041ba3
Created January 17, 2017 19:02
twitter-bug-url-regexp.py
#!/usr/bin/env python
# encoding: utf-8
import re
TLDS = [
"ac", "ad", "ae", "af", "ag", "ai", "al", "am", "an", "ao", "aq", "ar",
"as", "at", "au", "aw", "ax", "az", "ba", "bb", "bd", "be", "bf", "bg",
"bh", "bi", "bj", "bl", "bm", "bn", "bo", "bq", "br", "bs", "bt", "bv",
"bw", "by", "bz", "ca", "cc", "cd", "cf", "cg", "ch", "ci", "ck", "cl",
"cm", "cn", "co", "cr", "cu", "cv", "cw", "cx", "cy", "cz", "de", "dj",
@belonesox
belonesox / source.corrections
Created November 25, 2017 15:17
Desync from Zoom H1
0:21:00 -24
0:42:00 -28
0:45:00 -48
0:49:00 -83
0:50:00 20
0:59:00 -27
1:15:00 -22
1:25:00 -23
1:35:00 -62
1:37:00 -20
@belonesox
belonesox / crash.log
Created April 4, 2018 13:51
crash.log from terraform 2018-04-04
2018/04/04 16:48:30 [INFO] Terraform version: 0.11.3 3802b14260603f90c7a1faf55994dcc8933e2069
2018/04/04 16:48:30 [INFO] Go runtime version: go1.9.1
2018/04/04 16:48:30 [INFO] CLI args: []string{"/usr/local/bin/terraform", "apply"}
2018/04/04 16:48:30 [DEBUG] Attempting to open CLI config file: /home/stas/.terraformrc
2018/04/04 16:48:30 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2018/04/04 16:48:30 [INFO] CLI command args: []string{"apply"}
2018/04/04 16:48:30 [INFO] command: empty terraform config, returning nil
2018/04/04 16:48:30 [DEBUG] command: no data state file found for backend config
2018/04/04 16:48:30 [DEBUG] New state was assigned lineage "a47cf3dd-c85f-44da-8b8a-a6b2d47d2d91"
2018/04/04 16:48:30 [INFO] command: backend initialized: <nil>
@belonesox
belonesox / instance.tf
Created April 16, 2018 14:45
instance.tf
data "vsphere_datacenter" "dc" {
name = "${var.vsphere_dc}"
}
data "vsphere_datastore" "datastore" {
name = "${var.vm_datastore}"
datacenter_id = "${data.vsphere_datacenter.dc.id}"
}
data "vsphere_resource_pool" "pool" {
vsphere_virtual_machine.vm: Importing from ID "/Office/vm/VMs/big-tms-01"...
vsphere_virtual_machine.vm: Import complete!
Imported vsphere_virtual_machine (ID: 4202d774-cf4a-3c60-9388-cc89b3982e77)
vsphere_virtual_machine.vm: Refreshing state... (ID: 4202d774-cf4a-3c60-9388-cc89b3982e77)
Import successful!
stas@stas-custis-desktop ~/projects/-sol/tms-solution-deploy/terraform (master) $ terraform plan
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
data.vsphere_datacenter.dc: Refreshing state...
data.vsphere_datastore.datastore: Refreshing state...
data.vsphere_virtual_machine.template: Refreshing state...
data.vsphere_resource_pool.pool: Refreshing state...
data.vsphere_network.network: Refreshing state...