Ruby Cheat Sheet

ruby

'101'.to_i(2)
python

int('101', 2)
javascript

parseInt("101", 2);
go

rust