Skip to content

Instantly share code, notes, and snippets.

View bdunne's full-sized avatar

Brandon Dunne bdunne

  • Red Hat
  • New Jersey
View GitHub Profile

Keybase proof

I hereby claim:

  • I am bdunne on github.
  • I am bdunne (https://keybase.io/bdunne) on keybase.
  • I have a public key ASDmrCKU7yX2sK9PEbqThu-I8x4_oXkwnrf0fFEoyH_u3wo

To claim this, I am signing this object:

irb(main):001:0> `rm GUID`; MiqServer.class_variable_set(:@@my_guid_cache, nil); threads = []; 1000.times { threads << Thread.new { puts MiqServer.my_guid.inspect} }; threads.each(&:join)
"50231edc-7895-4afc-867b-83d4023eabe6"
"50231edc-7895-4afc-867b-83d4023eabe6"
"50231edc-7895-4afc-867b-83d4023eabe6"
"50231edc-7895-4afc-867b-83d4023eabe6"
"50231edc-7895-4afc-867b-83d4023eabe6"
"50231edc-7895-4afc-867b-83d4023eabe6"
"50231edc-7895-4afc-867b-83d4023eabe6"
"50231edc-7895-4afc-867b-83d4023eabe6"
"50231edc-7895-4afc-867b-83d4023eabe6"