Ruby Cheat Sheet
binary-to-number
ruby
'101'.to_i(2)
python
int('101', 2)
javascript
parseInt("101", 2);
go
rust