Home » Archive

Articles in the Ruby Category

Bugs, Featured, Headline, Ruby, vmware »

[21 Feb 2013 | 2 Comments | ]

I finished my Chef Recipes and obviously next step is to create and bootstrap VMware virtual machines directly from scripts. I started to test 2 knife plugins knife-esx and knife-vsphere. Quickly I dropped knife-esx solution, because was based on ssh access to the ESX host and we, “the common people”, don’t have rights on that machine. A little bit about my ESX environment: Is an environment with multiple datacenters, multiple clusters, hundreds of virtual machines. On this environment I don’t have full access and requesting one, it takes weeks/months …

Featured, How-to, Ruby »

[18 Feb 2013 | No Comment | ]

In the following article I will try to show you, the power of Ruby in three short hash/array examples.
First I will show you how to sort a key value array by value. Second I will modify the keys name and create another array with this keys (which are already sorted by values).
Third we will sort an array based on the other array keys.

(adsbygoogle = window.adsbygoogle || []).push({});

Share this post

Hide Bookmarks