Skip to content

Instantly share code, notes, and snippets.

View galindro's full-sized avatar

Bruno Galindro da Costa galindro

  • Navinfo Europe
  • Eindhoven, Netherlands
View GitHub Profile
@galindro
galindro / helmfile-test.tar.gz
Last active January 7, 2020 08:52
helmfile-test
2019/10/07 11:30:15 [INFO] Terraform version: 0.12.9
2019/10/07 11:30:15 [INFO] Go runtime version: go1.12.9
2019/10/07 11:30:15 [INFO] CLI args: []string{"/usr/local/bin/terraform", "plan"}
2019/10/07 11:30:15 [DEBUG] Attempting to open CLI config file: /home/galindro/.terraformrc
2019/10/07 11:30:15 Loading CLI configuration from /home/galindro/.terraformrc
2019/10/07 11:30:15 [INFO] CLI command args: []string{"plan"}
2019/10/07 11:30:15 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config
2019/10/07 11:30:15 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory
2019/10/07 11:30:15 [DEBUG] New state was assigned lineage "6ec849cf-47d0-2179-e48b-eb34f6f39e77"
2019/10/07 11:30:15 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend)
2019/09/10 13:47:09 [INFO] Terraform version: 0.12.8
2019/09/10 13:47:09 [INFO] Go runtime version: go1.12.9
2019/09/10 13:47:09 [INFO] CLI args: []string{"/usr/local/bin/terraform", "apply", "-auto-approve"}
2019/09/10 13:47:09 [DEBUG] Attempting to open CLI config file: /home/galindro/.terraformrc
2019/09/10 13:47:09 Loading CLI configuration from /home/galindro/.terraformrc
2019/09/10 13:47:09 [INFO] CLI command args: []string{"apply", "-auto-approve"}
2019/09/10 13:47:09 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config
2019/09/10 13:47:09 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory
2019/09/10 13:47:09 [DEBUG] New state was assigned lineage "37346379-ebf7-6ae1-7616-15ac5cf683eb"
2019/09/10 13:47:09 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend)
$ terraform-0.12.5 plan
2019/07/24 13:30:32 [INFO] Terraform version: 0.12.5
2019/07/24 13:30:32 [INFO] Go runtime version: go1.12.4
2019/07/24 13:30:32 [INFO] CLI args: []string{"/usr/local/bin/terraform-0.12.5", "plan"}
2019/07/24 13:30:32 [DEBUG] Attempting to open CLI config file: /home/galindro/.terraformrc
2019/07/24 13:30:32 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/07/24 13:30:32 [INFO] CLI command args: []string{"plan"}
2019/07/24 13:30:32 [TRACE] Meta.Backend: built configuration for "s3" backend with hash value 3139123862
2019/07/24 13:30:32 [TRACE] Preserving existing state lineage "5e97064f-78f5-c234-370c-cd594b6a7267"
#!/bin/bash
D='2018-08-31 00:00:00'
date -d "$D" +%s%N | cut -b1-13
@galindro
galindro / gist:b3881026c48a47ee69f3f4d1a9b9e0dd
Created September 4, 2018 14:01 — forked from Xarkam/KDE Spectacle copy screenshot to clipboard.md
KDE Spectacle copy screenshot to clipboard
  • sudo apt-get install xclip
  • Configure spectacle to use Rectangular Selection, default save to /some/path/Screenshot_%Y%M%D_%H%m%S
  • Configure PrintScreen for rectangular selection via custom shortcuts
  • Try it - once you select the area and hit enter it should show the pop-up notification about saved file.
  • On this notification select the settings button
  • In the notification settings enable "Run command" and set it as /usr/bin/xclip -selection clipboard -target image/png -i $(ls -1tr ~/Pictures/Screenshot_*.png | tail -n 1)