Notes
How to convert hexadecimal to decimal
Using Linux shell
$ echo $((0xdead))
57005
$ echo $((0xbeef))
48879
Using ruby (irb)
irb(main):001:0> 0xdead
=> 57005
irb(main):002:0> 0xbeef
=> 48879
Using Linux shell
$ echo $((0xdead))
57005
$ echo $((0xbeef))
48879
Using ruby (irb)
irb(main):001:0> 0xdead
=> 57005
irb(main):002:0> 0xbeef
=> 48879