When should an Excel VBA variable be killed or set to Nothing?

VB6/VBA uses deterministic approach to destoying objects. Each object stores number of references to itself. When the number reaches zero, the object is destroyed. Object variables are guaranteed to be cleaned (set to Nothing) when they go out of scope, this decrements the reference counters in their respective objects. No manual action required. There are … Read more

Ansible: check if variable equals string

Be careful with a variable called environment, it can cause problems because Ansible uses it internally. I can’t remember if it’s in the docs, but here’s a mailing list thread: https://groups.google.com/forum/#!topic/ansible-project/fP0hX2Za4I0 We use a variable called stage. It looks like you’ll end up with a bunch of these in a row: – include_vars: testing_vars.yml when: … Read more

Environment variable assignment in Docker Compose – colon way

The documentation itself says both methods are working: You can use either an array or a dictionary. Now let’s forgive Docker for failing to use the proper terminology (an array is actually a sequence in YAML, a dictionary is a mapping) and have a look from the YAML perspective: A mapping is part of the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)