Thursday, March 28, 2013

Ruby: Get Value from Collection

    TITLETYPE = [['Prof.', '4'],    ['Dr.', '3'],    ['Mrs.', '2'],    ['Ms.', '1'],    ['Mr.', '0']]
    
    TYTLETYPEHASH = Hash[TYTLETYPE]  
    TYTLEHASH.key('1') # => 'Ms.' 

Proxmox installation display out of range

Reference:  https://forum.proxmox.com/threads/proxmox-ve-screen-out-of-range.131297/