Skip to content

Instantly share code, notes, and snippets.

Dejan Golja dgolja

Block or report user

Report or block dgolja

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@dgolja
dgolja / iron-maiden-pro-menu.yml
Last active Jun 3, 2019
Iron Maiden Pro Menu v1.0.5
View iron-maiden-pro-menu.yml
## Iron Maiden Pro v1.0.5
---
- diagnostic menu (#1)
- switch menu
- coil menu
- lamp menu
- game specific menu
- node board menu
- ball trough test
- technician alerts
View terraform scheduling bug
terraform911 plan -out bla.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.
google_compute_instance_template.instance_template: Refreshing state... (ID: dgolja-instance-template-tf-bug007bd0a6e5ac5d0eaefc782938)
The Terraform execution plan has been generated and is shown below.
Resources are shown in alphabetical order for quick scanning. Green resources
will be created (or destroyed and then created if an existing resource
exists), yellow resources are being changed in-place, and red resources
View keybase.md

Keybase proof

I hereby claim:

  • I am dgolja on github.
  • I am golja (https://keybase.io/golja) on keybase.
  • I have a public key ASC4L4HP0esnSeXPFpdvuVNpPYuEQ0UL0xksAA4NKc78uQo

To claim this, I am signing this object:

View keybase.md

Keybase proof

I hereby claim:

  • I am n1tr0g on github.
  • I am golja (https://keybase.io/golja) on keybase.
  • I have a public key ASC4L4HP0esnSeXPFpdvuVNpPYuEQ0UL0xksAA4NKc78uQo

To claim this, I am signing this object:

@dgolja
dgolja / gist:5314fe2bda5c70c043f98a88ba9c1e06
Created Mar 20, 2017
terraform aws_iam_role_policy failure
View gist:5314fe2bda5c70c043f98a88ba9c1e06
2017/03/20 20:35:45 [TRACE] [walkValidate] Exiting eval tree: module.server.aws_iam_role_policy.s3ServerPolicy
2017/03/20 20:35:45 [DEBUG] vertex 'root.module.server.aws_instance.server': evaluating
2017/03/20 20:35:45 [DEBUG] root.server: eval: *terraform.EvalIf
2017/03/20 20:35:45 [DEBUG] root.server: eval: *terraform.EvalValidateCount
2017/03/20 20:35:45 [DEBUG] root.server: eval: *terraform.EvalCountFixZeroOneBoundary
2017/03/20 20:35:45 [DEBUG] Attaching resource state to "module.server.aws_instance.server": &terraform.ResourceState{Type:"aws_instance", Dependencies:[]string{"aws_iam_instance_profile.server_profile", "aws_security_group.server_sg", "data.aws_ami.ubuntu"}, Primary:(*terraform.InstanceState)(0xc420013810), Deposed:[]*terraform.InstanceState{}, Provider:"", mu:sync.Mutex{state:0, sema:0x0}}
2017/03/20 20:35:45 [DEBUG] ReferenceTransformer: "module.server.aws_instance.server" references: []
2017/03/20 20:35:45 [DEBUG] dag/walk: added new vertex: "module.server.aws_instance.server"
2017/03/20
View keybase.md

Keybase proof

I hereby claim:

  • I am n1tr0g on github.
  • I am golja (https://keybase.io/golja) on keybase.
  • I have a public key whose fingerprint is 6F20 799D E7AC B8B7 6303 F300 72C5 F57C B007 7295

To claim this, I am signing this object:

View gist:f4709d171a0d9f9874da
if tput setaf 1 &> /dev/null; then
if [[ $(tput colors) -ge 256 ]] 2>/dev/null; then
MAGENTA=$(tput setaf 9)
ORANGE=$(tput setaf 172)
GREEN=$(tput setaf 190)
PURPLE=$(tput setaf 141)
WHITE=$(tput setaf 0)
else
MAGENTA=$(tput setaf 5)
ORANGE=$(tput setaf 4)
You can’t perform that action at this time.